---
id: CVE-2026-64371
title: |-
  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 protectio…
summary: |-
  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 protectio…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.27.23, < 2.6.28'
  - 'linux_kernel >= 2.6.29.3, < 2.6.30'
  - 'linux_kernel >= 2.6.30.1, < 5.10.261'
  - 'linux_kernel >= 5.11, < 5.15.212'
  - 'linux_kernel >= 5.16, < 6.1.178'
  - 'linux_kernel >= 6.2, < 6.6.145'
  - 'linux_kernel >= 6.7, < 6.12.97'
  - 'linux_kernel >= 6.13, < 6.18.40'
  - 'linux_kernel >= 6.19, < 7.1.4'
  - linux_kernel = 2.6.30
patched:
  - linux_kernel 7.1.4
published: '2026-07-25'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T15:23:41.413'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64371'
references:
  - url: 'https://git.kernel.org/stable/c/4bfe8c481846cee52473a2f7d7b30ee8e6749fc4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6650527444dadc63d84aa939d14ecba4fadb2f69'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7456ae990a9738962b33146916fabca62ae3d4e0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ae1e630bcaac739f625822078edbaea98366930d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c1cfd63326f5d09999134e9052c353faf738286e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d54f14655fd7d7b293698a8b6918563c4c0465e7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f9b4b03ccc9c69bf7f7298d4559906ebea7143b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64371.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-64371'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2507148'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-64371'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64371'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026072523-CVE-2026-64371-d1c5@gregkh/T
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00125
epssPercentile: 0.01891
ingestedAt: '2026-09-08T15:33:26.948Z'
scores:
  nvd: 5.5
  vendor: 7
---

## Overview

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

## Affected

- `linux_kernel >= 2.6.27.23, < 2.6.28`
- `linux_kernel >= 2.6.29.3, < 2.6.30`
- `linux_kernel >= 2.6.30.1, < 5.10.261`
- `linux_kernel >= 5.11, < 5.15.212`
- `linux_kernel >= 5.16, < 6.1.178`
- `linux_kernel >= 6.2, < 6.6.145`
- `linux_kernel >= 6.7, < 6.12.97`
- `linux_kernel >= 6.13, < 6.18.40`
- `linux_kernel >= 6.19, < 7.1.4`
- `linux_kernel = 2.6.30`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.1.4`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64371.json)
