Squashfs: sanity check symbolic link size
CVE-2024-46744

7.8HIGH

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
18 September 2024

What is CVE-2024-46744?

A vulnerability in the Linux kernel's Squashfs has been identified related to inadequate validation of symbolic link sizes during disk operations. Specifically, an improperly initialized page can occur when a corrupted symbolic link size is read from disk, leading to erroneous behavior in subsequent operations. This is initiated when the function squashfs_read_inode() assigns an incorrect size to the inode, which, due to integer overflow, results in the length variable being negative. This condition leads to a loop responsible for filling page content being bypassed, ultimately leading to uninitialized memory exposure. A recent patch addresses this issue by including a sanity check to ensure that symbolic link sizes do not exceed anticipated limits.

Affected Version(s)

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1b9451ba6f21478a75288ea3e3fca4be35e2a438

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.