# CVE-2024-26906: x86/mm: Disallow vsyscall page read for copy\_from\_kernel\_nofault()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2024-04-17T10:27:53.573Z
- **Modified:** 2026-10-15T01:17:31.353Z

## Who should check

- Anyone running Linux \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 6e4694e65b6db4c3de125115dd4f55848cc48381; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< e8a67fe34b76a49320b33032228a794f40b0316b; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< f175de546a3eb77614d94d4c02550181c0a8493e; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 57f78c46f08198e1be08ffe99c4c1ccc12855bf5; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 29bd6f86904682adafe9affbc7f79b14defcaff8; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58
- Anyone running Linux 5.5

## Description

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

x86/mm: Disallow vsyscall page read for copy\_from\_kernel\_nofault()

When trying to use copy\_from\_kernel\_nofault() to read vsyscall page
through a bpf program, the following oops was reported:

  BUG: unable to handle page fault for address: ffffffffff600000
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 3231067 P4D 3231067 PUD 3233067 PMD 3235067 PTE 0
  Oops: 0000 \[\#1\] PREEMPT SMP PTI
  CPU: 1 PID: 20390 Comm: test\_progs ...... 6.7.0+ \#58
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) ......
  RIP: 0010:copy\_from\_kernel\_nofault+0x6f/0x110
  ......
  Call Trace:
   \<TASK\>
   ? copy\_from\_kernel\_nofault+0x6f/0x110
   bpf\_probe\_read\_kernel+0x1d/0x50
   bpf\_prog\_2061065e56845f08\_do\_probe\_read+0x51/0x8d
   trace\_call\_bpf+0xc5/0x1c0
   perf\_call\_bpf\_enter.isra.0+0x69/0xb0
   perf\_syscall\_enter+0x13e/0x200
   syscall\_trace\_enter+0x188/0x1c0
   do\_syscall\_64+0xb5/0xe0
   entry\_SYSCALL\_64\_after\_hwframe+0x6e/0x76
   \</TASK\>
  ......
  ---\[ end trace 0000000000000000 \]---

The oops is triggered when:

1) A bpf program uses bpf\_probe\_read\_kernel() to read from the vsyscall
page and invokes copy\_from\_kernel\_nofault() which in turn calls
\_\_get\_user\_asm().

2) Because the vsyscall page address is not readable from kernel space,
a page fault exception is triggered accordingly.

3) handle\_page\_fault() considers the vsyscall page address as a user
space address instead of a kernel space address. This results in the
fix-up setup by bpf not being applied and a page\_fault\_oops() is invoked
due to SMAP.

Considering handle\_page\_fault() has already considered the vsyscall page
address as a userspace address, fix the problem by disallowing vsyscall
page read for copy\_from\_kernel\_nofault().

## Affected and fixed versions

- Linux: \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 6e4694e65b6db4c3de125115dd4f55848cc48381; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< e8a67fe34b76a49320b33032228a794f40b0316b; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< f175de546a3eb77614d94d4c02550181c0a8493e; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 57f78c46f08198e1be08ffe99c4c1ccc12855bf5; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 29bd6f86904682adafe9affbc7f79b14defcaff8; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26906. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26906.md
Affected: Linux >= 75a1a607bb7e6d918be3aca11ec2214a275392f4, < 6e4694e65b6db4c3de125115dd4f55848cc48381; >= 75a1a607bb7e6d918be3aca11ec2214a275392f4, < e8a67fe34b76a49320b33032228a794f40b0316b; >= 75a1a607bb7e6d918be3aca11ec2214a275392f4, < f175de546a3eb77614d94d4c02550181c0a8493e; >= 75a1a607bb7e6d918be3aca…
Fixed in: Linux 6e4694e65b6db4c3de125115dd4f55848cc48381, Linux 57f78c46f08198e1be08ffe99c4c1ccc12855bf5, Linux 29bd6f86904682adafe9affbc7f79b14defcaff8, Linux 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26906 being exploited?

There is no confirmed exploitation: CVE-2024-26906 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26906?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26906?

Linux \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 6e4694e65b6db4c3de125115dd4f55848cc48381; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< e8a67fe34b76a49320b33032228a794f40b0316b; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< f175de546a3eb77614d94d4c02550181c0a8493e; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 57f78c46f08198e1be08ffe99c4c1ccc12855bf5; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 29bd6f86904682adafe9affbc7f79b14defcaff8; \>= 75a1a607bb7e6d918be3aca11ec2214a275392f4, \< 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58; Linux 5.5.

### Is there a fix for CVE-2024-26906?

Yes. Fixed in Linux 6e4694e65b6db4c3de125115dd4f55848cc48381, Linux 57f78c46f08198e1be08ffe99c4c1ccc12855bf5, Linux 29bd6f86904682adafe9affbc7f79b14defcaff8, Linux 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58. Upgrade Linux to 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 or later.

### How do I check if I'm affected by CVE-2024-26906?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6e4694e65b6db4c3de125115dd4f55848cc48381>
- patch: <https://git.kernel.org/stable/c/e8a67fe34b76a49320b33032228a794f40b0316b>
- patch: <https://git.kernel.org/stable/c/f175de546a3eb77614d94d4c02550181c0a8493e>
- patch: <https://git.kernel.org/stable/c/57f78c46f08198e1be08ffe99c4c1ccc12855bf5>
- patch: <https://git.kernel.org/stable/c/29bd6f86904682adafe9affbc7f79b14defcaff8>
- patch: <https://git.kernel.org/stable/c/32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26906>

HTML: <https://flawdb.com/CVE-2024-26906> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26906>
