We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37879

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



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)

Reserved 2025-04-16 | Published 2025-05-09 | Updated 2025-05-09 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 468ff4a7c61fb811c596a7c44b6a5455e40fd12b
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a68768e280b7d0c967ea509e791bb9b90adc94a5
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c548f95688e2b5ae0e2ae43d53cf717156c7d034
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 374e4cd75617c8c2552f562f39dd989583f5c330
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d0259a856afca31d699b706ed5e2adf11086c73b
affected

Default status
affected

6.1.136
unaffected

6.6.89
unaffected

6.12.26
unaffected

6.14.5
unaffected

6.15-rc1
unaffected

References

git.kernel.org/...c/468ff4a7c61fb811c596a7c44b6a5455e40fd12b

git.kernel.org/...c/a68768e280b7d0c967ea509e791bb9b90adc94a5

git.kernel.org/...c/c548f95688e2b5ae0e2ae43d53cf717156c7d034

git.kernel.org/...c/374e4cd75617c8c2552f562f39dd989583f5c330

git.kernel.org/...c/d0259a856afca31d699b706ed5e2adf11086c73b

cve.org (CVE-2025-37879)

nvd.nist.gov (CVE-2025-37879)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37879

Support options

Helpdesk Chat, Email, Knowledgebase