目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-38089 PoC — Linux kernel 安全漏洞

来源
关联漏洞
标题: Linux kernel 安全漏洞 (CVE-2025-38089)
Description:Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于处理SVC_GARBAGE时未正确设置rq_accept_statp指针,可能导致空指针取消引用或内存损坏。
Description
PoC for CVE-2025-38089
介绍
# Overview
Proof-of-Concept exploit for NFSundown (CVE-2025-38089). It can remotely trigger a kernel crash in an NFS server.

# Details
A remote attacker can trigger a kernel null pointer dereference and crash the kernel by sending a specially crafted RPC request. This occurs due to improper handling of the `rqstp->rq_accept_statp` pointer in the SUNRPC code path, allowing it to remain NULL and be dereferenced in error handling branches. In some circumstances(when all the server thread has accepted a connection for at least once), this could also result in a use-after-free. The vulnerability is now assigned CVE-2025-38089.

## Affected Version
- introduced in: 6.3, [29cd2927fb914cc53b5ba4f67d2b74695c994ba4](https://github.com/torvalds/linux/commit/29cd2927fb914cc53b5ba4f67d2b74695c994ba4)
- fixed in: 6.16, [94d10a4dba0bc482f2b01e39f06d5513d0f75742](https://github.com/torvalds/linux/commit/94d10a4dba0bc482f2b01e39f06d5513d0f75742)

## Usage
1. start the vulnerable NFS server, make sure the network connection to the victim is working
2. change the IPs and interface in `poc.py` as needed, then run the following command
```bash
iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP # drop the RST packets from the victim server
python poc.py
```

# Acknowledgements
I would like to thank [@FFreestanding](https://github.com/FFreestanding) in helping reproducing the bug and developing the PoC.

# Disclaimer
This proof-of-concept (PoC) code is provided for educational and research purposes only.

Use this code responsibly and only on systems you own or have explicit permission to test.

The authors and contributors are not responsible for any misuse or damage caused by this code.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →