# CVE-2022-50114: net: 9p: fix refcount leak in p9_read_work() error handling

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:02:46.152Z
- Modified: 2026-07-04T12:16:52.727Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 728356dedeff8ef999cb436c71333ef4ac51a81c before 9bc63a124cc20a69a126e45e3d593d5807bb5258; from 728356dedeff8ef999cb436c71333ef4ac51a81c before 8324649b0035cbb30ebc3ca901540cb392e89041; from 728356dedeff8ef999cb436c71333ef4ac51a81c before 622f2a467bdfbce73fd43ea74b5f0fd2caaa8c5d; from 728356dedeff8ef999cb436c71333ef4ac51a81c before 34b9a188557c1d5a50e07cf228d054101aee0af3; from 728356dedeff8ef999cb436c71333ef4ac51a81c before 4ac7573e1f9333073fa8d303acc941c9b7ab7f61; 3665a4d9dca1bd06bc34afb72e637fe01b2776ee; from 4.19.57 before 4.20; 4.20 (not affected: before 4.20; from 5.10.260 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.19.57 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

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

## Sources

- CVE List: [CVE-2022-50114](https://www.cve.org/CVERecord?id=CVE-2022-50114), CVE Terms of Use, modified 2026-07-04
- NVD: [CVE-2022-50114](https://nvd.nist.gov/vuln/detail/CVE-2022-50114), Public domain, modified 2026-07-04

---

Page: https://cve.day/CVE-2022-50114 · Whole record: https://cve.day/CVE-2022-50114.json · Rebuilt by cve.day 2026-11-25T22:58:21.060Z
