Linux kernel: gfs2: Validate i_depth for exhash directories
Overview
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'.
- Published
- 9/4/2025
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | < 6.12.43 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.15.11 | Verify advisory | Source |
linux kernel linux | ≥ 6.16, < 6.16.2 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 076e992752e4b24178918f748d75597c80a408d2 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 366183911b153e9b8cf758e1414e1154d7569337 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 112bb60cd0e254a369e95aa9941a694ffeca089f | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < cddea0c721106ea480371412d8de21705eb27376 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 53a0249d68a210c16e961b83adfa82f94ee0a53d | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < b5f46951e62377b6e406fadc18bc3c5bdf1632a7 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 9680c58675b82348ab84d387e4fa727f7587e1a0 | Verify advisory | Source |
Linux Linux | ≥ 9a0045088d888c9c539c8c626a366cb52c0fbdab, < 557c024ca7250bb65ae60f16c02074106c2f197b | Verify advisory | Source |
Linux Linux | 2.6.26 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.