selftests-memfd-memfd_test-fix-possible-null-pointer-dereference.patch removed from -mm tree
The quilt patch titled
Subject: selftests/memfd/memfd_test: fix possible NULL pointer dereference
has been removed from the -mm tree. Its filename was
selftests-memfd-memfd_test-fix-possible-null-pointer-dereference.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: liuye <[email protected]>
Subject: selftests/memfd/memfd_test: fix possible NULL pointer dereference
Date: Tue, 14 Jan 2025 11:21:15 +0800
If `name' is NULL, a NULL pointer may be accessed in printf.
Signed-off-by liuye <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Cc Greg Thelen <[email protected]>
Cc "Isaac J. Manjarres" <[email protected]>
Cc Jeff Xu <[email protected]>
Cc Saurav Shah <[email protected]>
Cc Shuah Khan (Samsung OSG) <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/testing/selftests/memfd/memfd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/memfd/memfd_test.c renamed from tools/testing/selftests/memfd/memfd_test.c~selftests-memfd-memfd_test-fix-possible-null-pointer-dereference +1 -1
@@ -171,7 +171,7 @@ static void mfd_fail_new(const char *nam r =sys_memfd_create (name, flags);if (r >=0 ) {printf ("memfd_create(\"%s\", %u) succeeded, but failure expected\n" , - name, flags); + name ? name :"NULL" , flags);close (r);abort (); }
_
Patches currently in -mm which might be from [email protected] are
mm-vmscan-fix-hard-lockup-in-function-isolate_lru_folios.patch