[PATCH v6 0/1] kasan: Avoid sleepable page allocation from atomic context

From: Alexander Gordeev
Date: Thu May 08 2025 - 10:16:33 EST


Hi All,

Chages since v5:
- full error message included into commit description

Chages since v4:
- unused pages leak is avoided

Chages since v3:
- pfn_to_virt() changed to page_to_virt() due to compile error

Chages since v2:
- page allocation moved out of the atomic context

Chages since v1:
- Fixes: and -stable tags added to the patch description

Thanks!

Alexander Gordeev (1):
kasan: Avoid sleepable page allocation from atomic context

mm/kasan/shadow.c | 77 ++++++++++++++++++++++++++++++++++++++---------
1 file changed, 63 insertions(+), 14 deletions(-)

--
2.45.2