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-97533

UNSCOREDEPSS 7%

x86/mm/pat: Acquire init_mm read lock on attribute changes to avoid UAF

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < e21a9ea81426a85fdb0cdcfcc99d5d9c16b402ab; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < cc73b2043d106b467accd38e9b1fc09e0607c056; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < d5d8b8662e6e5a565b47a0388640e88402f23274
  • Anyone running Linux 6.15

Vulnerability facts

Affected
Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < e21a9ea81426a85fdb0cdcfcc99d5d9c16b402ab; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < cc73b2043d106b467accd38e9b1fc09e0607c056; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < d5d8b8662e6e5a565b47a0388640e88402f23274; Linux 6.15
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: x86/mm/pat: Acquire init_mm read lock on attribute changes to avoid UAF A previous commit protected against races between ptdump and CPA collapse, however one still exists between attribute changes and collapse as reported by Denis V. Lunev (linked). When an attribute change arises, a lockless page table walker obtains a PTE entry, which is later written to via set_pte_atomic(): ... -> change_page_attr_set_clr() -> __change_page_attr_set_clr() -> __change_page_attr() -> _lookup_address_cpa() -> lookup_address_in_pgd_attr() -> [ lockless page table walker ] -> set_pte_atomic() There is nothing preventing a concurrent CPA collapse which can free the PTE that was retrieved here, resulting in a use-after-free. With the mmap write lock taken on init_mm over CPA collapse, resolve this race by acquiring an mmap read lock on init_mm over __change_page_attr_set_clr(). This locks across the whole operation over which the walk and the PTE entry write occurs, solving the race. It is safe to do this here, as no spinlocks are held upon entry to __change_page_attr_set_clr(). However, the lock must not be held over an allocation, as allocation can trigger reclaim and shrinkers may call into CPA recursively, making deadlocks possible (init_mm -> ... -> fs_reclaim -> init_mm). A page table is allocated when a huge page needs to be split: -> change_page_attr_set_clr() -> __change_page_attr_set_clr() -> __change_page_attr() -> split_large_page() [ pagetable_alloc() ] -> __split_large_page() Avoid deadlocks by dropping the mmap lock across pagetable_alloc() in split_large_page() and track whether this is needed by adding a new 'init_mm_read_locked' flag to struct cpa_data. This is safe as __split_large_page() (called with locks re-established) revalidates that the page table entry is the same as it was prior to the locks being dropped and __change_page_attr() repeats the entire page table walk whenever a split occurs, so concurrent split and collapse are accounted for. Concurrent ptdump is also safe as the lock is only dropped over page table allocation during which time the page table has not yet been modified. The CPA_COLLAPSE flag is only set by set_memory_rox(), which exclusively operates upon vmalloc ranges, and on x86 only within the module mapping space. This is important, because some callers directly invoke __change_page_attr_set_clr(), bypassing this lock. However, none of these operate within the module mapping space. * cpa_process_alias() - a recursive helper called by __change_page_attr_set_clr(). * __set_memory_enc_pgtable() - operates on the direct mapping and (via __vmbus_establish_gpadl()) the vmalloc mapping space. * __set_pages_[n]p() - called by set_direct_map_[invalid, default, valid]_noflush(), __kernel_map_pages() - operates on the direct map. * kernel_[un]map_pages_in_pgd() - operates on EFI ranges. This work is based upon Denis V. Lunev's excellent analysis of the bug with gratitude. [ dhansen: move to imperative voice in changelog ]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < e21a9ea81426a85fdb0cdcfcc99d5d9c16b402ab; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < cc73b2043d106b467accd38e9b1fc09e0607c056; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < d5d8b8662e6e5a565b47a0388640e88402f23274—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-97533. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97533.md
Affected: Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < e21a9ea81426a85fdb0cdcfcc99d5d9c16b402ab; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < cc73b2043d106b467accd38e9b1fc09e0607c056; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < d5d8b8662e6e5a565b47a0388640e88402f23274; Linux 6.15
Fixed in: no fixed version listed yet

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-97533 being exploited?

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

How serious is CVE-2026-97533?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-97533?

Linux >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < e21a9ea81426a85fdb0cdcfcc99d5d9c16b402ab; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < cc73b2043d106b467accd38e9b1fc09e0607c056; >= 41d88484c71cd4f659348da41b7b5b3dbd3be1f6, < d5d8b8662e6e5a565b47a0388640e88402f23274; Linux 6.15.

Is there a fix for CVE-2026-97533?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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