Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-99820

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

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.4 · 6.18.64 · 6.12.118 · 6.6.163 · 6.1.193 · 5.15.226

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix array out of bound access in __ocfs2_find_path() __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: <TASK> 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) Commit a406aff8c051 ("ocfs2: validate l_tree_depth to avoid out-of-bounds access") already restricts el->l_tree_depth to be less than OCFS2_MAX_PATH_DEPTH, which is equal to 5. However, does not handle the infinite descent case. Check if the el->l_tree_depth decreases on each descent. Maximum descents are restricted to 4 and the path->p_node[] array does not overflow.

Timeline

dates in UTC
  1. 2026-11-3007:52CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.47.3.4
6.x≥ 6.13.0, < 6.18.646.18.64
6.x≥ 6.7.0, < 6.12.1186.12.118
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 5.16.0, < 6.1.1936.1.193
5.x≥ 5.11.0, < 5.15.2265.15.226
5.10≥ 2.6.22, < 5.10.2755.10.275

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < 825e31b1dd0711d3e611b0e53c43d905471b15b5fixed in 825e31b1dd0711d3e611b0e53c43d905471b15b5git
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < 3f777a202b58927d2b9b79c500ae1c8b89b8d436fixed in 3f777a202b58927d2b9b79c500ae1c8b89b8d436git
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < 3d608a953dc4bdd39516a79b6ffb8924736bb000fixed in 3d608a953dc4bdd39516a79b6ffb8924736bb000git
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < cf8e485c3e76c8caad3bb91539b08bc11252676afixed in cf8e485c3e76c8caad3bb91539b08bc11252676agit
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < 7c07e14de49ec2e0080e2d6bfc5709502f88ed34fixed in 7c07e14de49ec2e0080e2d6bfc5709502f88ed34git
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < f254281e111578ec90f4434f34a7264521173359fixed in f254281e111578ec90f4434f34a7264521173359git
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < bf8a21fb049f55804d9a5ad7cf864e71697df0ccfixed in bf8a21fb049f55804d9a5ad7cf864e71697df0ccgit
    • ≥ dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8, < 6193ce7896afb52a321a0063c8b6a45e477a84e2fixed in 6193ce7896afb52a321a0063c8b6a45e477a84e2git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 2.6.22no fix stated

    Not affected < 2.6.22 · ≥ 5.10.275, ≤ 5.10.* · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.118, ≤ 6.12.* · ≥ 6.18.64, ≤ 6.18.*

    2 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.4-1
  • linuxDebian:13all versions · fixed in 6.12.118-1
  • linuxDebian:12all versions · no fixed version listed
  • linux-ltsAlpaquita:streamfrom 6.18.62-r0 · fixed in 6.18.64-r0
  • linux-ltsAlpaquita:25from 6.12.115-r0 · no fixed version listed
  • linux-ltsAlpaquita:23from 6.1.191-r1 · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.4 · 6.18.64 · 6.12.118 · 6.6.163 · 6.1.193 · 5.15.226 · 5.10.275

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received
GitHub advisory
GHSA-rff9-g5hx-pv5p

Frequently asked questions

What is CVE-2026-99820?

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix array out of bound access in __ocfs2_find_path() __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: <TASK> 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) Commit a406aff8c051 ("ocfs2: validate l_tree_depth to avoid out-of-bounds access") already restricts el->l_tree_depth to be less than OCFS2_MAX_PATH_DEPTH, which is equal to 5. However, does not handle the infinite descent case. Check if the el->l_tree_depth decreases on each descent. Maximum descents are restricted to 4 and the path->p_node[] array does not overflow.

Is CVE-2026-99820 actively exploited?

Active exploitation of CVE-2026-99820 has not been confirmed. Its EPSS score was 0.3% on 2026-11-30, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-99820?

CVE-2026-99820 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record