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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-59
- **Published:** 2024-09-18T07:12:04.975Z
- **Modified:** 2026-10-15T01:18:52.457Z

## Who should check

- Anyone running Linux \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< f82cb7f24032ed023fc67d26ea9bf322d8431a90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 1b9451ba6f21478a75288ea3e3fca4be35e2a438; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 087f25b2d36adae19951114ffcbb7106ed405ebb; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< fac5e82ab1334fc8ed6ff7183702df634bd1d93d; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< c3af7e460a526007e4bed1ce3623274a1a6afe5e; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< ef4e249971eb77ec33d74c5c3de1e2576faf6c90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 810ee43d9cd245d138a2733d87a24858a23f577d
- Anyone running Linux 2.6.29

## 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.

## Affected and fixed versions

- Linux: \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< f82cb7f24032ed023fc67d26ea9bf322d8431a90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 1b9451ba6f21478a75288ea3e3fca4be35e2a438; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 087f25b2d36adae19951114ffcbb7106ed405ebb; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< fac5e82ab1334fc8ed6ff7183702df634bd1d93d; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< c3af7e460a526007e4bed1ce3623274a1a6afe5e; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< ef4e249971eb77ec33d74c5c3de1e2576faf6c90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 810ee43d9cd245d138a2733d87a24858a23f577d (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- Upgrade Linux to 810ee43d9cd245d138a2733d87a24858a23f577d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46744. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46744.md
Affected: Linux >= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < f82cb7f24032ed023fc67d26ea9bf322d8431a90; >= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 1b9451ba6f21478a75288ea3e3fca4be35e2a438; >= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; >= 6545b246a2c815a8fcd07d5…
Fixed in: Linux 1b9451ba6f21478a75288ea3e3fca4be35e2a438, Linux 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4, Linux 087f25b2d36adae19951114ffcbb7106ed405ebb, Linux 810ee43d9cd245d138a2733d87a24858a23f577d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46744 being exploited?

There is no confirmed exploitation: CVE-2024-46744 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46744?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46744?

Linux \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< f82cb7f24032ed023fc67d26ea9bf322d8431a90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 1b9451ba6f21478a75288ea3e3fca4be35e2a438; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 087f25b2d36adae19951114ffcbb7106ed405ebb; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< fac5e82ab1334fc8ed6ff7183702df634bd1d93d; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< c3af7e460a526007e4bed1ce3623274a1a6afe5e; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< ef4e249971eb77ec33d74c5c3de1e2576faf6c90; \>= 6545b246a2c815a8fcd07d58240effb6ec3481b1, \< 810ee43d9cd245d138a2733d87a24858a23f577d; Linux 2.6.29.

### Is there a fix for CVE-2024-46744?

Yes. Fixed in Linux 1b9451ba6f21478a75288ea3e3fca4be35e2a438, Linux 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4, Linux 087f25b2d36adae19951114ffcbb7106ed405ebb, Linux 810ee43d9cd245d138a2733d87a24858a23f577d. Upgrade Linux to 810ee43d9cd245d138a2733d87a24858a23f577d or later.

### How do I check if I'm affected by CVE-2024-46744?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f82cb7f24032ed023fc67d26ea9bf322d8431a90>
- patch: <https://git.kernel.org/stable/c/1b9451ba6f21478a75288ea3e3fca4be35e2a438>
- patch: <https://git.kernel.org/stable/c/5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4>
- patch: <https://git.kernel.org/stable/c/087f25b2d36adae19951114ffcbb7106ed405ebb>
- patch: <https://git.kernel.org/stable/c/fac5e82ab1334fc8ed6ff7183702df634bd1d93d>
- patch: <https://git.kernel.org/stable/c/c3af7e460a526007e4bed1ce3623274a1a6afe5e>
- patch: <https://git.kernel.org/stable/c/ef4e249971eb77ec33d74c5c3de1e2576faf6c90>
- patch: <https://git.kernel.org/stable/c/810ee43d9cd245d138a2733d87a24858a23f577d>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46744>

HTML: <https://flawdb.com/CVE-2024-46744> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46744>
