Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38710— gfs2: Validate i_depth for exhash directories

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于gfs2未验证目录深度。

CVSS 7.8 · High EPSS 0.16% · P5

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 9a0045088d888c9c539c8c626a366cb52c0fbdab< 076e992752e4b24178918f748d75597c80a408d2 affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< 366183911b153e9b8cf758e1414e1154d7569337 affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< 112bb60cd0e254a369e95aa9941a694ffeca089f affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< cddea0c721106ea480371412d8de21705eb27376 affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< 53a0249d68a210c16e961b83adfa82f94ee0a53d affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< b5f46951e62377b6e406fadc18bc3c5bdf1632a7 affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< 9680c58675b82348ab84d387e4fa727f7587e1a0 affected
9a0045088d888c9c539c8c626a366cb52c0fbdab< 557c024ca7250bb65ae60f16c02074106c2f197b affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38710

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
gfs2: Validate i_depth for exhash directories
Source: CVE Program / CVE List V5
Vulnerability 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'.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于gfs2未验证目录深度。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 9a0045088d888c9c539c8c626a366cb52c0fbdab ~ 076e992752e4b24178918f748d75597c80a408d2 -
Linux Linux 2.6.26 -

II. Public POCs for CVE-2025-38710

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38710

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-38710 (4)

Same Patch Batch · Linux · 2025-09-04 · 52 CVEs total

CVE-2025-38708 9.8 CRITICAL drbd: add missing kref_get in handle_write_conflicts
CVE-2025-38724 9.8 CRITICAL nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
CVE-2025-38728 9.1 CRITICAL smb3: fix for slab out of bounds on mount to ksmbd
CVE-2025-38688 8.8 HIGH iommufd: Prevent ALIGN() overflow
CVE-2025-38697 7.8 HIGH jfs: upper bound check of tree index in dbAllocAG
CVE-2025-38722 7.8 HIGH habanalabs: fix UAF in export_dmabuf()
CVE-2025-38685 7.8 HIGH fbdev: Fix vmalloc out-of-bounds write in fast_imageblit
CVE-2025-38718 7.8 HIGH sctp: linearize cloned gso packets in sctp_rcv
CVE-2025-38717 7.8 HIGH net: kcm: Fix race condition in kcm_unattach()
CVE-2025-38715 7.8 HIGH hfs: fix slab-out-of-bounds in hfs_bnode_read()
CVE-2025-38730 7.8 HIGH io_uring/net: commit partial buffers on retry
CVE-2025-38703 7.8 HIGH drm/xe: Make dma-fences compliant with the safe access rules
CVE-2025-38714 7.8 HIGH hfsplus: fix slab-out-of-bounds in hfsplus_bnode_read()
CVE-2025-38679 7.3 HIGH media: venus: Fix OOB read due to missing payload bound check
CVE-2025-38687 7.3 HIGH comedi: fix race between polling and detaching
CVE-2025-38713 7.1 HIGH hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
CVE-2025-38707 7.1 HIGH fs/ntfs3: Add sanity check for file name
CVE-2025-38680 media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
CVE-2025-38693 media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_t
CVE-2025-38681 mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()

Showing top 20 of 52 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38710

No comments yet


Leave a comment