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

CVE-2024-57791

net/smc: check return value of sock_recvmsg when draining clc data

Publiée le 11 janv. 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 47/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: net/smc: check return value of sock_recvmsg when draining clc data When receiving clc msg, the field length in smc_clc_msg_hdr indicates the length of msg should be received from network and the value should not be fully trusted as it is from the network. Once the value of length exceeds the value of buflen in function smc_clc_wait_msg it may run into deadloop when trying to drain the remaining data exceeding buflen. This patch checks the return value of sock_recvmsg when draining data in case of deadloop in draining.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.8 — CNA (éditeur ou attributeur)
Linux kernel de 5.8.1 (inclus) à 5.10.233 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.176 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.122 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.68 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.7 (exclu) — NVD
Linux kernel 5.8 — NVD
Linux kernel 6.13 — 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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données