一、 漏洞 CVE-2025-37879 基础信息
漏洞信息
                                        # 9p/net:修正对错误的负读写回复处理不当的问题

## 概述
在Linux内核中,修复了9p/net协议栈中的一个漏洞,该漏洞涉及不当处理恶意的负读写响应。

## 细节
在 `p9_client_write()` 和 `p9_client_read_once()` 中,如果服务器错误地回复成功但带有负的读写计数,则会导致变量 `written` (负值) 和 `rsize` (正值) 之间的比较不正确,因为这两个变量都是有符号的。为此,修复方案将这些变量更改为无符号类型,以避免该问题。

## 影响
修复后,之前会触发空指针引用错误的测试用例现在会失败并返回以下错误信息:
```
9pnet: bogus RWRITE count (4294967295 > 3)
```
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
9p/net: fix improper handling of bogus negative read/write replies
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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)
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确处理负数的读写回复,可能导致整数溢出。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-37879 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-37879 的情报信息