{"id":"CVE-2026-99730","summary":"mm/filemap: finish fault cleanup before dropping the fault lock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/filemap: finish fault cleanup before dropping the fault lock\n\nOn a retried fault, a fatal signal interrupting the folio lock wait\nmakes lock_folio_maybe_drop_mmap() drop the fault lock without pinning\nthe file. However, filemap_fault() may still need to release\nmapping-\u003einvalidate_lock. A concurrent munmap() can release the last\nfile reference and free the mapping before that unlock.\n\nDefer dropping the fault lock to filemap_fault()'s retry cleanup, after\nreleasing invalidate_lock. If the fault lock was already dropped for\nI/O, release the existing file reference instead. Keep the fault lock\nheld for FAULT_FLAG_RETRY_NOWAIT as before.","modified":"2026-11-20T07:01:12.816540589Z","published":"2026-11-20T05:51:05.191Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99730.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99730.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99730"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"730633f0b7f951726e87f912a6323641f674ae34"},{"fixed":"efa7aec3f30d79a7d35edd219c6f49235f331013"},{"fixed":"f1c149e651fd55edc0769b76ebd688ae6cbd48f0"},{"fixed":"8500faaa6ef7b4489294f2bf98c9017ee009986c"},{"fixed":"97156a6c355c21f7122421915f05461bd11699a4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99730.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99730.json"}}],"schema_version":"1.9.2"}