CVE-2022-49020
Linux 9p: Socket Leak Vulnerability
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.
INFO
Published Date :
Oct. 21, 2024, 8:15 p.m.
Last Modified :
Oct. 24, 2024, 6:43 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-49020
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-49020
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-49020
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443 No Types Assigned https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443 Patch Changed Reference Type https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748 No Types Assigned https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748 Patch Changed Reference Type https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd No Types Assigned https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd Patch Changed Reference Type https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260 No Types Assigned https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260 Patch Changed Reference Type https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd No Types Assigned https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd Patch Changed Reference Type https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8 No Types Assigned https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8 Patch Changed Reference Type https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64 No Types Assigned https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64 Patch Changed Reference Type https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf No Types Assigned https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf Patch Added CWE NIST CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.33 up to (excluding) 4.9.335 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.301 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.268 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.226 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.158 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.82 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.0.12 *cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-49020
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-49020
weaknesses.