CVE-2022-49020

MEDIUM

Linux kernel - Socket Leak

Title source: llm

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

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (15)

linux/linux_kernel < 4.9.335
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 4.9.335linux
linux/Kernel < 4.14.301linux
linux/Kernel < 4.19.268linux
linux/Kernel < 5.4.226linux
linux/Kernel < 5.10.158linux
linux/Kernel < 5.15.82linux
linux/Kernel < 6.0.12linux

Timeline

Published Oct 21, 2024
Tracked Since Feb 18, 2026