CVEvulnerability

CVE-2025-37879

7.1 HIGH Published 2025-05-09 Modified 2026-07-30 Official page ↗
Status
Modified
Published
2025-05-09
Last modified
2026-07-30
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

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)

Affected configurations

• linux linux kernel (< 6.1.136) • linux linux kernel (>= 6.2 < 6.6.89) • linux linux kernel (>= 6.7 < 6.12.26) • linux linux kernel (>= 6.13 < 6.14.5) • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References