CVE-2026-43075: ocfs2: fix out-of-bounds write in ocfs2_write_end_inline

Published May 6, 2026
·
Updated

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

ocfs2: fix out-of-bounds write in ocfs2writeendinline

KASAN reports a use-after-free write of 4086 bytes in ocfs2writeendinline, called from ocfs2writeendnolock during a copyfilerange 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 ocfs2trytowriteinlinedata trusts the on-disk idcount field to determine whether a write fits in inline data. On a corrupted filesystem, idcount can exceed the physical maximum inline data capacity, causing writes to overflow the inode block buffer.

Call trace (crash path):

vfscopyfilerange (fs/readwrite.c:1634) dosplicedirect splicedirecttoactor iterfilesplicewrite ocfs2filewriteiter genericperformwrite ocfs2writeend ocfs2writeendnolock (fs/ocfs2/aops.c:1949) ocfs2writeendinline (fs/ocfs2/aops.c:1915) memcpyfromfolio <-- KASAN: write OOB

So add idcount upper bound check in ocfs2validateinodeblock() to alongside the existing isize check to fix it.

Affected Software

13 affected components
Linux Linux kernel (ocfs2)
Linux Linux kernel>=2.6.24.1<6.6.136
Linux Linux kernel>=6.7<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel=2.6.24
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update OCFS2 to add an id_count upper bound check in ocfs2_validate_inode_block() alongside the existing i_size check, because ocfs2_try_to_write_inline_data currently trusts on-disk id_count and can overflow the inode block buffer, leading to an out-of-bounds write in ocfs2_write_end_inline (fs/ocfs2/aops.c:1915).

    OCFS2 (ocfs2_validate_inode_block / ocfs2_try_to_write_inline_data / ocfs2_write_end_inline) id_count upper bound check = add validation to ensure id_count does not exceed the physical maximum inline data capacity (alongside existing i_size check)

Event History

May 6, 2026
CVE Published
via MITRE·07:40 AM
Data Sourced
via MITRE·07:40 AM
DescriptionSeverity
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-43075?

CVE-2026-43075 has a severity level of 7.8, classified as high.

2

How do I fix CVE-2026-43075?

To fix CVE-2026-43075, apply the available patch provided in the Linux kernel updates.

3

What does CVE-2026-43075 exploit?

CVE-2026-43075 exploits an out-of-bounds write vulnerability in the ocfs2_write_end_inline function.

4

Which systems are affected by CVE-2026-43075?

CVE-2026-43075 affects systems running vulnerable versions of the Linux kernel with ocfs2 support.

5

What is the impact of CVE-2026-43075?

The impact of CVE-2026-43075 includes potential data corruption and security risks due to a use-after-free condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203