All reports
Medium

kernel: ext4: add bounds checking in get_max_inline_xattr_value_size()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53285

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: add bounds checking in get_max_inline_xattr_value_size() Normally the extended attributes in the inode body would have been checked when the inode is first opened, but if someone is writing to the block device while the file system is mounted, it's possible for the inode table to get corrupted. Add bounds checking to avoid reading beyond the end of allocated memory if this happens.

A flaw was found in the Linux kernel's ext4 file system. A missing bounds check in get_max_inline_xattr_value_size() allows an out-of-bounds memory read when processing extended file attributes from corrupted inode structures. A local user with write access to the raw block device could exploit this flaw while the file system is mounted. This can result in a system crash causing a Denial of Service (DoS) or unintended disclosure of kernel memory.