CVE-2026-89493
published high CVSS 3.1 · 8.8ocfs2: validate rl_used against rl_count in refcount block validator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < f882e9e32d017a6569b2996c63ba3864717788e6 · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 5593b63028cb43a6cda75a65ce1db95f00ea6857 · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < c8b02f4ee91e757b3fff556c7168b24b7ae55132 · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 97584e93fc49a2d59252ac60467e9279f11b1b5b · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < af56e90cb546cb0c47bef059335365283f61d6a4 · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 0761d2c9494424469a0d30a9da3496ca010b0b2d · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 04ead708e13ddcb9c39319cbe02a18cef99cb823 · f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 4ca62df6bc0708947b48da3f6a712ecb8e73929c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.32 (affected) · 0 to < 2.6.32 (unaffected · semver) · 5.10.270 through 5.10.* (unaffected · semver) · 5.15.221 through 5.15.* (unaffected · semver) · 6.1.188 through 6.1.* (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.109 through 6.12.* (unaffected · semver) · 6.18.50 through 6.18.* (unaffected · semver) · 7.2.4 through 7.2.* (unaffected · semver) · 7.3 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.190-1 | DLA-4841-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
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: validate rl_used against rl_count in refcount block validator ocfs2_find_refcount_rec_in_rl() walks the on-disk refcount record array with: for (; i < le16_to_cpu(rb->rf_records.rl_used); i++) { rec = &rb->rf_records.rl_recs[i]; ... rl_recs[] lives in a single metadata block (4096 bytes on the common configuration), so its real capacity is fixed by ocfs2_refcount_recs_per_rb(sb) (247 records for a 4K block with the 16-byte ocfs2_refcount_rec). rl_used and rl_count are both read directly off disk by ocfs2_validate_refcount_block() and are never checked against that capacity, nor against each other, before any refcount/reflink/CoW operation walks the array. A crafted (or corrupted) refcount block with rl_used == 0xffff makes the loop above walk far past the end of the block, dereferencing rl_recs[i] for i up to 65534. The resulting index is then handed to the sibling ocfs2_insert_refcount_rec(), whose insert-shift does: if (index < le16_to_cpu(rf_list->rl_used)) memmove(&rf_list->rl_recs[index + 1], &rf_list->rl_recs[index], (le16_to_cpu(rf_list->rl_used) - index) * sizeof(struct ocfs2_refcount_rec)); i.e. a memmove() of up to (0xffff - index) * 16 bytes (~1 MiB) from an offset already past the block. This is reachable from an ordinary reflink (FICLONE) against a crafted/corrupted ocfs2 image: attaching an extent whose cpos sorts past every real record in the leaf forces the lookup to run off the end instead of returning early on a match. The attacker model is local: CAP_SYS_ADMIN mounting a crafted or corrupted ocfs2 image, or a raw write to the block device backing an already-mounted ocfs2 filesystem. ocfs2_validate_refcount_block() already validates the block's ECC, signature, rf_blkno and rf_fs_generation, but never rl_count/rl_used against the block's actual on-disk capacity. This is the same class of gap that ocfs2_validate_extent_block() (fs/ocfs2/alloc.c) already closes for the sibling extent-list header, which checks both the record capacity and the "used" bound before any code walks h_list.l_recs[]: if (le16_to_cpu(eb->h_list.l_count) != ocfs2_extent_recs_per_eb(sb)) { rc = ocfs2_error(...); goto bail; } if (le16_to_cpu(eb->h_list.l_next_free_rec) > le16_to_cpu(eb->h_list.l_count)) { rc = ocfs2_error(...); goto bail; } Add the equivalent pair of checks to ocfs2_validate_refcount_block(): reject a refcount block whose rl_count does not match the fixed per-block capacity returned by ocfs2_refcount_recs_per_rb(), and reject rl_used > rl_count. Both checks are skipped when OCFS2_REFCOUNT_TREE_FL is set, because in that case the same union bytes hold an ocfs2_extent_list (rf_list), not the refcount record list (rf_records) -- that layout is already validated separately by ocfs2_validate_extent_block() when the referenced extent block is read. This mirrors the existing "!(rb->rf_flags & OCFS2_REFCOUNT_TREE_FL)" guard used elsewhere in this file (e.g. ocfs2_get_refcount_rec()) to decide whether rf_records or rf_list is the live member of the union. With this in place, a forged rl_used/rl_count is caught at block validation time (ocfs2_error()), consistent with every other corruption check in this function, instead of driving an out-of-bounds read in ocfs2_find_refcount_rec_in_rl() and a subsequent out-of-bounds memmove() in ocfs2_insert_refcount_rec(). Verified against a crafted image on a v6.19 KASAN (KASAN_GENERIC) build: replaying the same reflink (FICLONE) reliably hit a KASAN report in __ocfs2_increase_refcount()/ocfs2_insert_refcount_rec() before this patch, and triggers no report once ocfs2_validate_refcount_block() rejects the forged rl_used/rl_count.
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 export_operations and is commonly NFS-exported or ksmbd-shared on cluster storage; remote NFSv4.2 CLONE or ksmbd FSCTL_DUPLICATE_EXTENTS reaches vfs_clone_file_range→ocfs2_remap_file_range, and NFS WRITE/truncate on refcounted files reaches ocfs2_get_refcount_rec() and the OOB walk/memmove. AC:L - A crafted refcount block with rl_used=0xffff plus FICLONE/clone or write/CoW whose cpos sorts past the real leaf records deterministically drives the OOB loop and memmove; the fix commit reproduced this under KASAN with no race or uncontrollable layout. PR:L - Triggering needs only write/clone permission on a file whose inode points at the forged refcount block (unprivileged local user or authenticated NFS/SMB client); ocfs2_remap_file_range and ocfs2_reflink_ioctl have no capability check, and planting on-disk metadata does not require init-namespace root. UI:N - Once the malformed refcount block is on an already-mounted or NFS/SMB-exported OCFS2 volume, the attacker issues clone, write, or truncate themselves; no separate victim mount, click, or administrator action is required at exploit time. S:U - The out-of-bounds read and write corrupt kernel memory in the host parsing the OCFS2 refcount block; impact stays within that kernel's security authority and does not cross a VM, container, or IOMMU boundary. C:H - ocfs2_find_refcount_rec_in_rl() indexes rl_recs[i] for i up to 65534 past a single 4K metadata block, performing an approximately 1 MiB out-of-bounds read of adjacent kernel memory and enabling high-bandwidth disclosure. I:H - ocfs2_insert_refcount_rec() memmove()s up to (0xffff-index)*16 bytes (~1 MiB) from and to offsets already past the block and writes rl_recs[index] out of bounds, which is an arbitrary kernel out-of-bounds write exploitable for control-flow hijacking. A:H - The same OOB access was reproduced as a KASAN fault in __ocfs2_increase_refcount()/ocfs2_insert_refcount_rec() and causes a kernel oops or panic, fully denying availability on the affected node.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < f882e9e32d017a6569b2996c63ba3864717788e6 (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 5593b63028cb43a6cda75a65ce1db95f00ea6857 (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < c8b02f4ee91e757b3fff556c7168b24b7ae55132 (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 97584e93fc49a2d59252ac60467e9279f11b1b5b (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < af56e90cb546cb0c47bef059335365283f61d6a4 (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 0761d2c9494424469a0d30a9da3496ca010b0b2d (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 04ead708e13ddcb9c39319cbe02a18cef99cb823 (affected · git)f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 to < 4ca62df6bc0708947b48da3f6a712ecb8e73929c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.32 (affected)0 to < 2.6.32 (unaffected · semver)5.10.270 through 5.10.* (unaffected · semver)5.15.221 through 5.15.* (unaffected · semver)6.1.188 through 6.1.* (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.109 through 6.12.* (unaffected · semver)6.18.50 through 6.18.* (unaffected · semver)7.2.4 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/04ead708e13ddcb9c39319cbe02a18cef99cb823
- https://git.kernel.org/stable/c/0761d2c9494424469a0d30a9da3496ca010b0b2d
- https://git.kernel.org/stable/c/4ca62df6bc0708947b48da3f6a712ecb8e73929c
- https://git.kernel.org/stable/c/5593b63028cb43a6cda75a65ce1db95f00ea6857
- https://git.kernel.org/stable/c/97584e93fc49a2d59252ac60467e9279f11b1b5b
- https://git.kernel.org/stable/c/af56e90cb546cb0c47bef059335365283f61d6a4
- https://git.kernel.org/stable/c/c8b02f4ee91e757b3fff556c7168b24b7ae55132
- https://git.kernel.org/stable/c/f882e9e32d017a6569b2996c63ba3864717788e6
Provider assertions
1Linux · cna
ocfs2: validate rl_used against rl_count in refcount block validator
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d7330d0b4169b5eaf02a63ea9d698115ed619ffc187223c719ed21d9991fd96d
- Ingested
- 19 Oct 2026, 08:57:05 UTC
- Source record
- Official CVE record