Back
CVE-2022-49020
net/9p: Fix a potential socket leak in p9_socket_open
Medium5.5EPSS 0.24%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net/9p: Fix a potential socket leak in p9_socket_open Both p9_fd_create_tcp() and p9_fd_create_unix() will call p9_socket_open(). If the creation of p9_trans_fd fails, p9_fd_create_tcp() and p9_fd_create_unix() will return an error directly instead of releasing the cscoket, which will result in a socket leak. This patch adds sock_release() to fix the leak issue.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < ded893965b895b2dccd3d1436d8d3daffa23ea64
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < 8b14bd0b500aec1458b51cb621c8e5fab3304260
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < 2d24d91b9f44620824fc37b766f7cae00ca32748
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < e01c1542379fb395e7da53706df598f38905dfbf
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < 8782b32ef867de7981bbe9e86ecb90e92e8780bd
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd
- affected 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 – < dcc14cfd7debe11b825cb077e75d91d2575b4cb8
- affected 2.6.33
- unaffected < 2.6.33
- unaffected 4.9.335 – ≤ 4.9.*
- unaffected 4.14.301 – ≤ 4.14.*
- unaffected 4.19.268 – ≤ 4.19.*
- unaffected 5.4.226 – ≤ 5.4.*
- unaffected 5.10.158 – ≤ 5.10.*
- unaffected 5.15.82 – ≤ 5.15.*
- unaffected 6.0.12 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (8)
- https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443 (opens in a new tab)
- https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64 (opens in a new tab)
- https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260 (opens in a new tab)
- https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748 (opens in a new tab)
- https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf (opens in a new tab)
- https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd (opens in a new tab)
- https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd (opens in a new tab)
- https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49020)Record last updated .