Description
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
Published: 2026-07-25
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s procfs subsystem triggers the ptrace_may_access() function without acquiring the exec_update_lock in several code paths. This missing synchronization can create a race condition where the permission check performed by ptrace_may_access() may return an incorrect result, potentially allowing a process to gain unauthorized ptrace privileges or read information from other processes. The CVE description does not explicitly state the exact outcome of the race, so the potential impact is inferred from the nature of the function involved.

Affected Systems

Any Linux kernel that does not include the exec_update_lock protection in the procfs functions listed—do_task_stat, proc_pid_wchan, proc_map_files_lookup, proc_map_files_readdir, proc_ns_get_link, and proc_ns_readlink—may be vulnerable. The advisory does not specify a version range, so any build prior to the protective changes could be vulnerable.

Risk and Exploitability

The EPSS score is reported as less than 1%, indicating a very low probability of exploitation at the time of this analysis. The vulnerability is not listed in the CISA KEV catalog. The CVSS base score of 7.0 indicates a moderate to high severity, highlighting that a successful exploit could have significant impact. Exploitation would likely require a local user with access to /proc entries and the ability to time a race between a permission check and a change in process state. Because the attack surface is local and depends on precise timing, the practical risk remains low, though the severity of a successful exploit could be high if an attacker obtains unauthorized ptrace access.

Generated by OpenCVE AI on August 5, 2026 at 03:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the exec_update_lock protection on the listed procfs functions.
  • If a kernel update cannot be applied immediately, limit exposure of /proc by configuring the kernel to expose only necessary entries and by applying additional file‑system permissions to restrict which processes can read /proc.
  • Monitor system activity for anomalous ptrace usage or unexpected permission checks on /proc to detect potential race condition exploitation attempts.

Generated by OpenCVE AI on August 5, 2026 at 03:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Wed, 05 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-640

Wed, 05 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Mon, 03 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Sat, 01 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description 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
Title proc: protect ptrace_may_access() with exec_update_lock (part 1)
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:50:23.981Z

Reserved: 2026-07-19T15:36:31.783Z

Link: CVE-2026-64371

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:20.010

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64371

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64371 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T03:15:05Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password