All vulnerabilities

Servers and applications

CVE-2026-99820

ocfs2: fix array out of bound access in __ocfs2_find_path()

Severity
Unrated
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4
Exploit chance
0.3% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 30 Nov 2026
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

__ocfs2_find_path() walks down the extent tree and records path by calling find_path_ins(), which appends entry to path->p_node[]. It only has 5 spots.

A corrupted ocfs2 image whose extent block is pointing to itself causes __ocfs2_find_path() descent endlessly, writing past the end of path->p_node[] array.

UBSAN: array-index-out-of-bounds in fs/ocfs2/alloc.c:677:14 index 5 is out of range for type 'ocfs2_path_item [5]' Call Trace:

find_path_ins (fs/ocfs2/alloc.c:677 fs/ocfs2/alloc.c:1914) ocfs2_find_path.constprop.0 (fs/ocfs2/alloc.c:1882) ocfs2_commit_truncate (fs/ocfs2/alloc.c:1924 fs/ocfs2/alloc.c:7286) ocfs2_truncate_file (fs/ocfs2/file.c:515) ocfs2_setattr (fs/ocfs2/file.c:1224) notify_change (fs/attr.c:556) do_truncate (fs/open.c:68) do_ftruncate (fs/open.c:194 (discriminator 1)) ksys_ftruncate (fs/open.c:206) x64_sys_ftruncate (fs/open.c:211 fs/open.c:209 fs/open.c:209)

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.3.4
  • From 6.13 before 6.18.64
  • From 6.7 before 6.12.118
  • From 6.2 before 6.6.163
All 7 release lines
  • From 2.6.22 before 5.10.275
  • From 5.11 before 5.15.226
  • From 5.16 before 6.1.193
  • From 6.2 before 6.6.163
  • From 6.7 before 6.12.118
  • From 6.13 before 6.18.64
  • From 6.19 before 7.3.4

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99820