Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-89786— ext4: fix out-of-bounds read in ext4_read_inline_dir()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

In the Linux kernel, the following vulnerability has been resolved: ext4: fix out-of-bounds read in ext4_read_inline_dir() ext4_read_inline_dir() can read a dirent header past the end of its inline buffer, triggering a slab-out-of-bounds read during getdents64

Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-89786

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ext4: fix out-of-bounds read in ext4_read_inline_dir()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix out-of-bounds read in ext4_read_inline_dir() ext4_read_inline_dir() can read a dirent header past the end of its inline buffer, triggering a slab-out-of-bounds read during getdents64(): BUG: KASAN: slab-out-of-bounds in __ext4_check_dir_entry Read of size 2 at addr ffff88800f3dd23c by task exploit/148 ... __ext4_check_dir_entry ext4_read_inline_dir iterate_dir The dirent payload lives in a buffer of exactly inline_size bytes: dir_buf = kmalloc(inline_size, GFP_NOFS); but iteration runs in a position space extra_offset bytes larger (extra_size = extra_offset + inline_size) so the synthetic "." and ".." land at their block-dir offsets. A dirent is formed at "dir_buf + pos - extra_offset", yet the ext4_check_dir_entry() length argument uses the larger extra_size. A position whose dirent header would extend past extra_size is therefore accepted, and the rescan loop's rec_len probe and ext4_check_dir_entry() dereference de->rec_len before the entry is rejected. Reject a position whose minimum-size dirent header would not fit within extra_size before forming de, in both the rescan and main loops, and pass inline_size rather than extra_size to ext4_check_dir_entry() so the length check matches the physical buffer.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux c4d8b0235aa98f8c26bf94d308be3fdd24154572 ~ d1e7c186555ad65554fd2f2b02f5a539aa35ae48 -
Linux Linux 3.10 -

II. Public POCs for CVE-2026-89786

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-89786

登录查看更多情报信息。

Other References for CVE-2026-89786 (7)

Same Patch Batch · Linux · 2026-09-16 · 276 CVEs total

CVE-2026-89860 scsi: qla2xxx: Initialize NVMe abort_work once at submission
CVE-2026-89877 media: saa7164: fix cleanup on resource allocation failure
CVE-2026-89875 media: ti: vpe: quiesce overflow recovery before freeing streams
CVE-2026-89876 media: tda18250: fix possible integer overflow
CVE-2026-89874 media: v4l2-async: avoid deleting unlinked ASC entry on link error
CVE-2026-89872 media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link
CVE-2026-89873 media: v4l2-ctrls: validate HEVC EXT SPS RPS counts
CVE-2026-89871 media: video-i2c: fix kthread error pointer left in kthread_vid_cap on failure
CVE-2026-89870 media: zoran: Avoid freeing a registered video_device twice
CVE-2026-89869 media: qcom: iris: use disable_irq() during power-off
CVE-2026-89868 media: chips-media: wave5: Add timeout while stop_streaming
CVE-2026-89867 media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued
CVE-2026-89866 media: chips-media: wave5: Resume device before setting EOS flag
CVE-2026-89865 scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers
CVE-2026-89864 scsi: qla2xxx: Bound i2c->length in I2C bsg handlers
CVE-2026-89863 scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check
CVE-2026-89862 scsi: qla2xxx: Fix BSG job leak on validate flash image error path
CVE-2026-89861 scsi: qla2xxx: Hold vport reference in qla24xx_report_id_acquisition()
CVE-2026-89850 scsi: qla2xxx: Don't query firmware state while chip is down
CVE-2026-89848 scsi: qla2xxx: Quiesce response IRQ before freeing request queue

Showing top 20 of 276 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-89786

No comments yet


Leave a comment