CVEFinder.io

CVE-2025-38580

⚠️ high
Summary

In the Linux kernel, the following vulnerability has been resolved: ext4: fix inode use after free in ext4_end_io_rsv_work() In ext4_io_end_defer_completion(), check if io_end->list_vec is empty to avoid adding an io_end that requires no conversion to the i_rsv_conversion_list, which in turn prevents starting an unnecessary worker. An ext4_emergency_state() check is also added to avoid attempting to abort the journal in an emergency state. Additionally, ext4_put_io_end_defer() is refactored t

Description

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

ext4: fix inode use after free in ext4_end_io_rsv_work()

In ext4_io_end_defer_completion(), check if io_end->list_vec is empty to
avoid adding an io_end that requires no conversion to the
i_rsv_conversion_list, which in turn prevents starting an unnecessary
worker. An ext4_emergency_state() check is also added to avoid attempting
to abort the journal in an emergency state.

Additionally, ext4_put_io_end_defer() is refactored to call
ext4_io_end_defer_completion() directly instead of being open-coded.
This also prevents starting an unnecessary worker when EXT4_IO_END_FAILED
is set but data_err=abort is not enabled.

This ensures that the check in ext4_put_io_end_defer() is consistent with
the check in ext4_end_bio(). Otherwise, we might add an io_end to the
i_rsv_conversion_list and then call ext4_finish_bio(), after which the
inode could be freed before ext4_end_io_rsv_work() is called, triggering
a use-after-free issue.

CVSS Score
7.8
High
EPSS Score
0.2
Exploit Probability
Published Date
2025-08-19
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Moderate Risk - more severe than 68.5% of all 370,241 vulnerabilities in our database.

#116,690
Above average severity
Severity Percentile
Last Modified 2026-07-30
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

📦 Affected Products 2

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-98164 ⚠️ high 7.1 0.2 In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Check write tracking in all address s... 2026-09-29
CVE-2026-98163 ⚠️ high 7.8 0.1 In the Linux kernel, the following vulnerability has been resolved: cgroup: Avoid iteration of dying tasks with zero re... 2026-09-26
CVE-2026-98162 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: smb/server: fix tree connection leak in smb2_tree_c... 2026-09-25
CVE-2026-98161 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: nvdimm: pmem: keep PREFLUSH before data writes pme... 2026-09-25
CVE-2026-98160 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix mismatched free of HalData ... 2026-09-25
CVE-2026-100079 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: unregister debugfs entries on tea... 2026-09-25
These CVEs affect the same products