Linux
9p/net: fix improper handling of bogus negative read/write replies
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb, < 468ff4a7c61fb811c596a7c44b6a5455e40fd12b
- >= 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb, < a68768e280b7d0c967ea509e791bb9b90adc94a5
- >= 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb, < c548f95688e2b5ae0e2ae43d53cf717156c7d034
- >= 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb, < 374e4cd75617c8c2552f562f39dd989583f5c330
- >= 070b3656cf228eaaef7b28b59264c5c7cdbdd0fb, < d0259a856afca31d699b706ed5e2adf11086c73b
Fixed in 468ff4a7c61fb811c596a7c44b6a5455e40fd12b, a68768e280b7d0c967ea509e791bb9b90adc94a5, c548f95688e2b5ae0e2ae43d53cf717156c7d034, 374e4cd75617c8c2552f562f39dd989583f5c330, d0259a856afca31d699b706ed5e2adf11086c73b
- 4.1
Fixed in 0, 6.1.136, 6.6.89, 6.12.26, 6.14.5, 6.15
Mitigation
Upgrade Linux to 468ff4a7c61fb811c596a7c44b6a5455e40fd12b or a68768e280b7d0c967ea509e791bb9b90adc94a5 or c548f95688e2b5ae0e2ae43d53cf717156c7d034 or 374e4cd75617c8c2552f562f39dd989583f5c330 or d0259a856afca31d699b706ed5e2adf11086c73b or later.
Upgrade Linux to 0 or 6.1.136 or 6.6.89 or 6.12.26 or 6.14.5 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.