CVE-2026-99730
published high CVSS 3.1 · 7.8mm/filemap: finish fault cleanup before dropping the fault lock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux730633f0b7f951726e87f912a6323641f674ae34 to < 35268471f4a4f3b09374a0d97aaa423dfb6aae81 · 730633f0b7f951726e87f912a6323641f674ae34 to < 80c954830d5a22fa200d74bac413cb3390b95f04 · 730633f0b7f951726e87f912a6323641f674ae34 to < c3fa2252d436e4ccd483a329c6b4180d11846269 · 730633f0b7f951726e87f912a6323641f674ae34 to < efa7aec3f30d79a7d35edd219c6f49235f331013 · 730633f0b7f951726e87f912a6323641f674ae34 to < f1c149e651fd55edc0769b76ebd688ae6cbd48f0 · 730633f0b7f951726e87f912a6323641f674ae34 to < 8500faaa6ef7b4489294f2bf98c9017ee009986c · 730633f0b7f951726e87f912a6323641f674ae34 to < 97156a6c355c21f7122421915f05461bd11699a4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: mm/filemap: finish fault cleanup before dropping the fault lock On a retried fault, a fatal signal interrupting the folio lock wait makes lock_folio_maybe_drop_mmap() drop the fault lock without pinning the file. However, filemap_fault() may still need to release mapping->invalidate_lock. A concurrent munmap() can release the last file reference and free the mapping before that unlock. Defer dropping the fault lock to filemap_fault()'s retry cleanup, after releasing invalidate_lock. If the fault lock was already dropped for I/O, release the existing file reference instead. Keep the fault lock held for FAULT_FLAG_RETRY_NOWAIT as before.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The triggering access is a userspace load of a file mmap: do_user_addr_fault() retries with FAULT_FLAG_TRIED into handle_mm_fault(), do_read_fault(), __do_fault(), and filemap_fault() on that task's vm_file. AC:L - The same task forces the retry by faulting a file page that is not in cache, so the FAULT_FLAG_TRIED attempt blocks in __folio_lock_killable() inside lock_folio_maybe_drop_mmap() with mapping->invalidate_lock held, then a second thread munmaps after SIGKILL makes release_fault_lock() drop the mmap lock. PR:L - generic_file_mmap() sets generic_file_vm_ops.fault to filemap_fault with no capability check, and FAULT_FLAG_DEFAULT includes FAULT_FLAG_KILLABLE, so any local user who can read and mmap a file reaches the wait. UI:N - The fault, the SIGKILL that makes __folio_lock_killable() return -EINTR, and the munmap() that drops the last reference in remove_vma() are all actions of the attacking process on a file it already has open. S:U - The corrupted object is the faulting task's address_space in the host kernel, reached by up_read() of mapping->invalidate_lock during that task's own page fault. C:H - After remove_vma() fputs the last reference and evict() destroys the inode, filemap_invalidate_unlock_shared() calls up_read() on the freed mapping->invalidate_lock. rwsem_mark_wake() then reads first_waiter, waiter->task, and the waiter list from memory the attacker can reclaim. I:H - __up_read() subtracts RWSEM_READER_BIAS from the freed rwsem count and, when only RWSEM_FLAG_WAITERS remains, rwsem_mark_wake() calls list_move_tail() on waiter->list and updates sem->first_waiter, writing attacker-controlled kernel pointers. A:H - up_read() on mapping->invalidate_lock runs after the inode that embeds the address_space has been freed by the last fput() in remove_vma(), so the fault path dereferences freed or reused slab memory and oopses.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 730633f0b7f951726e87f912a6323641f674ae34 to < 35268471f4a4f3b09374a0d97aaa423dfb6aae81 (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < 80c954830d5a22fa200d74bac413cb3390b95f04 (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < c3fa2252d436e4ccd483a329c6b4180d11846269 (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < efa7aec3f30d79a7d35edd219c6f49235f331013 (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < f1c149e651fd55edc0769b76ebd688ae6cbd48f0 (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < 8500faaa6ef7b4489294f2bf98c9017ee009986c (affected · git)730633f0b7f951726e87f912a6323641f674ae34 to < 97156a6c355c21f7122421915f05461bd11699a4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81
- https://git.kernel.org/stable/c/80c954830d5a22fa200d74bac413cb3390b95f04
- https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c
- https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4
- https://git.kernel.org/stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269
- https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013
- https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0
Provider assertions
1Linux · cna
mm/filemap: finish fault cleanup before dropping the fault lock
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c73270757fb029c2d0c16ed8ae664cc2bc6b5ca0bda280fd35546335011eb9d4
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record