{"id":"CVE-2022-49020","aliases":["CVE-2022-49020"],"related":[],"kind":"vulnerability","state":"published","title":"net/9p: Fix a potential socket leak in p9_socket_open","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p: Fix a potential socket leak in p9_socket_open\n\nBoth p9_fd_create_tcp() and p9_fd_create_unix() will call\np9_socket_open(). If the creation of p9_trans_fd fails,\np9_fd_create_tcp() and p9_fd_create_unix() will return an\nerror directly instead of releasing the cscoket, which will\nresult in a socket leak.\n\nThis patch adds sock_release() to fix the leak issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p: Fix a potential socket leak in p9_socket_open\n\nBoth p9_fd_create_tcp() and p9_fd_create_unix() will call\np9_socket_open(). If the creation of p9_trans_fd fails,\np9_fd_create_tcp() and p9_fd_create_unix() will return an\nerror directly instead of releasing the cscoket, which will\nresult in a socket leak.\n\nThis patch adds sock_release() to fix the leak issue.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/9p: Se soluciona una posible fuga de socket en p9_socket_open Tanto p9_fd_create_tcp() como p9_fd_create_unix() llamarán a p9_socket_open(). Si la creación de p9_trans_fd fallo, p9_fd_create_tcp() y p9_fd_create_unix() devolverán un error directamente en lugar de liberar el cscoket, lo que provocará una fuga de socket. Este parche agrega sock_release() para solucionar el problema de la fuga.","source":"nvd"}],"published":"2024-10-21T20:06:27.976Z","modified":"2026-06-17T05:16:51.990Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"0396227f4daf4792a6a8aaa3b7771dc25c4cd443","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"ded893965b895b2dccd3d1436d8d3daffa23ea64","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"8b14bd0b500aec1458b51cb621c8e5fab3304260","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"2d24d91b9f44620824fc37b766f7cae00ca32748","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"e01c1542379fb395e7da53706df598f38905dfbf","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"8782b32ef867de7981bbe9e86ecb90e92e8780bd","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd","status":"affected"},{"type":"git","introduced":"6b18662e239a032f908b7f6e164bdf7e2e0a32c9","fixed":"dcc14cfd7debe11b825cb077e75d91d2575b4cb8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"4.9.335","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.301","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.268","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.226","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.158","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.82","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.12","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.33","fixed":"4.9.335"},{"status":"affected","introduced":"4.10","fixed":"4.14.301"},{"status":"affected","introduced":"4.15","fixed":"4.19.268"},{"status":"affected","introduced":"4.20","fixed":"5.4.226"},{"status":"affected","introduced":"5.5","fixed":"5.10.158"},{"status":"affected","introduced":"5.11","fixed":"5.15.82"},{"status":"affected","introduced":"5.16","fixed":"6.0.12"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0396227f4daf4792a6a8aaa3b7771dc25c4cd443","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ded893965b895b2dccd3d1436d8d3daffa23ea64","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b14bd0b500aec1458b51cb621c8e5fab3304260","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d24d91b9f44620824fc37b766f7cae00ca32748","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e01c1542379fb395e7da53706df598f38905dfbf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8782b32ef867de7981bbe9e86ecb90e92e8780bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa08323fe18cb7cf95317ffa2d54ca1de8e74ebd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcc14cfd7debe11b825cb077e75d91d2575b4cb8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:12:42.990Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49020","url":"https://www.cve.org/CVERecord?id=CVE-2022-49020","licence":"CVE Terms of Use","modified":"2026-05-11T18:51:39.452Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49020","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49020","licence":"Public domain","modified":"2026-06-17T05:16:51.990Z"}],"updatedAt":"2026-11-25T22:58:20.036Z","epss":{"score":0.00236,"percentile":0.15568,"date":"2026-12-02T12:00:21.000Z"}}