{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31589","published":"2026-04-24T15:16:34.700000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.14","version_end_excluding":"6.19.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"7.0","version_end_excluding":"7.0.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-31589/","html_en":"/en/cve/CVE-2026-31589/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31589","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31589"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: call ->free_folio() directly in folio_unmap_invalidate()\n\nWe can only call filemap_free_folio() if we have a reference to (or hold a\nlock on) the mapping.  Otherwise, we've already removed the folio from the\nmapping so it no longer pins the mapping and the mapping can be removed,\ncausing a use-after-free when accessing mapping->a_ops.\n\nFollow the same pattern as __remove_mapping() and load the free_folio\nfunction pointer before dropping the lock on the mapping.  That lets us\nmake filemap_free_folio() static as this was the only caller outside\nfilemap.c.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/615d9bb2ccad42f9e21d837431e401db2e471195","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b667df39d98a7a24be7c2a40ff0863dac1ad2cd7","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c330e65ea59c4805d6ab6757c4ddfe8c63acef31","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/efc52947247a21bbf79059539bbbd40f4ea76f00","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10703-1","url":"https://www.suse.com/support/update/","published":"2026-05-06T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.0.3-1.1 on GA media"}}]}