CVE-2022-49020

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

published October 21, 2024

CVSS
—
EPSS
0%
Percentile
13.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00236 · 13.7th percentile
Published
2024-10-21T20:06Z
EPSS history
Timeline
  • 21 OCT 20:06Z
    net/9p: Fix a potential socket leak in p9_socket_open
    cvelistv5