# CVE-2026-43076: ocfs2: validate inline data i\_size during inode read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-06T07:40:13.634Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< d012c782abcabe68b5b9e71be58a15e9f9d83dc1; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< bcd46bc261b215b3b12c557a978299eafa02ecdd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 131c0b573e1b467b7d553e9ff38003f1acd8f5f2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 37f074e65f24f10f8d8df224a572e4cb9e6faf63; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< cd2d765aa7157f852999842af32148128c735d39; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77d0295725109d77f5854ef5b58c0d06c08168cc; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 1524af3685b35feac76662cc551cbc37bd14775f
- Anyone running Linux 2.6.24

## Description

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

ocfs2: validate inline data i\_size during inode read

When reading an inode from disk, ocfs2\_validate\_inode\_block() performs
various sanity checks but does not validate the size of inline data.  If
the filesystem is corrupted, an inode's i\_size can exceed the actual
inline data capacity (id\_count).

This causes ocfs2\_dir\_foreach\_blk\_id() to iterate beyond the inline data
buffer, triggering a use-after-free when accessing directory entries from
freed memory.

In the syzbot report:
  - i\_size was 1099511627576 bytes (~1TB)
  - Actual inline data capacity (id\_count) is typically \<256 bytes
  - A garbage rec\_len (54648) caused ctx-\>pos to jump out of bounds
  - This triggered a UAF in ocfs2\_check\_dir\_entry()

Fix by adding a validation check in ocfs2\_validate\_inode\_block() to ensure
inodes with inline data have i\_size \<= id\_count.  This catches the
corruption early during inode read and prevents all downstream code from
operating on invalid data.

## Affected and fixed versions

- Linux: \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< d012c782abcabe68b5b9e71be58a15e9f9d83dc1; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< bcd46bc261b215b3b12c557a978299eafa02ecdd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 131c0b573e1b467b7d553e9ff38003f1acd8f5f2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 37f074e65f24f10f8d8df224a572e4cb9e6faf63; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< cd2d765aa7157f852999842af32148128c735d39; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77d0295725109d77f5854ef5b58c0d06c08168cc; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 1524af3685b35feac76662cc551cbc37bd14775f (cvelist)
- Linux: 2.6.24 (cvelist)

## Mitigation

- Upgrade Linux to 1524af3685b35feac76662cc551cbc37bd14775f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43076. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43076.md
Affected: Linux >= 23193e513d1cd69411469f028d56fd175d4a6b07, < d012c782abcabe68b5b9e71be58a15e9f9d83dc1; >= 23193e513d1cd69411469f028d56fd175d4a6b07, < bcd46bc261b215b3b12c557a978299eafa02ecdd; >= 23193e513d1cd69411469f028d56fd175d4a6b07, < 131c0b573e1b467b7d553e9ff38003f1acd8f5f2; >= 23193e513d1cd69411469f0…
Fixed in: Linux 131c0b573e1b467b7d553e9ff38003f1acd8f5f2, Linux 37f074e65f24f10f8d8df224a572e4cb9e6faf63, Linux 77d0295725109d77f5854ef5b58c0d06c08168cc, Linux 1524af3685b35feac76662cc551cbc37bd14775f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43076 being exploited?

There is no confirmed exploitation: CVE-2026-43076 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43076?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-43076?

Linux \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< d012c782abcabe68b5b9e71be58a15e9f9d83dc1; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< bcd46bc261b215b3b12c557a978299eafa02ecdd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 131c0b573e1b467b7d553e9ff38003f1acd8f5f2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 37f074e65f24f10f8d8df224a572e4cb9e6faf63; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< cd2d765aa7157f852999842af32148128c735d39; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77d0295725109d77f5854ef5b58c0d06c08168cc; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 1524af3685b35feac76662cc551cbc37bd14775f; Linux 2.6.24.

### Is there a fix for CVE-2026-43076?

Yes. Fixed in Linux 131c0b573e1b467b7d553e9ff38003f1acd8f5f2, Linux 37f074e65f24f10f8d8df224a572e4cb9e6faf63, Linux 77d0295725109d77f5854ef5b58c0d06c08168cc, Linux 1524af3685b35feac76662cc551cbc37bd14775f. Upgrade Linux to 1524af3685b35feac76662cc551cbc37bd14775f or later.

### How do I check if I'm affected by CVE-2026-43076?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/37f074e65f24f10f8d8df224a572e4cb9e6faf63>
- patch: <https://git.kernel.org/stable/c/c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b>
- patch: <https://git.kernel.org/stable/c/cd2d765aa7157f852999842af32148128c735d39>
- patch: <https://git.kernel.org/stable/c/77d0295725109d77f5854ef5b58c0d06c08168cc>
- patch: <https://git.kernel.org/stable/c/1524af3685b35feac76662cc551cbc37bd14775f>
- other: <https://git.kernel.org/stable/c/d012c782abcabe68b5b9e71be58a15e9f9d83dc1>
- other: <https://git.kernel.org/stable/c/bcd46bc261b215b3b12c557a978299eafa02ecdd>
- other: <https://git.kernel.org/stable/c/131c0b573e1b467b7d553e9ff38003f1acd8f5f2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43076>

HTML: <https://flawdb.com/CVE-2026-43076> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43076>
