CVE-2022-49020: net/9p: Fix a potential socket leak in p9_socket_open
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-49020 is a Linux kernel 9p networking bug where failed 9p TCP or Unix socket setup can leave a socket unreleased. The likely business impact is resource leakage, not confirmed data theft or code execution. Public severity and CVSS are not provided in the source bundle.
Executive priority
Handle through normal kernel patch management unless 9p is used in sensitive or high-availability environments. Escalate priority if vendor advisories assign higher severity or if resource leakage is observed in production.
Technical view
The bug is in net/9p p9_socket_open usage by p9_fd_create_tcp() and p9_fd_create_unix(). If p9_trans_fd creation fails, the error path returns without releasing the socket. The kernel fix adds sock_release() on that failure path.
Likely exposure
Exposure is most relevant to Linux systems using the kernel 9p client or transport paths. The bundle lists Linux kernel versions from 2.6.33 through 6.1 as affected, with multiple stable commit references as fixes.
Exploitation context
The source bundle does not show CISA KEV listing, public exploitation, exploit code, or a weaponized scenario. Treat this as a resource-leak vulnerability until vendor or distribution guidance says otherwise.
Researcher notes
Evidence is limited to the CVE record and kernel stable references. No CWE, CVSS, exploit status, or complete fixed-version mapping is provided. Validation should focus on patch presence and whether local workloads exercise Linux 9p paths.
Mitigation direction
Update affected Linux kernels using vendor or distribution security guidance.
Prioritize kernels using 9p networking, virtualization, or shared filesystem features.
Compare deployed kernels against the referenced stable kernel commits.
Disable unneeded 9p usage where operationally safe.
Track vendor advisories for fixed package versions.
Validation and detection
Inventory Linux kernel versions across servers, endpoints, and appliances.
Identify systems using 9p filesystem or transport functionality.
Confirm whether vendor kernel packages include the referenced fix commits.
Review change logs for sock_release() handling in the 9p socket failure path.
Monitor affected systems for unusual socket or file descriptor growth.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-49020 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.