Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31597

published high CVSS 3.1 · 7.8

ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY

Published
24 Apr 2026, 14:42:22 UTC
Updated
05 Aug 2026, 12:23:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux614a9e849ca6ea24843795251cb30af525d5336b to < 36539c4d536f851a3b346a6ebb27b51bc3d77a94 · 614a9e849ca6ea24843795251cb30af525d5336b to < 35c2c05261d6f6d84aaa1355afa201d507943e76 · 614a9e849ca6ea24843795251cb30af525d5336b to < 3f5e74b5db9353b01ed50f4de84e75b755f8fbc2 · 614a9e849ca6ea24843795251cb30af525d5336b to < 6f072daefcab1d84ce37c073645615f63be91006 · 614a9e849ca6ea24843795251cb30af525d5336b to < 4cf2768a0291a0cdd0dae801ea0eafa3878a349d · 614a9e849ca6ea24843795251cb30af525d5336b to < d45ff441b416d4aa1af72b1db23d959601c04da2 · 614a9e849ca6ea24843795251cb30af525d5336b to < 76a602fdbb78dd05b2da06f74a988cebc97e82d0 · 614a9e849ca6ea24843795251cb30af525d5336b to < 925bf22c1b823e231b1baea761fe8a1512e442f2 · 614a9e849ca6ea24843795251cb30af525d5336b to < 7de554cabf160e331e4442e2a9ad874ca9875921 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.39 (affected) · 0 to < 2.6.39 (unaffected · semver) · 5.10.258 through 5.10.* (unaffected · semver) · 5.15.209 through 5.15.* (unaffected · semver) · 6.1.175 through 6.1.* (unaffected · semver) · 6.6.136 through 6.6.* (unaffected · semver) · 6.12.83 through 6.12.* (unaffected · semver) · 6.18.24 through 6.18.* (unaffected · semver) · 6.19.14 through 6.19.* (unaffected · semver) · 7.0.1 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.176-1 DLA-4665-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Debian bullseye linux Advisory build 5.10.259-1 DLA-4664-1
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY filemap_fault() may drop the mmap_lock before returning VM_FAULT_RETRY, as documented in mm/filemap.c: "If our return value has VM_FAULT_RETRY set, it's because the mmap_lock may be dropped before doing I/O or by lock_folio_maybe_drop_mmap()." When this happens, a concurrent munmap() can call remove_vma() and free the vm_area_struct via RCU. The saved 'vma' pointer in ocfs2_fault() then becomes a dangling pointer, and the subsequent trace_ocfs2_fault() call dereferences it -- a use-after-free. Fix this by saving ip_blkno as a plain integer before calling filemap_fault(), and removing vma from the trace event. Since ip_blkno is copied by value before the lock can be dropped, it remains valid regardless of what happens to the vma or inode afterward.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

50

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached by local user memory-management operations on an OCFS2 regular file mapping, via mmap/page fault and concurrent unmap. It is not directly reachable from network packets or adjacent/physical interfaces. AC:L - The attacker can control the relevant mmap, page fault, and munmap activity from their own process or cooperating threads. The VM_FAULT_RETRY window is a normal retry path where filemap_fault() may drop mmap_lock, so the race is attacker-repeatable. PR:L - A basic local user with permission to open and mmap a file on an already-mounted OCFS2 filesystem can reach ocfs2_fault(); no kernel capability is needed for the fault/unmap path. Mounting OCFS2 itself is privileged, but a reasonable OCFS2 deployment already has the filesystem mounted. UI:N - Exploitation does not require a separate victim action after the attacker has local access. The attacker triggers the mmap, page fault, and munmap operations directly. S:U - The vulnerability is in kernel filesystem/MM handling and impacts the same kernel security authority. This is standard local kernel compromise/DoS territory, not a cross-scope VM or sandbox boundary by itself. C:H - This is a kernel heap use-after-free of a vm_area_struct after mmap_lock can be dropped and the VMA freed. Under the stated kernel guidance, use-after-free bugs are scored High for confidentiality because freed object reuse can enable kernel memory disclosure. I:H - Although the observed KASAN report is a UAF read, it is still a dangling kernel heap object use in attacker-influenced VMA lifetime/reuse conditions. Under the stated guidance and uncertainty rule, UAF memory corruption is scored High for integrity. A:H - The bug has a demonstrated KASAN slab-use-after-free in ocfs2_fault() and can crash/oops the kernel. Kernel crash availability impact is High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 614a9e849ca6ea24843795251cb30af525d5336b to < 36539c4d536f851a3b346a6ebb27b51bc3d77a94 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 35c2c05261d6f6d84aaa1355afa201d507943e76 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 3f5e74b5db9353b01ed50f4de84e75b755f8fbc2 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 6f072daefcab1d84ce37c073645615f63be91006 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 4cf2768a0291a0cdd0dae801ea0eafa3878a349d (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < d45ff441b416d4aa1af72b1db23d959601c04da2 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 76a602fdbb78dd05b2da06f74a988cebc97e82d0 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 925bf22c1b823e231b1baea761fe8a1512e442f2 (affected · git)614a9e849ca6ea24843795251cb30af525d5336b to < 7de554cabf160e331e4442e2a9ad874ca9875921 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.39 (affected)0 to < 2.6.39 (unaffected · semver)5.10.258 through 5.10.* (unaffected · semver)5.15.209 through 5.15.* (unaffected · semver)6.1.175 through 6.1.* (unaffected · semver)6.6.136 through 6.6.* (unaffected · semver)6.12.83 through 6.12.* (unaffected · semver)6.18.24 through 6.18.* (unaffected · semver)6.19.14 through 6.19.* (unaffected · semver)7.0.1 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

1

Linux · cna

ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY

Provenance

Schema
5.2
Searchable
yes
Content hash
fc0f09545374dd432a94a6a198f4aa694f3f4008a4334de8a7327c587896cef3
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected