CVE-2026-99643
khugepaged: fix readahead lock inversion in collapse_file()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 730633f0b7f951726e87f912a6323641f674ae34, < 8a82f4c7658c221fd45509c44fd1df152b24e27d; >= 730633f0b7f951726e87f912a6323641f674ae34, < fb558d0a6a0c0f650327fbaf1876697c7f668e04; >= 730633f0b7f951726e87f912a6323641f674ae34, < b9b3c367faf1929fb8192a846b3604ad7eced008; >= 730633f0b7f951726e87f912a6323641f674ae34, < eadce52a9ef657d561b3e76c9b5f178bd99735f5
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 730633f0b7f951726e87f912a6323641f674ae34, < 8a82f4c7658c221fd45509c44fd1df152b24e27d; >= 730633f0b7f951726e87f912a6323641f674ae34, < fb558d0a6a0c0f650327fbaf1876697c7f668e04; >= 730633f0b7f951726e87f912a6323641f674ae34, < b9b3c367faf1929fb8192a846b3604ad7eced008; >= 730633f0b7f951726e87f912a6323641f674ae34, < eadce52a9ef657d561b3e76c9b5f178bd99735f5; Linux 5.15
- Fixed in
- Linux 8a82f4c7658c221fd45509c44fd1df152b24e27d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: khugepaged: fix readahead lock inversion in collapse_file() collapse_file() can call page_cache_sync_readahead() while still holding source folios locked. If truncate holds mapping->invalidate_lock exclusively and waits for one of those folios, readahead waits for invalidate_lock and neither side can make progress. We need to release those folio locks before starting readahead. On a page cache miss, roll back first, populate the collapse range, and retry once. Doing readahead after rollback avoids an extra pass when all folios are already present. If another miss occurs on retry, give up rather than keep retrying while truncate or reclaim removes folios. Keep page_cache_sync_readahead() and wait for read I/O with filemap_lock_folio(), releasing each folio before moving to the next. The existing uptodate check during collapse still handles read errors. Shmem uses shmem_get_folio() for swapin and fallocated folios without taking mapping->invalidate_lock, so it is unaffected.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 730633f0b7f951726e87f912a6323641f674ae34, < 8a82f4c7658c221fd45509c44fd1df152b24e27d; >= 730633f0b7f951726e87f912a6323641f674ae34, < fb558d0a6a0c0f650327fbaf1876697c7f668e04; >= 730633f0b7f951726e87f912a6323641f674ae34, < b9b3c367faf1929fb8192a846b3604ad7eced008; >= 730633f0b7f951726e87f912a6323641f674ae34, < eadce52a9ef657d561b3e76c9b5f178bd99735f5 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99643. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99643.md Affected: Linux >= 730633f0b7f951726e87f912a6323641f674ae34, < 8a82f4c7658c221fd45509c44fd1df152b24e27d; >= 730633f0b7f951726e87f912a6323641f674ae34, < fb558d0a6a0c0f650327fbaf1876697c7f668e04; >= 730633f0b7f951726e87f912a6323641f674ae34, < b9b3c367faf1929fb8192a846b3604ad7eced008; >= 730633f0b7f951726e87f91… Fixed in: Linux 8a82f4c7658c221fd45509c44fd1df152b24e27d 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.
Technologies
References
FAQ
Is CVE-2026-99643 being exploited?
There is no confirmed exploitation: CVE-2026-99643 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-99643?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99643?
Linux >= 730633f0b7f951726e87f912a6323641f674ae34, < 8a82f4c7658c221fd45509c44fd1df152b24e27d; >= 730633f0b7f951726e87f912a6323641f674ae34, < fb558d0a6a0c0f650327fbaf1876697c7f668e04; >= 730633f0b7f951726e87f912a6323641f674ae34, < b9b3c367faf1929fb8192a846b3604ad7eced008; >= 730633f0b7f951726e87f912a6323641f674ae34, < eadce52a9ef657d561b3e76c9b5f178bd99735f5; Linux 5.15.
Is there a fix for CVE-2026-99643?
Yes. Fixed in Linux 8a82f4c7658c221fd45509c44fd1df152b24e27d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99643?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |