7.8

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

Modified
AliasesUBUNTU-CVE-2025-38710DEBIAN-CVE-2025-38710
Published 04-09-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-38710 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 40 · Related 37

Timeline

  1. 04-09-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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'.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu150 products
  • linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 076e992752e4b24178918f748d75597c80a408d2 | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 366183911b153e9b8cf758e1414e1154d7569337 | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 112bb60cd0e254a369e95aa9941a694ffeca089f | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < cddea0c721106ea480371412d8de21705eb27376 | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 53a0249d68a210c16e961b83adfa82f94ee0a53d | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < b5f46951e62377b6e406fadc18bc3c5bdf1632a7 | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 9680c58675b82348ab84d387e4fa727f7587e1a0 | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 557c024ca7250bb65ae60f16c02074106c2f197b | 2.6.26
  • linux_kernel< 6.12.43 | ≥ 6.13, < 6.15.11 | ≥ 6.16, < 6.16.2
Debian1 product
  • linux< 6.1.176-1 | < 6.12.43-1 | < 6.16.3-1

3 vendors · 153 products

References

41 links
Show all 41 references