CVE-2022-49020
published 2024-10-21CVE-2022-49020: 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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
14.7th percentile
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.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.12-1 (bookworm) | linux 6.0.12-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < 0396227f4daf4792a6a8aaa3b7771dc25c4cd443 | 0396227f4daf4792a6a8aaa3b7771dc25c4cd443 |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < ded893965b895b2dccd3d1436d8d3daffa23ea64 | ded893965b895b2dccd3d1436d8d3daffa23ea64 |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < 8b14bd0b500aec1458b51cb621c8e5fab3304260 | 8b14bd0b500aec1458b51cb621c8e5fab3304260 |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < 2d24d91b9f44620824fc37b766f7cae00ca32748 | 2d24d91b9f44620824fc37b766f7cae00ca32748 |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < e01c1542379fb395e7da53706df598f38905dfbf | e01c1542379fb395e7da53706df598f38905dfbf |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < 8782b32ef867de7981bbe9e86ecb90e92e8780bd | 8782b32ef867de7981bbe9e86ecb90e92e8780bd |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd | aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd |
| linux | linux | >= 6b18662e239a032f908b7f6e164bdf7e2e0a32c9 < dcc14cfd7debe11b825cb077e75d91d2575b4cb8 | dcc14cfd7debe11b825cb077e75d91d2575b4cb8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 2.6.33 < 4.9.335 | 4.9.335 |
| linux | linux_kernel | >= 4.10 < 4.14.301 | 4.14.301 |
| linux | linux_kernel | >= 4.15 < 4.19.268 | 4.19.268 |
| linux | linux_kernel | >= 4.20 < 5.4.226 | 5.4.226 |
| linux | linux_kernel | >= 5.11 < 5.15.82 | 5.15.82 |
| linux | linux_kernel | >= 5.16 < 6.0.12 | 6.0.12 |
| linux | linux_kernel | >= 5.5 < 5.10.158 | 5.10.158 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-49020: 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
osv·2024-10-21·CVSS 5.5
CVE-2022-49020 [MEDIUM] CVE-2022-49020: 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
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.
GHSA
GHSA-495c-g5j5-wg9w: 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() an
ghsa_unreviewed·2024-10-21
CVE-2022-49020 [MEDIUM] CWE-401 GHSA-495c-g5j5-wg9w: 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() an
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.
Red Hat
kernel: net/9p: Fix a potential socket leak in p9_socket_open
vendor_redhat·2024-10-21·CVSS 5.5
CVE-2022-49020 [MEDIUM] CWE-772 kernel: net/9p: Fix a potential socket leak in p9_socket_open
kernel: 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.
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8)
Debian
CVE-2022-49020: linux - In the Linux kernel, the following vulnerability has been resolved: net/9p: Fix...
vendor_debian·2022·CVSS 5.5
CVE-2022-49020 [MEDIUM] CVE-2022-49020: linux - In the Linux kernel, the following vulnerability has been resolved: net/9p: Fix...
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.
Scope: local
bookworm: resolved (fixed in 6.0.12-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.12-1)
sid: resolved (fixed in 6.0.12-1)
trixie: resolved (fixed in 6.0.12-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bdhttps://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebdhttps://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf
2024-10-21
Published