CVE-2026-72162
published high CVSS 3.1 · 7.8ocfs2: fix UBSAN array-index-out-of-bounds in ocfs2_sum_rightmost_rec
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < c88226315aec298894ec57e532f5e95f3b09e874 · dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < c286319746cef02bcce7384fda3a3f08989070d2 · dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 720fb324cf0f5116318cae7f75cb393d118ffb67 · dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 671889c553ea55e2da6a4f3b15f4c0fa40f2f0d1 · dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 858aa4965ffa8c0d4bb5dd835ac4f1c9a1dcab85 · dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 452a8467be8143747292218212671deeb186d2ae · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.22 (affected) · 0 to < 2.6.22 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-cloud-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-headers-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-oracle-6.8 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-realtime-6.8 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-cloud-tools-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-headers-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix UBSAN array-index-out-of-bounds in ocfs2_sum_rightmost_rec [BUG] On-disk corruption setting l_next_free_rec to 0 in an inode's embedded extent list triggers a UBSAN panic on the next write to that file. [CAUSE] ocfs2_sum_rightmost_rec() computes i = le16_to_cpu(el->l_next_free_rec) - 1 and accesses el->l_recs[i] without validating i. When l_next_free_rec is 0, i becomes -1; when l_next_free_rec exceeds l_count, i falls past the end of the array. Either case violates the __counted_by_le(l_count) annotation on l_recs[] and triggers UBSAN. [FIX] Validate the inode's embedded extent list when the inode is read, in ocfs2_validate_inode_block(): l_count must be non-zero and no larger than the inode block can hold, and l_next_free_rec must not exceed l_count. A corrupt list is rejected at read time, before the b-tree code can index l_recs[] out of bounds.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only via local VFS write paths on a mounted OCFS2 volume (write/mmap extending allocation), not from network packet handling or remote protocols; exploitation requires local syscall access to a mounted filesystem. AC:L - An attacker can reliably craft on-disk inode metadata (e.g., l_next_free_rec=0) in an OCFS2 image and trigger btree growth with a normal extending write; syzkaller reproduced this deterministically without races or victim-specific timing. PR:L - Full exploitation requires mounting a crafted OCFS2 image and writing to it; CAP_SYS_ADMIN for mount/loop setup is obtainable by an unprivileged user via user namespaces, matching the low-privilege bar used for comparable OCFS2 corruption CVEs. UI:N - No victim interaction is required when the attacker crafts the corrupt image, mounts it (including via user namespace), and performs the triggering write themselves; no third party must open files or take other actions. S:U - Impact is confined to kernel memory/filesystem integrity on the host processing the corrupt OCFS2 metadata; it does not cross VM, container, or IOMMU security boundaries into another authority. C:H - The flaw is an out-of-bounds read of extent records from attacker-controlled on-disk fields; even when UBSAN traps, the invalid index access can expose adjacent inode metadata and is classed as information-disclosure-capable memory corruption. I:H - The out-of-bounds sum feeds btree growth/shift logic that writes derived cluster counts and tree pointers back to disk, enabling attacker-influenced metadata corruption beyond the immediate read primitive. A:H - On UBSAN-enabled kernels the invalid array index triggers a kernel panic on write; even without UBSAN, corrupt btree updates from the bad sum can crash or destabilize the system, satisfying high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < c88226315aec298894ec57e532f5e95f3b09e874 (affected · git)dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < c286319746cef02bcce7384fda3a3f08989070d2 (affected · git)dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 720fb324cf0f5116318cae7f75cb393d118ffb67 (affected · git)dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 671889c553ea55e2da6a4f3b15f4c0fa40f2f0d1 (affected · git)dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 858aa4965ffa8c0d4bb5dd835ac4f1c9a1dcab85 (affected · git)dcd0538ff4e854fa9d7f4630b359ca8fdb5cb5a8 to < 452a8467be8143747292218212671deeb186d2ae (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.22 (affected)0 to < 2.6.22 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/452a8467be8143747292218212671deeb186d2ae
- https://git.kernel.org/stable/c/671889c553ea55e2da6a4f3b15f4c0fa40f2f0d1
- https://git.kernel.org/stable/c/720fb324cf0f5116318cae7f75cb393d118ffb67
- https://git.kernel.org/stable/c/858aa4965ffa8c0d4bb5dd835ac4f1c9a1dcab85
- https://git.kernel.org/stable/c/c286319746cef02bcce7384fda3a3f08989070d2
- https://git.kernel.org/stable/c/c88226315aec298894ec57e532f5e95f3b09e874
Provider assertions
1Linux · cna
ocfs2: fix UBSAN array-index-out-of-bounds in ocfs2_sum_rightmost_rec
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be45c73ca5dcbe80502e519b73d3f4b0fba430617ffd03aaeebc267bb9cade93
- Ingested
- 30 Oct 2026, 12:43:17 UTC
- Source record
- Official CVE record