1. Accueil
  2. Vulnérabilités
  3. CVE-2024-46744

CVE-2024-46744

Squashfs: sanity check symbolic link size

Publiée le 18 sept. 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 37/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (9 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 2.6.29 — CNA (éditeur ou attributeur)
Linux kernel avant 4.19.322 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.284 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.226 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.167 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.110 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.51 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.10.10 (exclu) — NVD
Linux kernel 6.11 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-59 · Autre (CWE-59)

Comment sont obtenues et calculées ces données