CVE-2025-40305 Details
Description
In the Linux kernel, the following vulnerability has been resolved: 9p/trans_fd: p9_fd_request: kick rx thread if EPOLLIN p9_read_work() doesn't set Rworksched and doesn't do schedule_work(m->rq) if list_empty(&m->req_list). However, if the pipe is full, we need to read more data and this used to work prior to commit aaec5a95d59615 ("pipe_read: don't wake up the writer if the pipe is still full"). p9_read_work() does p9_fd_read() -> ... -> anon_pipe_read() which (before the commit above) triggered the unnecessary wakeup. This wakeup calls p9_pollwake() which kicks p9_poll_workfn() -> p9_poll_mux(), p9_poll_mux() will notice EPOLLIN and schedule_work(&m->rq). This no longer happens after the optimization above, change p9_fd_request() to use p9_poll_mux() instead of only checking for EPOLLOUT.
A vulnerability in the Linux kernel's 9p file system implementation can disrupt proper thread scheduling for read operations. This issue arises in the 'p9_fd_request' function, where the 'p9_read_work' routine fails to appropriately signal the reception thread when data is available to be read. The problem is linked to a prior optimization in the pipe reading mechanism, which prevents unnecessary wake-up calls to the writing process when the pipe is full. As a result, the read polling mechanism no longer functions correctly, leading to potential delays in data processing.
Users can update to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/242531004d7de8c159f9bfadebe33fe8060b1046 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e8fe3f07a357c39d429e02ca34f740692d88967a | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 2, 2026 | CVE Modified | kernel.org |
| Dec 8, 2025 | New CVE Received | kernel.org |
Volerion