9p/net: fix improper handling of bogus negative read/write replies (Linux Linux)

CVE-2025-37879
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.72 % · centile 54 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: 9p/net: fix improper handling of bogus negative read/write replies In p9_client_write() and p9_client_read_once(), if the server incorrectly replies with success but a negative write/read count then we would consider written (negative) <= rsize (positive) because both variables were signed. Make variables unsigned to avoid this problem. The reproducer linked below now fails with the following error instead of a null pointer deref: 9pnet: bogus RWRITE count (4294967295 > 3)

Faiblesses (CWE)

  • CWE-125 — Lecture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb < 468ff4a7c61fb811c596a7c44b6a5455e40fd12b ; affected 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb < a68768e280b7d0c967ea509e791bb9b90adc94a5 ; affected 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb < c548f95688e2b5ae0e2ae43d53cf717156c7d034 ; affected 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb < 374e4cd75617c8c2552f562f39dd989583f5c330 ; affected 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb < d0259a856afca31d699b706ed5e2adf11086c73b
Linux · Linuxaffected 4.1 ; unaffected 0 < 4.1 ; unaffected 6.1.136 ≤ 6.1.* ; unaffected 6.6.89 ≤ 6.6.* ; unaffected 6.12.26 ≤ 6.12.* ; unaffected 6.14.5 ≤ 6.14.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD