proc-fix-pointer-error-dereference.patch removed from -mm tree
The quilt patch titled
Subject: proc: fix pointer error dereference
has been removed from the -mm tree. Its filename was
proc-fix-pointer-error-dereference.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Ethan Tidmore <[email protected]>
Subject: proc: fix pointer error dereference
Date: Thu, 19 Feb 2026 16:10:01 -0600
The function try_lookup_noperm() can return an error pointer. Add check for error pointer.
Detected by Smatch:fs/proc/base.c:2148 proc_fill_cache() error:
'child' dereferencing possible ERR_PTR()
Fixes 61a28784028e ("[PATCH] proc: Remove the hard coded inode numbers")
Signed-off-by Ethan Tidmore <[email protected]>
Cc Al Viro <[email protected]>
Cc Bart van Assche <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Eric Biederman <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Liam Howlett <[email protected]>
Cc Lorenzo Stoakes <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc NeilBrown <[email protected]>
Cc Oleg Nesterov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/proc/base.c | 3 +++ 1 file changed, 3 insertions(+)
fs/proc/base.c renamed from fs/proc/base.c~proc-fix-pointer-error-dereference +3 -0
@@ -2128,6 +2128,9 @@ bool proc_fill_cache(struct file *file,ino_t ino =1 ; child =try_lookup_noperm (&qname, dir); +if (IS_ERR (child)) + goto end_instantiate; +if (!child) {DECLARE_WAIT_QUEUE_HEAD_ONSTACK (wq); child =d_alloc_parallel (dir, &qname, &wq);
_
Patches currently in -mm which might be from [email protected] are