CVE-2026-99730 (GCVE-0-2026-99730)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-23 08:06
VLAI
Title
mm/filemap: finish fault cleanup before dropping the fault lock
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < 35268471f4a4f3b09374a0d97aaa423dfb6aae81 (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < 80c954830d5a22fa200d74bac413cb3390b95f04 (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < c3fa2252d436e4ccd483a329c6b4180d11846269 (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < efa7aec3f30d79a7d35edd219c6f49235f331013 (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < f1c149e651fd55edc0769b76ebd688ae6cbd48f0 (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < 8500faaa6ef7b4489294f2bf98c9017ee009986c (git)
Affected: 730633f0b7f951726e87f912a6323641f674ae34 , < 97156a6c355c21f7122421915f05461bd11699a4 (git)
Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/filemap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "35268471f4a4f3b09374a0d97aaa423dfb6aae81",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "80c954830d5a22fa200d74bac413cb3390b95f04",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "c3fa2252d436e4ccd483a329c6b4180d11846269",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "efa7aec3f30d79a7d35edd219c6f49235f331013",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "f1c149e651fd55edc0769b76ebd688ae6cbd48f0",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "8500faaa6ef7b4489294f2bf98c9017ee009986c",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            },
            {
              "lessThan": "97156a6c355c21f7122421915f05461bd11699a4",
              "status": "affected",
              "version": "730633f0b7f951726e87f912a6323641f674ae34",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/filemap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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-\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()\u0027s 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": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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\u0027s 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-\u003einvalidate_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\u0027s address_space in the host kernel, reached by up_read() of mapping-\u003einvalidate_lock during that task\u0027s 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-\u003einvalidate_lock. rwsem_mark_wake() then reads first_waiter, waiter-\u003etask, 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-\u003elist and updates sem-\u003efirst_waiter, writing attacker-controlled kernel pointers.\nA:H - up_read() on mapping-\u003einvalidate_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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:06:38.683Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99730",
    "datePublished": "2026-11-20T05:51:05.191Z",
    "dateReserved": "2026-09-25T10:25:14.431Z",
    "dateUpdated": "2026-11-23T08:06:38.683Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99730",
      "date": "2026-11-24",
      "epss": "0.00164",
      "percentile": "0.0551"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:10:53.000Z",
      "cve": "CVE-2026-99730",
      "id": "msrc_CVE-2026-99730",
      "initial_release_date": "2026-11-20T18:16:21.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "mm/filemap: finish fault cleanup before dropping the fault lock",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99730.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "mm/filemap.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "35268471f4a4f3b09374a0d97aaa423dfb6aae81",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "80c954830d5a22fa200d74bac413cb3390b95f04",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c3fa2252d436e4ccd483a329c6b4180d11846269",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "efa7aec3f30d79a7d35edd219c6f49235f331013",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f1c149e651fd55edc0769b76ebd688ae6cbd48f0",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8500faaa6ef7b4489294f2bf98c9017ee009986c",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "97156a6c355c21f7122421915f05461bd11699a4",
                    "status": "affected",
                    "version": "730633f0b7f951726e87f912a6323641f674ae34",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "mm/filemap.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.15"
                  },
                  {
                    "lessThan": "5.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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-\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()\u0027s 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."
          }
        ],
        "id": "CVE-2026-99730",
        "lastModified": "2026-11-23T08:18:13.387",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:10.203",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/80c954830d5a22fa200d74bac413cb3390b95f04"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:22:29+00:00",
      "cve": "CVE-2026-99730",
      "id": "CVE-2026-99730",
      "initial_release_date": "2026-11-20T05:51:05.191000+00:00",
      "product_status:known_affected": "203",
      "product_status:known_not_affected": "77",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free during file fault cleanup",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99730.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-25T00:59:37Z",
      "cve": "CVE-2026-99730",
      "id": "CVE-2026-99730",
      "initial_release_date": "2026-11-20T17:41:10Z",
      "product_status:known_affected": "208",
      "product_status:known_not_affected": "143",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99730",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99730.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…