DEBIAN-CVE-2025-40305

Source
https://security-tracker.debian.org/tracker/CVE-2025-40305
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-40305.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2025-40305
Upstream
Published
2025-12-08T01:16:02.700Z
Modified
2026-01-02T18:18:25.947873Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: 9p/transfd: p9fdrequest: kick rx thread if EPOLLIN p9readwork() doesn't set Rworksched and doesn't do schedulework(m->rq) if listempty(&m->reqlist). However, if the pipe is full, we need to read more data and this used to work prior to commit aaec5a95d59615 ("piperead: don't wake up the writer if the pipe is still full"). p9readwork() does p9fdread() -> ... -> anonpiperead() which (before the commit above) triggered the unnecessary wakeup. This wakeup calls p9pollwake() which kicks p9pollworkfn() -> p9pollmux(), p9pollmux() will notice EPOLLIN and schedulework(&m->rq). This no longer happens after the optimization above, change p9fdrequest() to use p9poll_mux() instead of only checking for EPOLLOUT.

References

Affected packages

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.17.8-1

Affected versions

6.*
6.12.38-1
6.12.41-1
6.12.43-1~bpo12+1
6.12.43-1
6.12.48-1
6.12.57-1~bpo12+1
6.12.57-1
6.12.63-1
6.13~rc6-1~exp1
6.13~rc7-1~exp1
6.13.2-1~exp1
6.13.3-1~exp1
6.13.4-1~exp1
6.13.5-1~exp1
6.13.6-1~exp1
6.13.7-1~exp1
6.13.8-1~exp1
6.13.9-1~exp1
6.13.10-1~exp1
6.13.11-1~exp1
6.14.3-1~exp1
6.14.5-1~exp1
6.14.6-1~exp1
6.15~rc7-1~exp1
6.15-1~exp1
6.15.1-1~exp1
6.15.2-1~exp1
6.15.3-1~exp1
6.15.4-1~exp1
6.15.5-1~exp1
6.15.6-1~exp1
6.16~rc7-1~exp1
6.16-1~exp1
6.16.1-1~exp1
6.16.3-1~bpo13+1
6.16.3-1
6.16.5-1
6.16.6-1
6.16.7-1
6.16.8-1
6.16.9-1
6.16.10-1
6.16.11-1
6.16.12-1~bpo13+1
6.16.12-1
6.16.12-2
6.17.2-1~exp1
6.17.5-1~exp1
6.17.6-1
6.17.7-1
6.17.7-2
6.17.8-1~bpo13+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-40305.json"