CVE-2026-64375

proc: protect ptrace_may_access() with exec_update_lock (FD links)

State
Published
Severity
7.8 High
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

proc: protect ptrace_may_access() with exec_update_lock (FD links)

proc_pid_get_link() and proc_pid_readlink() currently look up the task from the pid once, then do the ptrace access check on that task, then look up the task from the pid a second time to do the actual access. That's racy in several ways.

To fix it, pass the task to the ->proc_get_link() handler, and instead of proc_fd_access_allowed(), introduce a new helper call_proc_get_link() that looks up and locks the task, does the access check, and calls ->proc_get_link().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 6253dfee5afba536bb54fc6fe6c091c3758fafe1Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 65bf0d2b6e914f1448d6a2fde193dcf60936a651Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before de497d7aa2fae453a7e7c8f7d3e8682e565e3aafAffected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 138c692d2b2d63d26f2eb957d0e4fcc5d61f9ff2Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 83b17872e3166c295c599279fc9562ac3840c638Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 497c6bae5167428596575f20af6613ff5671f383Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before dfd1894cb64cbd8758b461ed713800fe73db4f82Affected
  • 778c1144771f0064b6f51bee865cceb0d996f2f9 to before 6255da28d4bb5349fe18e84cb043ccd394eba75dAffected
LinuxLinux
  • 2.6.18Affected
  • before 2.6.18Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.