CVE-2026-43076

Source
https://cve.org/CVERecord?id=CVE-2026-43076
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43076.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43076
Downstream
Published
2026-05-06T07:40:13.634Z
Modified
2026-07-15T01:48:57.439198321Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ocfs2: validate inline data i_size during inode read
Details

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, 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 (id_count).

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 <= id_count. This catches the corruption early during inode read and prevents all downstream code from operating on invalid data.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43076.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23193e513d1cd69411469f028d56fd175d4a6b07
Fixed
d012c782abcabe68b5b9e71be58a15e9f9d83dc1
Fixed
bcd46bc261b215b3b12c557a978299eafa02ecdd
Fixed
131c0b573e1b467b7d553e9ff38003f1acd8f5f2
Fixed
37f074e65f24f10f8d8df224a572e4cb9e6faf63
Fixed
c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b
Fixed
cd2d765aa7157f852999842af32148128c735d39
Fixed
77d0295725109d77f5854ef5b58c0d06c08168cc
Fixed
1524af3685b35feac76662cc551cbc37bd14775f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43076.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.24
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.136
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.83
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.24
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43076.json"