همهٔ گزارش‌ها
متوسط

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-37879

احتمال بهره‌برداری در ۳۰ روز آینده: 0.73%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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 flaw was found in the Linux kernel's 9p network protocol client. An untrusted or compromised 9p server can trigger a Denial of Service (DoS) by returning a crafted response containing an invalid negative read or write count. Due to an improper signed integer comparison, the client incorrectly validates the count, causing a null pointer dereference that crashes the system.