CVE-2026-89496
NoneCVSS
—
EPSS
0.2%
Published
Sep 11, 2026
CISA due date
—
Cloudanix analysis
A bug in a clustered Linux file system can slowly waste operating-system memory when files are copied on the same volume, and if that happens repeatedly a server can slow down or stop.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This is a Linux kernel memory leak in OCFS2’s copy-on-write completion path. When copy_file_range (and related splice/sendfile write paths) operates on refcounted extents in the same OCFS2 filesystem, extent-tree rotation, split/merge, and cluster replacement cache block-deallocation records via ocfs2_cache_block_dealloc without always flushing the deferred dealloc context. The leaked objects are small slab allocations (typically 32-byte dealloc cache/list records). Repeated CoW operations accumulate unreclaimed kernel memory, which can exhaust kmalloc/slab capacity and degrade or panic the node. Impact is availability (DoS family); the flaw is not described as a privilege-escalation, remote code-execution, or information-disclosure primitive.
Why it matters to the business
Hosts that mount OCFS2—commonly clustered databases, shared-disk HA, and Linux clustering stacks—can experience gradual memory growth, unexplained performance loss, or unplanned node restarts if CoW/copy workloads run for a long time. Business impact is operational downtime of clustered applications rather than data theft. EPSS is about 0.0018 and has been flat over 30 days, the CVE is not in CISA KEV, ransomware use is not reported, and exploit maturity is none, so urgency is lower than for remotely exploitable kernel bugs. Prioritize long-lived OCFS2 cluster nodes that frequently reflink or copy files in place. No per-product prevalence or fixed-package list was supplied; treat any production OCFS2 kernel as in-scope until the dealloc-on-CoW fix is confirmed present.
How an attack unfolds
An attacker who can write to an OCFS2 volume (local user, container, or compromised service sharing the mount) targets files with shared/refcounted clusters, such as after reflink. They induce copy-on-write through copy_file_range, sendfile, or splice-backed writes so the kernel runs ocfs2_refcount_cow / ocfs2_replace_cow, caches dealloc records, and (on unpatched kernels) never runs those deallocs at CoW completion. Looping the operation grows unreclaimed slab objects until the node is slow, OOM-killed, or panics. Exploitation requires local filesystem access and an OCFS2 mount; no unauthenticated network path is described. No named APT groups or campaigns are associated with this issue.
How to fix it
Apply the upstream Linux kernel change that always runs OCFS2 deallocs on copy-on-write completion (ocfs2: always run deallocs on copy-on-write completion). Upgrade to a distribution kernel whose changelog or CVE mapping includes this fix. Exact vendor package versions were not provided, so confirm via your distro security tracker for CVE-2026-89496 or the ocfs2 CoW dealloc commit. Until patched, limit untrusted writers on OCFS2 mounts, avoid high-rate copy_file_range/sendfile against reflinked files, and isolate cluster nodes. There is no complete userspace workaround that reclaims the leaked kernel objects without a patched kernel.
How to confirm the fix worked
Confirm the running kernel includes the OCFS2 CoW dealloc-on-completion fix via vendor advisory, package changelog, or kernel git history. Inventory hosts with ocfs2 in /proc/filesystems or mounted ocfs2 volumes. On a test system, exercise copy_file_range/sendfile on reflinked OCFS2 files under kmemleak or slab accounting; unreferenced objects from ocfs2_cache_block_dealloc / ocfs2_find_per_slot_free_list must not accumulate, and kmalloc-32 (or equivalent small-slab) usage should stay stable. After production rollout, verify module/kernel version and the absence of new kmemleak reports on the CoW path.
Typical attack path
- Obtain local execution or a write-capable process on a host with OCFS2 mounted.
- Locate or create refcounted/shared-cluster files (for example via reflink or existing CoW sharing).
- Repeatedly invoke copy_file_range, sendfile, or splice writes that force OCFS2 refcount CoW (ocfs2_refcount_cow / ocfs2_replace_cow).
- Allow leaked dealloc-cache slab objects to accumulate in kernel memory.
- Continue until memory pressure causes service degradation, OOM, or node crash (denial of service).
How to detect it
This is a local kernel memory leak, not a network implant, so perimeter IDS will not flag it. Hunt for leak evidence and for the triggering workload. If kmemleak is enabled, search kernel logs for unreferenced objects whose backtraces include ocfs2_cache_block_dealloc, ocfs2_unlink_path, ocfs2_replace_cow, ocfs2_refcount_cow, ocfs2_file_write_iter, or ocfs2_find_per_slot_free_list. Review dmesg/journalctl for kmemleak dumps and OOM events on processes using splice, sendfile, or copy_file_range against OCFS2. Watch /proc/slabinfo for sustained growth of small kmalloc caches coincident with OCFS2 CoW activity. Audit high-rate copy_file_range or sendfile syscalls on ocfs2 mounts. No in-the-wild campaign artifacts or named-actor TTPs are documented.
- ocfs2_cache_block_dealloc
- ocfs2_find_per_slot_free_list
- ocfs2_cache_extent_block_free
- ocfs2_replace_cow
- ocfs2_refcount_cow
- ocfs2_make_clusters_writable
- ocfs2_clear_ext_refcount
- ocfs2_file_write_iter
- kmemleak_alloc_recursive
- unreferenced object
What your security team should do
- Inventory Linux hosts that mount OCFS2 and rank clustered/database nodes first for kernel updates.
- Deploy vendor kernels that contain the OCFS2 always-run-deallocs-on-CoW fix; confirm CVE-2026-89496 or the matching commit in the changelog.
- Until patched, restrict write, reflink, and copy_file_range/sendfile use on OCFS2 to trusted services.
- Monitor kernel memory (slabinfo, kmemleak, OOM) on OCFS2 nodes for unexplained small-kmalloc growth tied to CoW/copy workloads.
- Given low EPSS (~0.0018, flat), no KEV listing, no ransomware use, and exploit maturity none, use normal kernel patch cadence unless OCFS2 underpins business-critical clustered storage—in that case treat availability risk as higher operational priority.
The record
In the Linux kernel, the following vulnerability has been resolved: ocfs2: always run deallocs on copy-on-write completion Local fuzzing of 6.12.94 has found the following memory leak caused by doing 'copy_file_range()' within the same filesystem: unreferenced object 0xffff88812192c980 (size 32): comm "syz.0.49", pid 12095, jiffies 4294964143 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 ................ c0 c5 92 21 81 88 ff ff 00 02 00 00 00 06 00 00 ...!............ backtrace (crc 7068d63f): kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] slab_post_alloc_hook mm/slub.c:4152 [inline] slab_alloc_node mm/slub.c:4197 [inline] __kmalloc_cache_noprof+0x168/0x2c0 mm/slub.c:4358 kmalloc_noprof include/linux/slab.h:878 [inline] ocfs2_find_per_slot_free_list fs/ocfs2/alloc.c:6618 [inline] ocfs2_cache_block_dealloc+0x155/0x4b0 fs/ocfs2/alloc.c:6786 ocfs2_cache_extent_block_free fs/ocfs2/alloc.c:6819 [inline] ocfs2_unlink_path+0x286/0x450 fs/ocfs2/alloc.c:2613 ocfs2_rotate_subtree_left fs/ocfs2/alloc.c:2779 [inline] __ocfs2_rotate_tree_left+0x1f6f/0x2da0 fs/ocfs2/alloc.c:2985 ocfs2_rotate_tree_left+0x283/0xe00 fs/ocfs2/alloc.c:3237 ocfs2_try_to_merge_extent+0xf56/0x1a20 fs/ocfs2/alloc.c:3825 ocfs2_split_extent+0x15f4/0x2940 fs/ocfs2/alloc.c:5138 ocfs2_clear_ext_refcount+0x2f6/0x550 fs/ocfs2/refcounttree.c:3098 ocfs2_replace_clusters fs/ocfs2/refcounttree.c:3131 [inline] ocfs2_make_clusters_writable fs/ocfs2/refcounttree.c:3255 [inline] ocfs2_replace_cow+0x991/0x1660 fs/ocfs2/refcounttree.c:3349 ocfs2_refcount_cow_hunk fs/ocfs2/refcounttree.c:3427 [inline] ocfs2_refcount_cow+0x5e1/0x9f0 fs/ocfs2/refcounttree.c:3470 ocfs2_prepare_inode_for_write fs/ocfs2/file.c:2340 [inline] ocfs2_file_write_iter+0xbda/0x1880 fs/ocfs2/file.c:2451 iter_file_splice_write+0x890/0xf60 fs/splice.c:743 do_splice_from fs/splice.c:944 [inline] direct_splice_actor+0x232/0x480 fs/splice.c:1167 splice_direct_to_actor+0x4b4/0xb60 fs/splice.c:1111 do_splice_direct_actor fs/splice.c:1210 [inline] do_splice_direct+0x10f/0x1c0 fs/splice.c:1236 do_sendfile+0x430/0xbf0 fs/read_write.c:1388 unreferenced object 0xffff88812192c5c0 (size 32): comm "syz.0.49", pid 12095, jiffies 4294964143 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 29 70 00 00 00 00 00 00 19 00 00 00 00 00 00 00 )p.............. backtrace (crc afec850f): kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] slab_post_alloc_hook mm/slub.c:4152 [inline] slab_alloc_node mm/slub.c:4197 [inline] __kmalloc_cache_noprof+0x168/0x2c0 mm/slub.c:4358 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] ocfs2_cache_block_dealloc+0x25c/0x4b0 fs/ocfs2/alloc.c:6793 ocfs2_cache_extent_block_free fs/ocfs2/alloc.c:6819 [inline] ocfs2_unlink_path+0x286/0x450 fs/ocfs2/alloc.c:2613 ocfs2_rotate_subtree_left fs/ocfs2/alloc.c:2779 [inline] __ocfs2_rotate_tree_left+0x1f6f/0x2da0 fs/ocfs2/alloc.c:2985 ocfs2_rotate_tree_left+0x283/0xe00 fs/ocfs2/alloc.c:3237 ocfs2_try_to_merge_extent+0xf56/0x1a20 fs/ocfs2/alloc.c:3825 ocfs2_split_extent+0x15f4/0x2940 fs/ocfs2/alloc.c:5138 ocfs2_clear_ext_refcount+0x2f6/0x550 fs/ocfs2/refcounttree.c:3098 ocfs2_replace_clusters fs/ocfs2/refcounttree.c:3131 [inline] ocfs2_make_clusters_writable fs/ocfs2/refcounttree.c:3255 [inline] ocfs2_replace_cow+0x991/0x1660 fs/ocfs2/refcounttree.c:3349 ocfs2_refcount_cow_hunk fs/ocfs2/refcounttree.c:3427 [inline] ocfs2_refcount_cow+0x5e1/0x9f0 fs/ocfs2/refcounttree.c:3470 ocfs2_prepare_inode_for_write fs/ocfs2/file.c:2340 [inline] ocfs2_file_write_iter+0xbda/0x1880 fs/ocfs2/file.c:2451 iter_file_splice_write+0x890/0xf60 fs/splice.c:743 do_splice_from fs/splice.c:9 ---truncated---
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|