PT-2024-29172 · Linux+4 · Linux Kernel+4

Baokun Li

·

Published

2024-03-19

·

Updated

2025-09-29

·

CVE-2024-40955

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A slab-out-of-bounds issue has been resolved in the Linux kernel, specifically in the ext4 file system. This issue can be triggered by setting an oversized value for s mb group prealloc via sysfs, causing the kernel to attempt to access an element outside the bounds of the s mb avg fragment size list. The issue is triggered by the following sequence of events: setting s mb group prealloc to a large value, creating a new file, and syncing the file system. The kernel's KASAN (Kernel Address Sanitizer) detects the slab-out-of-bounds access and reports the issue. To fix the issue, a new attribute attr clusters in group is introduced, and mb group prealloc is declared as this type, ensuring that its values are within the valid range.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-13979
BDU:2025-02073
CVE-2024-40955
OESA-2024-2076
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu