CVE-2026-43076: ocfs2: validate inline data i_size during inode read

Published May 6, 2026
·
Updated

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

ocfs2: validate inline data isize during inode read

When reading an inode from disk, ocfs2validateinodeblock() performs various sanity checks but does not validate the size of inline data. If the filesystem is corrupted, an inode's isize can exceed the actual inline data capacity (idcount).

This causes ocfs2dirforeachblkid() to iterate beyond the inline data buffer, triggering a use-after-free when accessing directory entries from freed memory.

In the syzbot report: - isize was 1099511627576 bytes (~1TB) - Actual inline data capacity (idcount) is typically <256 bytes - A garbage reclen (54648) caused ctx->pos to jump out of bounds - This triggered a UAF in ocfs2checkdirentry()

Fix by adding a validation check in ocfs2validateinodeblock() to ensure inodes with inline data have isize <= idcount. This catches the corruption early during inode read and prevents all downstream code from operating on invalid data.

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

    Patch ocfs2_validate_inode_block() to validate that when reading an inode from disk, an inode’s i_size does not exceed the inline data capacity (id_count) so that ocfs2_dir_foreach_blk_id() does not iterate beyond inline data and avoids the UAF in ocfs2_check_dir_entry().

    Linux kernel (OCFS2 filesystem) Add validation in ocfs2_validate_inode_block() = Ensure i_size <= inline data capacity (id_count) for inodes with inline data

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-43076?

CVE-2026-43076 has a severity level of high with a CVSS score of 7.8.

2

How do I fix CVE-2026-43076?

You can fix CVE-2026-43076 by applying the available patch from the Linux kernel.

3

What systems are affected by CVE-2026-43076?

CVE-2026-43076 affects the Linux kernel, specifically the ocfs2 filesystem.

4

What type of vulnerability is CVE-2026-43076?

CVE-2026-43076 is categorized as a Use After Free vulnerability.

5

When was CVE-2026-43076 published?

CVE-2026-43076 was published on May 6, 2026.

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