PT-2024-32771 · Linux+7 · Linux Kernel+7
Jeongjun Park
·
Published
2024-08-23
·
Updated
2025-05-28
·
CVE-2024-47723
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.58
Description
The issue is related to the JFS module in the Linux kernel, where there is no check for the case where
bmp->db numag is greater or same than MAXAG due to a polluted image, causing an out-of-bounds condition in dbNextAG(). Additionally, there is no check for the case where agpref is greater than bmp->db numag in dbNextAG(), and no check for the case where agno is greater or same than MAXAG in diAlloc(), both of which can lead to out-of-bounds exceptions.Recommendations
For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider adding bounds checks in
dbMount() and dbNextAG() to prevent out-of-bounds exceptions until a patch is available. Restrict access to the JFS module to minimize the risk of exploitation. Avoid using the dbNextAG() and diAlloc() functions in the affected kernel versions until the issue is resolved.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu