CVE-2026-80638
published high CVSS 3.1 · 8.8ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2f26f58df041bbcf692730ff4d8ab0f250d9670d to < f5255516ec7add3a6d5d37853ad5a9a9ddb14305 · 2f26f58df041bbcf692730ff4d8ab0f250d9670d to < 1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (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 |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-lib-rust-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
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 out-of-bounds write in ocfs2_remove_refcount_extent [BUG] Unlinking a refcounted file whose refcount tree has leaf blocks triggers a fortify panic due to an out-of-bounds write. [CAUSE] When the last leaf block is removed from a refcount tree, ocfs2_remove_refcount_extent() converts the root back to leaf mode with a bulk memset on &rb->rf_records. rf_records sits in an anonymous union with rf_list. rf_list.l_tree_depth aliases rf_records.rl_count, and is 0 for a single-level tree. With rl_count equal to 0, the memset writes past the 16-byte declared size of rf_records, which the fortify checker catches. [FIX] Replace the bulk memset on &rb->rf_records with a correctly-bounded memset on rl_recs[] alone, after setting rl_count to the correct value.
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
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - OCFS2 registers NFS export operations and is commonly NFS-exported on shared cluster storage; remote NFS SETATTR/truncate or REMOVE/unlink on refcounted files reaches ocfs2_decrease_refcount() and the vulnerable memset via kernel nfsd. AC:L - An attacker can deterministically create refcounted files with multi-block refcount trees via reflink/copy_file_range, then trigger removal of the last leaf through truncate or unlink; syzbot reproduced this reliably without races or victim-specific timing. PR:L - Only normal filesystem write permission on the target file or parent directory is required to truncate/unlink refcounted data; no real-root or init-namespace capabilities are needed beyond access to the mounted OCFS2 volume. UI:N - Exploitation requires only attacker-initiated filesystem operations (reflink setup, truncate, or unlink) on objects they can write; no additional end-user or administrator interaction beyond routine file access is needed. S:U - Impact is confined to kernel/filesystem integrity and availability on systems running OCFS2; it does not cross a VM, container, or IOMMU security boundary into another authority domain. C:H - The out-of-bounds memset corrupts refcount-tree metadata within the on-disk block image, which can misdirect subsequent metadata reads and expose stale or cross-file cluster data on shared cluster filesystems. I:H - This is an out-of-bounds write (FORTIFY reported a 384-byte write past a 16-byte declared rf_records object) that zeros arbitrary portions of the refcount root block, corrupting filesystem metadata and enabling further memory corruption primitives. A:H - The fortify-detected out-of-bounds write triggers a kernel WARNING/panic during refcount-tree cleanup, causing node crash or denial of service on OCFS2 cluster members processing the malicious truncate or unlink.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2f26f58df041bbcf692730ff4d8ab0f250d9670d to < f5255516ec7add3a6d5d37853ad5a9a9ddb14305 (affected · git)2f26f58df041bbcf692730ff4d8ab0f250d9670d to < 1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (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
2Provider assertions
1Linux · cna
ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e279699a57cb6e7f031164b0d1ba8efa3fe888dc85b99fb61a9e879905978863
- Ingested
- 23 Sep 2026, 09:34:40 UTC
- Source record
- Official CVE record