CVE-2026-43075

ocfs2: fix out-of-bounds write in ocfs2_write_end_inline

7.8 high EPSS 0.17%

Published 6 May 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-43075

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-43075 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: fix out-of-bounds write in ocfs2_write_end_inline

KASAN reports a use-after-free write of 4086 bytes in ocfs2_write_end_inline, called from ocfs2_write_end_nolock during a copy_file_range splice fallback on a corrupted ocfs2 filesystem mounted on a loop device. The actual bug is an out-of-bounds write past the inode block buffer, not a true use-after-free. The write overflows into an adjacent freed page, which KASAN reports as UAF.

The root cause is that ocfs2_try_to_write_inline_data trusts the on-disk id_count field to determine whether a write fits in inline data. On a corrupted filesystem, id_count can exceed the physical maximum inline data capacity, causing writes to overflow the inode block buffer.

Call trace (crash path):

vfs_copy_file_range (fs/read_write.c:1634) do_splice_direct splice_direct_to_actor iter_file_splice_write ocfs2_file_write_iter generic_perform_write ocfs2_write_end ocfs2_write_end_nolock (fs/ocfs2/aops.c:1949) ocfs2_write_end_inline (fs/ocfs2/aops.c:1915) memcpy_from_folio <-- KASAN: write OOB

So add id_count upper bound check in ocfs2_validate_inode_block() to alongside the existing i_size check to fix it.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.73% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 68f9cc3bbf2ae501770cea7dc0005fc9a85e48ea
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 2e6a254f9cedf51b75cc20b8b92e2209bfa04c3e
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 22df7d4de9c5cd42edf855a1de25f2106088c4c6
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before e2c9dc6b6e96f3585f2a1062ca3374a52db0938f
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 947f953978b0d9463498d548d0f054f5a75be2e9
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 0c1af902223b6fcedb60904ca0b551254686c7b9
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 69d3c69ade1e4285ab4ca48fe7acee0767e65604
affected from 1afc32b952335f665327a1a9001ba1b44bb76fd9, before 7bc5da4842bed3252d26e742213741a4d0ac1b14
Other versions: unaffected
Linux
affected 2.6.24
unaffected before 2.6.24
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.136 up to and including 6.6.*
unaffected from 6.12.83 up to and including 6.12.*
unaffected from 6.18.24 up to and including 6.18.*
unaffected from 6.19.14 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-43075 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-43075

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-43075
trivy image --scanners vuln IMAGE | grep CVE-2026-43075

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-43075 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.