{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99730",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.431Z",
        "datePublished": "2026-11-20T05:51:05.191Z",
        "dateUpdated": "2026-11-23T08:06:38.683Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:06:38.683Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->invalidate_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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/filemap.c"
                    ],
                    "versions": [
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "35268471f4a4f3b09374a0d97aaa423dfb6aae81",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "80c954830d5a22fa200d74bac413cb3390b95f04",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "c3fa2252d436e4ccd483a329c6b4180d11846269",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "efa7aec3f30d79a7d35edd219c6f49235f331013",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "f1c149e651fd55edc0769b76ebd688ae6cbd48f0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "8500faaa6ef7b4489294f2bf98c9017ee009986c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "730633f0b7f951726e87f912a6323641f674ae34",
                            "lessThan": "97156a6c355c21f7122421915f05461bd11699a4",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/filemap.c"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81"
                },
                {
                    "url": "https://git.kernel.org/stable/c/80c954830d5a22fa200d74bac413cb3390b95f04"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269"
                },
                {
                    "url": "https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4"
                }
            ],
            "title": "mm/filemap: finish fault cleanup before dropping the fault lock",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}