{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37879","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:23.962Z","datePublished":"2025-05-09T06:45:43.197Z","dateUpdated":"2026-05-11T21:16:52.810Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:16:52.810Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/net: fix improper handling of bogus negative read/write replies\n\nIn p9_client_write() and p9_client_read_once(), if the server\nincorrectly replies with success but a negative write/read count then we\nwould consider written (negative) <= rsize (positive) because both\nvariables were signed.\n\nMake variables unsigned to avoid this problem.\n\nThe reproducer linked below now fails with the following error instead\nof a null pointer deref:\n9pnet: bogus RWRITE count (4294967295 > 3)"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/client.c"],"versions":[{"version":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","lessThan":"468ff4a7c61fb811c596a7c44b6a5455e40fd12b","status":"affected","versionType":"git"},{"version":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","lessThan":"a68768e280b7d0c967ea509e791bb9b90adc94a5","status":"affected","versionType":"git"},{"version":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","lessThan":"c548f95688e2b5ae0e2ae43d53cf717156c7d034","status":"affected","versionType":"git"},{"version":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","lessThan":"374e4cd75617c8c2552f562f39dd989583f5c330","status":"affected","versionType":"git"},{"version":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","lessThan":"d0259a856afca31d699b706ed5e2adf11086c73b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/client.c"],"versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","status":"unaffected","versionType":"semver"},{"version":"6.1.136","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.89","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.26","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.5","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.136"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.6.89"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.12.26"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.14.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.15"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/468ff4a7c61fb811c596a7c44b6a5455e40fd12b"},{"url":"https://git.kernel.org/stable/c/a68768e280b7d0c967ea509e791bb9b90adc94a5"},{"url":"https://git.kernel.org/stable/c/c548f95688e2b5ae0e2ae43d53cf717156c7d034"},{"url":"https://git.kernel.org/stable/c/374e4cd75617c8c2552f562f39dd989583f5c330"},{"url":"https://git.kernel.org/stable/c/d0259a856afca31d699b706ed5e2adf11086c73b"}],"title":"9p/net: fix improper handling of bogus negative read/write replies","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T19:56:51.125Z"}}]}}