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-2025-38710

published high CVSS 3.1 · 7.8

gfs2: Validate i_depth for exhash directories

Published
04 Sep 2025, 15:33:00 UTC
Updated
15 Oct 2026, 22:02:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9a0045088d888c9c539c8c626a366cb52c0fbdab to < 076e992752e4b24178918f748d75597c80a408d2 · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 366183911b153e9b8cf758e1414e1154d7569337 · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 112bb60cd0e254a369e95aa9941a694ffeca089f · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < cddea0c721106ea480371412d8de21705eb27376 · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 53a0249d68a210c16e961b83adfa82f94ee0a53d · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < b5f46951e62377b6e406fadc18bc3c5bdf1632a7 · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 9680c58675b82348ab84d387e4fa727f7587e1a0 · 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 557c024ca7250bb65ae60f16c02074106c2f197b · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.26 (affected) · 0 to < 2.6.26 (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.134 through 6.6.* (unaffected · semver) · 6.12.43 through 6.12.* (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-123 Fixed Not stated 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-104.43.4.2.el10uek ELSA-2025-20662
Debian bullseye linux Advisory build 5.10.259-1 DLA-4664-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
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-104.43.4.2.el9uek ELSA-2025-20662
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-104.43.4.2.el9uek ELSA-2025-20662
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
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-coreaarch64 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: gfs2: Validate i_depth for exhash directories A fuzzer test introduced corruption that ends up with a depth of 0 in dir_e_read(), causing an undefined shift by 32 at: index = hash >> (32 - dip->i_depth); As calculated in an open-coded way in dir_make_exhash(), the minimum depth for an exhash directory is ilog2(sdp->sd_hash_ptrs) and 0 is invalid as sdp->sd_hash_ptrs is fixed as sdp->bsize / 16 at mount time. So we can avoid the undefined behaviour by checking for depth values lower than the minimum in gfs2_dinode_in(). Values greater than the maximum are already being checked for there. Also switch the calculation in dir_make_exhash() to use ilog2() to clarify how the depth is calculated. Tested with the syzkaller repro.c and xfstests '-g quick'.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

49

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 corrupt `di_depth` reaches the kernel only by mounting an attacker-crafted GFS2 volume (loop device, removable media, or a shared cluster LUN), after which the flaw is triggered by ordinary local syscalls (`open`/`stat`/`getdents`) on that mount. GFS2 is a shared-disk filesystem with no network-protocol front end, so there is no remote parser path. AC:L - The condition is a deterministic inconsistency the attacker fully authors on disk (`GFS2_DIF_EXHASH` set, `di_depth = 0`, `di_size = 8`), and the out-of-bounds index is chosen exactly by picking a filename whose CRC32 hash equals the desired 32-bit offset. No race, no timing window, and no memory-layout condition outside the attacker's control. PR:L - The bare `mount(2)` needs CAP_SYS_ADMIN (gfs2 lacks FS_USERNS_MOUNT), but in the most severe reasonable deployment an unprivileged user gets the crafted volume mounted through udisks2 loop-setup/removable-media automount or `user`/autofs fstab delegation, and the trigger itself — a path lookup or `getdents` on the bad directory — requires only basic unprivileged access to the mount. UI:N - In the automount/loop-setup scenario the attacker presents the media and initiates the mount themselves, and at the point of exploitation the out-of-bounds read fires from the attacker's own `open()`/`stat()` call. No second user has to take any action. S:U - The out-of-bounds access, the wild block read, and the hang all occur in GFS2 code inside the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - `get_leaf_nr()` reads a 64-bit word at `hash + 8*index` where `index` is a fully attacker-chosen 32-bit value and the allocation is 8 bytes — an unbounded slab out-of-bounds read reaching up to 32 GiB past the object, far beyond a "few bytes" bounded read. The value read becomes a block number handed to `gfs2_meta_read()`, giving an observable oracle on kernel heap contents through lookup success/failure and the resulting I/O. I:H - Out-of-bounds heap data is promoted to a filesystem block number, and `dir_new_leaf()`/`gfs2_dir_add()` then write directory metadata (`oleaf->lf_next`, `be16_add_cpu(&leaf->lf_entries, 1)`) into the buffer for that attacker-influenced block, so kernel-side data read past the object's bounds steers subsequent metadata writes to arbitrary blocks of the device — including a shared cluster LUN. A:H - A read up to 32 GiB past an 8-byte slab object will typically strike unmapped memory and produce a kernel oops/page fault (KASAN reports it as slab-out-of-bounds), and `dir_e_read()` independently spins forever because `len` truncates to 0 so `index` never advances, wedging `getdents()` while holding the directory glock and stalling the mount — a full panic on `panic_on_oops` configurations, repeatable on demand.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9a0045088d888c9c539c8c626a366cb52c0fbdab to < 076e992752e4b24178918f748d75597c80a408d2 (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < 366183911b153e9b8cf758e1414e1154d7569337 (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < 112bb60cd0e254a369e95aa9941a694ffeca089f (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < cddea0c721106ea480371412d8de21705eb27376 (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < 53a0249d68a210c16e961b83adfa82f94ee0a53d (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < b5f46951e62377b6e406fadc18bc3c5bdf1632a7 (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < 9680c58675b82348ab84d387e4fa727f7587e1a0 (affected · git)9a0045088d888c9c539c8c626a366cb52c0fbdab to < 557c024ca7250bb65ae60f16c02074106c2f197b (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.26 (affected)0 to < 2.6.26 (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.134 through 6.6.* (unaffected · semver)6.12.43 through 6.12.* (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

gfs2: Validate i_depth for exhash directories

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c3adcf178044e972dff75b46f4403af1960be22acd0cbd3267ece8fa0a92f8a2
Ingested
15 Oct 2026, 23:26:24 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