{"id":"CVE-2025-37879","aliases":["CVE-2025-37879"],"related":[],"kind":"vulnerability","state":"published","title":"9p/net: fix improper handling of bogus negative read/write replies","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: 9p/net: se corrige el manejo incorrecto de respuestas de lectura/escritura negativas falsas. En p9_client_write() y p9_client_read_once(), si el servidor responde incorrectamente con éxito, pero con un recuento de escrituras/lecturas negativo, se consideraría que \"escrito\" (negativo) &lt;= \"rsize\" (positivo) porque ambas variables estaban firmadas. Para evitar este problema, desactive el signo de las variables. El reproductor enlazado a continuación ahora falla con el siguiente error en lugar de una referencia de puntero nulo: 9pnet: recuento de RWRITE falso (4294967295 &gt; 3)","source":"nvd"}],"published":"2025-05-09T06:45:43.197Z","modified":"2026-08-05T11:58:00.365Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","fixed":"468ff4a7c61fb811c596a7c44b6a5455e40fd12b","status":"affected"},{"type":"git","introduced":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","fixed":"a68768e280b7d0c967ea509e791bb9b90adc94a5","status":"affected"},{"type":"git","introduced":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","fixed":"c548f95688e2b5ae0e2ae43d53cf717156c7d034","status":"affected"},{"type":"git","introduced":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","fixed":"374e4cd75617c8c2552f562f39dd989583f5c330","status":"affected"},{"type":"git","introduced":"070b3656cf228eaaef7b28b59264c5c7cdbdd0fb","fixed":"d0259a856afca31d699b706ed5e2adf11086c73b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1","status":"unaffected"},{"type":"semver","introduced":"6.1.136","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.89","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.26","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.5","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.1.136"},{"status":"affected","introduced":"6.2","fixed":"6.6.89"},{"status":"affected","introduced":"6.7","fixed":"6.12.26"},{"status":"affected","introduced":"6.13","fixed":"6.14.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/468ff4a7c61fb811c596a7c44b6a5455e40fd12b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a68768e280b7d0c967ea509e791bb9b90adc94a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c548f95688e2b5ae0e2ae43d53cf717156c7d034","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/374e4cd75617c8c2552f562f39dd989583f5c330","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0259a856afca31d699b706ed5e2adf11086c73b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37879","url":"https://www.cve.org/CVERecord?id=CVE-2025-37879","licence":"CVE Terms of Use","modified":"2026-08-05T11:58:00.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37879","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37879","licence":"Public domain","modified":"2026-07-30T06:22:27.160Z"}],"updatedAt":"2026-11-25T22:58:57.860Z","epss":{"score":0.00798,"percentile":0.53239,"date":"2026-11-30T12:00:22.000Z"}}