🛡️ CVE-2025-40305 on Debian — linux
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.
Distribution advisory
This page covers CVE-2025-40305 as tracked by Debian, for the package linux. The fix is available in version 6.17.8-1; earlier versions remain affected.
Affected software
DEBIAN-CVE-2025-40305 is recorded against 1 package.
- linux (fixed in 6.17.8-1)
Timeline and source
Published on 8 December 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-40305 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| linux | — | 6.17.8-1 |
References
Similar Threats
- Unknown CGA-23jx-hhcx-m389
- Unknown CGA-2qp7-6757-fmgc
- Unknown CGA-2rj5-jc55-r267
- Unknown CGA-3m96-cwq8-6xmx
- Unknown CGA-3qj9-973w-fh9g
More DEBIAN CVE 2025 advisories
Browse all of DEBIAN CVE 2025 in the advisory index.
- DEBIAN-CVE-2025-40297
- DEBIAN-CVE-2025-40298
- DEBIAN-CVE-2025-40299
- DEBIAN-CVE-2025-40300
- DEBIAN-CVE-2025-40301
- DEBIAN-CVE-2025-40302
- DEBIAN-CVE-2025-40303
- DEBIAN-CVE-2025-40304
- DEBIAN-CVE-2025-40306
- DEBIAN-CVE-2025-40307
- DEBIAN-CVE-2025-40308
- DEBIAN-CVE-2025-40309
- DEBIAN-CVE-2025-40310
- DEBIAN-CVE-2025-40311
- DEBIAN-CVE-2025-40312
- DEBIAN-CVE-2025-40313
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2025-40305?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2025-40305 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.