CVE-2024-46744

HIGH EPSS 21.6%
Published Sep 18, 20241y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Sep 18, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
21.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-59

Affected Products 10

VendorProductVersionRange
linuxlinux_kernel* <4.19.322
linuxlinux_kernel*≥4.20  –  <5.4.284
linuxlinux_kernel*≥5.5  –  <5.10.226
linuxlinux_kernel*≥5.11  –  <5.15.167
linuxlinux_kernel*≥5.16  –  <6.1.110
linuxlinux_kernel*≥6.2  –  <6.6.51
linuxlinux_kernel*≥6.7  –  <6.10.10
linuxlinux_kernel6.11any
linuxlinux_kernel6.11any
linuxlinux_kernel6.11any

References 12

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

Remediation

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