VYPR
Unrated severityNVD Advisory· Published Oct 21, 2024· Updated May 4, 2025

net/9p: Fix a potential socket leak in p9_socket_open

CVE-2022-49020

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

43

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.