CVE-2022-49020
net/9p: Fix a potential socket leak in p9_socket_open
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < ded893965b895b2dccd3d1436d8d3daffa23ea64; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8b14bd0b500aec1458b51cb621c8e5fab3304260; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 2d24d91b9f44620824fc37b766f7cae00ca32748; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < e01c1542379fb395e7da53706df598f38905dfbf; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8782b32ef867de7981bbe9e86ecb90e92e8780bd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < dcc14cfd7debe11b825cb077e75d91d2575b4cb8
- Anyone running Linux 2.6.33
Vulnerability facts
- Affected
- Linux >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < ded893965b895b2dccd3d1436d8d3daffa23ea64; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8b14bd0b500aec1458b51cb621c8e5fab3304260; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 2d24d91b9f44620824fc37b766f7cae00ca32748; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < e01c1542379fb395e7da53706df598f38905dfbf; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8782b32ef867de7981bbe9e86ecb90e92e8780bd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < dcc14cfd7debe11b825cb077e75d91d2575b4cb8; Linux 2.6.33
- Fixed in
- Linux 0396227f4daf4792a6a8aaa3b7771dc25c4cd443, Linux 8b14bd0b500aec1458b51cb621c8e5fab3304260, Linux 2d24d91b9f44620824fc37b766f7cae00ca32748, Linux 8782b32ef867de7981bbe9e86ecb90e92e8780bd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < ded893965b895b2dccd3d1436d8d3daffa23ea64; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8b14bd0b500aec1458b51cb621c8e5fab3304260; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 2d24d91b9f44620824fc37b766f7cae00ca32748; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < e01c1542379fb395e7da53706df598f38905dfbf; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8782b32ef867de7981bbe9e86ecb90e92e8780bd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < dcc14cfd7debe11b825cb077e75d91d2575b4cb8 | — | cvelist |
| Linux | 2.6.33 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49020. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49020.md Affected: Linux >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < ded893965b895b2dccd3d1436d8d3daffa23ea64; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8b14bd0b500aec1458b51cb621c8e5fab3304260; >= 6b18662e239a032f908b7f6… Fixed in: Linux 0396227f4daf4792a6a8aaa3b7771dc25c4cd443, Linux 8b14bd0b500aec1458b51cb621c8e5fab3304260, Linux 2d24d91b9f44620824fc37b766f7cae00ca32748, Linux 8782b32ef867de7981bbe9e86ecb90e92e8780bd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443
- https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64
- https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260
- https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748
- https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf
- https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd
- https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd
- https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8
FAQ
Is CVE-2022-49020 being exploited?
There is no confirmed exploitation: CVE-2022-49020 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49020?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49020?
Linux >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < ded893965b895b2dccd3d1436d8d3daffa23ea64; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8b14bd0b500aec1458b51cb621c8e5fab3304260; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 2d24d91b9f44620824fc37b766f7cae00ca32748; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < e01c1542379fb395e7da53706df598f38905dfbf; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < 8782b32ef867de7981bbe9e86ecb90e92e8780bd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd; >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9, < dcc14cfd7debe11b825cb077e75d91d2575b4cb8; Linux 2.6.33.
Is there a fix for CVE-2022-49020?
Yes. Fixed in Linux 0396227f4daf4792a6a8aaa3b7771dc25c4cd443, Linux 8b14bd0b500aec1458b51cb621c8e5fab3304260, Linux 2d24d91b9f44620824fc37b766f7cae00ca32748, Linux 8782b32ef867de7981bbe9e86ecb90e92e8780bd. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49020?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.