PT-2024-6982 · Linux+9 · Linux Kernel+9
Lizhi Xu
+1
·
Published
2024-08-13
·
Updated
2025-11-12
·
CVE-2024-46744
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is caused by an uninitialised page, which is ultimately caused by a corrupted symbolic link size read from disk. The reason why the corrupted symlink size causes an uninitialised page is due to the following sequence of events:
squashfs read inode()is called to read the symbolic link from disk, assigning a corrupted value toinode->i size.- Later
squashfs symlink read folio()is called, which assigns this corrupted value to thelengthvariable, a signed int that overflows producing a negative number. - The loop that fills in the page contents checks that the copied bytes are less than
length, which being negative means the loop is skipped, producing an uninitialised page. This patch adds a sanity check which checks that the symbolic link size is not larger than expected.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu