Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-97943

UNSCOREDEPSS 6%

x86/mm/pat: Acquire init_mm write lock on collapse to avoid UAF

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 35820cf8dd521f5a651e221483015b0586794516; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 93b98882198b15bd482da1fe8e84b05c7c3b3d83; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < a1c7570cedd03372812a5b693732880867babbca
  • Anyone running Linux 6.15

Vulnerability facts

Affected
Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 35820cf8dd521f5a651e221483015b0586794516; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 93b98882198b15bd482da1fe8e84b05c7c3b3d83; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < a1c7570cedd03372812a5b693732880867babbca; Linux 6.15
Fixed in
Linux 35820cf8dd521f5a651e221483015b0586794516, Linux 93b98882198b15bd482da1fe8e84b05c7c3b3d83
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)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: x86/mm/pat: Acquire init_mm write lock on collapse to avoid UAF x86 implements page attribute modification using its Change Page Attributes (CPA) mechanism. This tracks properties of ranges such as cache mode through x86 page attributes, and as part of that logic manipulates kernel page tables. Since commit: 41d88484c71c ("x86/mm/pat: restore large ROX pages after fragmentation") ranges of kernel page table entries can be collapsed into huge page table entries as part of this logic. As part of this collapse, it frees the page tables which the collapsed entries previously pointed to, and it does so without any relevant locks being held to preclude concurrent kernel page table walkers. The only way this code can be reached is if CPA_COLLAPSE is specified, and this is only set in set_memory_rox() via: set_memory_rox() -> change_page_attr_set_clr() -> cpa_flush() -> cpa_collapse_large_pages() Notable users of this are execmem and BPF when manipulating executable mappings. However, this is problematic for ptdump as it walks ranges it does not own and thus runs the risk of a use-after-free on page tables freed underneath it. In addition, concurrent CPA collapse operations are possible which can also cause races. Resolve the issue by acquiring the mmap write lock on init_mm across the whole operation. It is safe to acquire a sleeping lock as all the callers invoke set_memory_rox() from process context and in any case, change_page_attr_set_clr() calls vm_unmap_alias() which ultimately takes a mutex, disallowing atomic context here.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 35820cf8dd521f5a651e221483015b0586794516; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 93b98882198b15bd482da1fe8e84b05c7c3b3d83; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < a1c7570cedd03372812a5b693732880867babbca—cvelist
Linux6.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-97943. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97943.md
Affected: Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 35820cf8dd521f5a651e221483015b0586794516; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 93b98882198b15bd482da1fe8e84b05c7c3b3d83; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < a1c7570cedd03372812a5b693732880867babbca; Linux 6.15
Fixed in: Linux 35820cf8dd521f5a651e221483015b0586794516, Linux 93b98882198b15bd482da1fe8e84b05c7c3b3d83

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.

References

FAQ

Is CVE-2026-97943 being exploited?

There is no confirmed exploitation: CVE-2026-97943 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-97943?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-97943?

Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 35820cf8dd521f5a651e221483015b0586794516; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < 93b98882198b15bd482da1fe8e84b05c7c3b3d83; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < a1c7570cedd03372812a5b693732880867babbca; Linux 6.15.

Is there a fix for CVE-2026-97943?

Yes. Fixed in Linux 35820cf8dd521f5a651e221483015b0586794516, Linux 93b98882198b15bd482da1fe8e84b05c7c3b3d83. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors