← VULNERABILITIES

CVE-2026-99730

mm/filemap: finish fault cleanup before dropping the fault lock

High · 7.8Fix available
CVSS
7.8
EPSS
0.16% (p6)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Fixed in

35268471f4a4f3b09374a0d97aaa423dfb6aae81 · 6.12.118 · 6.18.64 · 7.3.5 · 80c954830d5a22fa200d74bac413cb3390b95f04 · 8500faaa6ef7b4489294f2bf98c9017ee009986c · 97156a6c355c21f7122421915f05461bd11699a4 · c3fa2252d436e4ccd483a329c6b4180d11846269 · efa7aec3f30d79a7d35edd219c6f49235f331013 · f1c149e651fd55edc0769b76ebd688ae6cbd48f0

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=5.15.0, <6.12.1186.12.118
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <35268471f4a4f3b09374a0d97aaa423dfb6aae8135268471f4a4f3b09374a0d97aaa423dfb6aae81
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <80c954830d5a22fa200d74bac413cb3390b95f0480c954830d5a22fa200d74bac413cb3390b95f04
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <8500faaa6ef7b4489294f2bf98c9017ee009986c8500faaa6ef7b4489294f2bf98c9017ee009986c
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <97156a6c355c21f7122421915f05461bd11699a497156a6c355c21f7122421915f05461bd11699a4
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <c3fa2252d436e4ccd483a329c6b4180d11846269c3fa2252d436e4ccd483a329c6b4180d11846269
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <efa7aec3f30d79a7d35edd219c6f49235f331013efa7aec3f30d79a7d35edd219c6f49235f331013
vendorLinux>=730633f0b7f951726e87f912a6323641f674ae34, <f1c149e651fd55edc0769b76ebd688ae6cbd48f0f1c149e651fd55edc0769b76ebd688ae6cbd48f0

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON