Bug 2507148 (CVE-2026-64371) - CVE-2026-64371 kernel: proc: protect ptrace_may_access() with exec_update_lock (part 1)
Summary: CVE-2026-64371 kernel: proc: protect ptrace_may_access() with exec_update_loc...
Keywords:
Status: NEW
Alias: CVE-2026-64371
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:07 UTC by OSIDB Bzimport
Modified: 2026-08-02 13:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:07:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

proc: protect ptrace_may_access() with exec_update_lock (part 1)

Fix the easy cases where procfs currently calls ptrace_may_access() without
exec_update_lock protection, where the fix is to simply add the extra lock
or use mm_access():

 - do_task_stat(): grab exec_update_lock
 - proc_pid_wchan(): grab exec_update_lock
 - proc_map_files_lookup(): use mm_access() instead of get_task_mm()
 - proc_map_files_readdir(): use mm_access() instead of get_task_mm()
 - proc_ns_get_link(): grab exec_update_lock
 - proc_ns_readlink(): grab exec_update_lock

Comment 1 Mauro Matteo Cascella 2026-08-02 13:39:27 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072523-CVE-2026-64371-d1c5@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.