CVE-2022-49020

Source
https://cve.org/CVERecord?id=CVE-2022-49020
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49020.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49020
Downstream
Related
Published
2024-10-21T20:06:27.976Z
Modified
2026-03-20T12:22:06.396033Z
Summary
net/9p: Fix a potential socket leak in p9_socket_open
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Both p9fdcreatetcp() and p9fdcreateunix() will call p9socketopen(). If the creation of p9transfd fails, p9fdcreatetcp() and p9fdcreateunix() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49020.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6b18662e239a032f908b7f6e164bdf7e2e0a32c9
Fixed
0396227f4daf4792a6a8aaa3b7771dc25c4cd443
Fixed
ded893965b895b2dccd3d1436d8d3daffa23ea64
Fixed
8b14bd0b500aec1458b51cb621c8e5fab3304260
Fixed
2d24d91b9f44620824fc37b766f7cae00ca32748
Fixed
e01c1542379fb395e7da53706df598f38905dfbf
Fixed
8782b32ef867de7981bbe9e86ecb90e92e8780bd
Fixed
aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd
Fixed
dcc14cfd7debe11b825cb077e75d91d2575b4cb8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49020.json"