CVE-2025-37879 Details
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)
A vulnerability in the Linux kernel's 9p/net implementation has been addressed. The issue arose in the functions p9_client_write() and p9_client_read_once(), where the server could incorrectly indicate a successful operation with a negative read or write count. This miscommunication was problematic because both the written (negative) and read size (positive) variables were signed, leading to incorrect handling of the data. The vulnerability has been resolved by changing these variables to unsigned, preventing the misinterpretation of negative counts as valid. The linked reproducer, which previously caused a null pointer dereference, now correctly reports the error '9pnet: bogus RWRITE count' with an exaggerated count value, indicating the issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/374e4cd75617c8c2552f562f39dd989583f5c330 | kernel.org | Patch |
| https://git.kernel.org/stable/c/468ff4a7c61fb811c596a7c44b6a5455e40fd12b | kernel.org | Patch |
| https://git.kernel.org/stable/c/a68768e280b7d0c967ea509e791bb9b90adc94a5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c548f95688e2b5ae0e2ae43d53cf717156c7d034 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d0259a856afca31d699b706ed5e2adf11086c73b | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.1.136 >= 6.2, < 6.6.89 >= 6.7, < 6.12.26 >= 6.13, < 6.14.5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 9, 2025 | New CVE Received | kernel.org |