# CVE-2026-74524: riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-15T12:27:41.735Z
- **Modified:** 2026-08-17T06:19:49.290Z

## Who should check

- Anyone running Linux \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1da6d832eda02d908df11a30ba6a856b98a3dd76; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 54e07a158f7aea2754849d3a5a4cba1ac338ae7e; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< a0188cc133696627857d16054e43f9ebc7efc821
- Anyone running Linux 6.11

## Description

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

riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove

remove\_pud\_mapping() and remove\_p4d\_mapping() obtain a child table base
with pud\_offset(p4dp, 0) and p4d\_offset(pgd, 0), then add the index for
addr.

RISC-V folds page-table levels at runtime. When a level is folded, its
offset helper returns the parent entry itself, but the index can still be
nonzero. Adding it walks past the parent table. Sv48 folds P4D, while Sv39
folds both P4D and PUD, so memory hot-remove can descend into unrelated
memory and pass an invalid page to \_\_free\_pages(). This can trigger:

  kernel BUG at include/linux/mm.h:1810!
  VM\_BUG\_ON\_PAGE(page\_ref\_count(page) == 0)
  arch\_remove\_memory+0x1e/0x5c
  try\_remove\_memory+0x15e/0x200
  remove\_memory+0x24/0x3c

Only add the index when the corresponding page-table level is enabled,
matching p4d\_offset() and pud\_offset().

## Affected and fixed versions

- Linux: \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1da6d832eda02d908df11a30ba6a856b98a3dd76; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 54e07a158f7aea2754849d3a5a4cba1ac338ae7e; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< a0188cc133696627857d16054e43f9ebc7efc821 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74524.md
Affected: Linux >= c75a74f4ba19c904c0ae1e011ae2568449409ae4, < 1da6d832eda02d908df11a30ba6a856b98a3dd76; >= c75a74f4ba19c904c0ae1e011ae2568449409ae4, < 54e07a158f7aea2754849d3a5a4cba1ac338ae7e; >= c75a74f4ba19c904c0ae1e011ae2568449409ae4, < 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2; >= c75a74f4ba19c904c0ae1e0…
Fixed in: Linux 1da6d832eda02d908df11a30ba6a856b98a3dd76, Linux 54e07a158f7aea2754849d3a5a4cba1ac338ae7e, Linux 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2

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-2026-74524 being exploited?

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

### How serious is CVE-2026-74524?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74524?

Linux \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1da6d832eda02d908df11a30ba6a856b98a3dd76; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 54e07a158f7aea2754849d3a5a4cba1ac338ae7e; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2; \>= c75a74f4ba19c904c0ae1e011ae2568449409ae4, \< a0188cc133696627857d16054e43f9ebc7efc821; Linux 6.11.

### Is there a fix for CVE-2026-74524?

Yes. Fixed in Linux 1da6d832eda02d908df11a30ba6a856b98a3dd76, Linux 54e07a158f7aea2754849d3a5a4cba1ac338ae7e, Linux 1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74524?

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

- other: <https://git.kernel.org/stable/c/1da6d832eda02d908df11a30ba6a856b98a3dd76>
- other: <https://git.kernel.org/stable/c/54e07a158f7aea2754849d3a5a4cba1ac338ae7e>
- other: <https://git.kernel.org/stable/c/1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2>
- other: <https://git.kernel.org/stable/c/a0188cc133696627857d16054e43f9ebc7efc821>

## 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-2026-74524>

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