cbcvebase.
CVE-2024-46744
published 2024-09-18

CVE-2024-46744: In the Linux kernel, the following vulnerability has been resolved: Squashfs: sanity check symbolic link size Syzkiller reports a "KMSAN: uninit-value in…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.30%
22.3th percentile
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

34 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.112-1 (bookworm)linux 6.1.112-1 (bookworm)
debianlinux-6.1< linux 6.1.112-1 (bookworm)linux 6.1.112-1 (bookworm)
linuxlinux
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < f82cb7f24032ed023fc67d26ea9bf322d8431a90f82cb7f24032ed023fc67d26ea9bf322d8431a90
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 1b9451ba6f21478a75288ea3e3fca4be35e2a4381b9451ba6f21478a75288ea3e3fca4be35e2a438
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 5c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c45c8906de98d0d7ad42ff3edf2cb6cd7e0ea658c4
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 087f25b2d36adae19951114ffcbb7106ed405ebb087f25b2d36adae19951114ffcbb7106ed405ebb
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < fac5e82ab1334fc8ed6ff7183702df634bd1d93dfac5e82ab1334fc8ed6ff7183702df634bd1d93d
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < c3af7e460a526007e4bed1ce3623274a1a6afe5ec3af7e460a526007e4bed1ce3623274a1a6afe5e
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < ef4e249971eb77ec33d74c5c3de1e2576faf6c90ef4e249971eb77ec33d74c5c3de1e2576faf6c90
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 810ee43d9cd245d138a2733d87a24858a23f577d810ee43d9cd245d138a2733d87a24858a23f577d
linuxlinux_kernel< 4.19.3224.19.322
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.226-15.10.226-1
linuxlinux_kernel>= 0 < 6.1.112-16.1.112-1
linuxlinux_kernel>= 0 < 6.10.11-16.10.11-1
linuxlinux_kernel>= 0 < 6.10.11-16.10.11-1
linuxlinux_kernel>= 0 < 5.4.0-200.2205.4.0-200.220
linuxlinux_kernel>= 0 < 5.15.0-125.1355.15.0-125.135
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
linuxlinux_kernel>= 4.20 < 5.4.2845.4.284
linuxlinux_kernel>= 5.11 < 5.15.1675.15.167
linuxlinux_kernel>= 5.16 < 6.1.1106.1.110
linuxlinux_kernel>= 5.5 < 5.10.2265.10.226
linuxlinux_kernel>= 6.2 < 6.6.516.6.51

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.