CVE-2025-22079: Linux kernel · ocfs2: validate l_tree_depth to avoid out-of-bounds access
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1147.157~18.04.1 : patch Linux kernel soon.
Data as of 28 Oct 2026, 11:45 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +86
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions, including 5.4.0-1147.157~18.04.1 and later. Users should update their Linux kernel to one of the fixed versions listed in the advisory and reboot their systems to apply the fix. Due to an ABI change, recompilation and reinstallation of third-party kernel modules may be required. Follow the vendor advisory instructions for updating and rebooting.
Description
A vulnerability in the Linux kernel's ocfs2 file system was fixed by validating the l_tree_depth field to prevent out-of-bounds access. The l_tree_depth field is a 16-bit value but must be limited to OCFS2_MAX_PATH_DEPTH to avoid invalid memory access, which could occur when reading from a corrupted mounted disk. This flaw affects multiple Linux kernel versions prior to the fixed releases. The issue has a high severity with a CVSS score of 7.8 and impacts confidentiality, integrity, and availability. A patch is available and included in various updated Linux kernel versions.
References
- ubuntu.com/security/CVE-2025-22079 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22079 (opens in a new tab)
- git.kernel.org/linus/a406aff8c05115119127c962cbbbbd202e1973ef (opens in a new tab)
- git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a (opens in a new tab)
- git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8 (opens in a new tab)
- git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3 (opens in a new tab)
- git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683 (opens in a new tab)
- git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3 (opens in a new tab)
- git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef (opens in a new tab)
- git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d (opens in a new tab)
- git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c (opens in a new tab)
- git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)