Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40305

UNSCOREDEPSS 11%

9p/trans_fd: p9_fd_request: kick rx thread if EPOLLIN

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= aaec5a95d59615523db03dd53c2052f0a87beea7, < 242531004d7de8c159f9bfadebe33fe8060b1046; >= aaec5a95d59615523db03dd53c2052f0a87beea7, < e8fe3f07a357c39d429e02ca34f740692d88967a
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= aaec5a95d59615523db03dd53c2052f0a87beea7, < 242531004d7de8c159f9bfadebe33fe8060b1046; >= aaec5a95d59615523db03dd53c2052f0a87beea7, < e8fe3f07a357c39d429e02ca34f740692d88967a; Linux 6.14
Fixed in
Linux 242531004d7de8c159f9bfadebe33fe8060b1046
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= aaec5a95d59615523db03dd53c2052f0a87beea7, < 242531004d7de8c159f9bfadebe33fe8060b1046; >= aaec5a95d59615523db03dd53c2052f0a87beea7, < e8fe3f07a357c39d429e02ca34f740692d88967a—cvelist
Linux6.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40305. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40305.md
Affected: Linux >= aaec5a95d59615523db03dd53c2052f0a87beea7, < 242531004d7de8c159f9bfadebe33fe8060b1046; >= aaec5a95d59615523db03dd53c2052f0a87beea7, < e8fe3f07a357c39d429e02ca34f740692d88967a; Linux 6.14
Fixed in: Linux 242531004d7de8c159f9bfadebe33fe8060b1046

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40305 being exploited?

There is no confirmed exploitation: CVE-2025-40305 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40305?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40305?

Linux >= aaec5a95d59615523db03dd53c2052f0a87beea7, < 242531004d7de8c159f9bfadebe33fe8060b1046; >= aaec5a95d59615523db03dd53c2052f0a87beea7, < e8fe3f07a357c39d429e02ca34f740692d88967a; Linux 6.14.

Is there a fix for CVE-2025-40305?

Yes. Fixed in Linux 242531004d7de8c159f9bfadebe33fe8060b1046. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40305?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors