What’s Vulnerable › Vulnerabilities
CVE-2022-50114: net: 9p: fix refcount leak in p9_read_work() error handling
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-07-04
Description
In the Linux kernel, the following vulnerability has been resolved: net: 9p: fix refcount leak in p9_read_work() error handling p9_req_put need to be called when m->rreq->rc.sdata is NULL to avoid temporary refcount leak. [Dominique: commit wording adjustments, p9_req_put argument fixes for rebase]
Affected products
- Linux kernel: from 4.19.57 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2 — fixed in 5.15.61, 5.18.18, 5.19.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.61, 5.18.18, 5.19.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/34b9a188557c1d5a50e07cf228d054101aee0af3
- https://git.kernel.org/stable/c/4ac7573e1f9333073fa8d303acc941c9b7ab7f61
- https://git.kernel.org/stable/c/622f2a467bdfbce73fd43ea74b5f0fd2caaa8c5d
- https://git.kernel.org/stable/c/8324649b0035cbb30ebc3ca901540cb392e89041
- https://git.kernel.org/stable/c/9bc63a124cc20a69a126e45e3d593d5807bb5258
Get alerted when CVE-2022-50114 or the next vulnerability affects your stack