Back to CVE records
High 7.8Published Sep 18, 2024

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

Updated under an hour ago ()

Does this affect you?

It affects Linux and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 6545b246a2c815a8fcd07d58240effb6ec3481b1 before f82cb7f24032ed023fc67d26ea9bf322d8431a90; 6545b246a2c815a8fcd07d58240effb6ec3481b1 builds before 1b9451ba6f21478a75288ea3e3fca4be35e2a438; 6545b246a2c815a8fcd07d58240effb6ec3481b1 builds before 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4; 6545b246a2c815a8fcd07d58240effb6ec3481b1 builds before 087f25b2d36adae19951114ffcbb7106ed405ebb; from 6545b246a2c815a8fcd07d58240effb6ec3481b1 before fac5e82ab1334fc8ed6ff7183702df634bd1d93d; from 6545b246a2c815a8fcd07d58240effb6ec3481b1 before c3af7e460a526007e4bed1ce3623274a1a6afe5e; from 6545b246a2c815a8fcd07d58240effb6ec3481b1 before ef4e249971eb77ec33d74c5c3de1e2576faf6c90; 6545b246a2c815a8fcd07d58240effb6ec3481b1 builds before 810ee43d9cd245d138a2733d87a24858a23f577d
CNA record
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
before V1.1.1
CISA ADP
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.2
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
before V3.2
CISA ADP
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
siemens:scalance_xcm_xrm_xch_xrh_300_family (from the name)
before V3.2
CISA ADP
linux linux_kernel
linux:linux_kernel
before 4.19.322; from 4.20 before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10; 6.11; and 2 more ranges
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.