5.5medium
net: 9p: fix refcount leak in p9_read_work() error handling
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- 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]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: 9p: se corrige la fuga de recuento de referencias en el manejo de errores de p9_read_work(). Es necesario llamar a p9_req_put cuando m->rreq->rc.sdata es NULL para evitar una fuga temporal de recuento de referencias. [Dominique: ajustes en la redacción de las confirmaciones, correcciones del argumento p9_req_put para la rebase]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50114 changed 2026-07-04 | CVE Terms of Use |
| NVD | CVE-2022-50114 changed 2026-07-04 | Public domain |