CVE-2026-64371 PUBLISHED

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

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to ae1e630bcaac739f625822078edbaea98366930d (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to d54f14655fd7d7b293698a8b6918563c4c0465e7 (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9 (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to 7456ae990a9738962b33146916fabca62ae3d4e0 (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to 4bfe8c481846cee52473a2f7d7b30ee8e6749fc4 (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to f9b4b03ccc9c69bf7f7298d4559906ebea7143b3 (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to c1cfd63326f5d09999134e9052c353faf738286e (excl.)
  • affected from f83ce3e6b02d5e48b3a43b001390e2b58820389d to 6650527444dadc63d84aa939d14ecba4fadb2f69 (excl.)
  • Version 6b06d6282100dd5aacf7d45443d651a1995bd9c4 is affected
  • Version 334ed22054b2ec8477e4409e214fc139cf937ef6 is affected
  • affected from 2.6.27.23 to 2.6.28 (excl.)
  • affected from 2.6.29.3 to 2.6.30 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.30 is affected
  • unaffected from 0 to 2.6.30 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.97 to 6.12.* (incl.)
  • unaffected from 6.18.40 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References