PT-2024-36865 · Linux · Linux Kernel
Guenter Roeck
·
Published
2024-11-20
·
Updated
2025-01-01
·
CVE-2024-56560
CVSS v3.1
5.5
Medium
| Vector | AV: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 versions prior to 6.12.0
Description
The issue is related to a too strict alignment check in the create cache() function, which can cause a kernel panic on certain systems, such as m68k, where the minimum alignment of unsigned long is 2 bytes. The error occurs when trying to create a slab cache, resulting in a failed allocation. The problem arises from the assumption that an arbitrary freeptr t (basically an unsigned long) is always aligned to 4 or 8 bytes, which is not safe. The fix involves relaxing the check to the actual minimum alignment of freeptr t.
Recommendations
To resolve the issue, update to a version of the Linux kernel that includes the fix for the too strict alignment check in create cache().
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Resource Release
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux Kernel