{"id":"CVE-2022-49732","published":"2025-02-26T14:57:24Z","modified":"2026-05-11T19:05:45Z","title":"sock: redo the psock vs ULP protection check","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsock: redo the psock vs ULP protection check\n\nCommit 8a59f9d1e3d4 (\"sock: Introduce sk->sk_prot->psock_update_sk_prot()\")\nhas moved the inet_csk_has_ulp(sk) check from sk_psock_init() to\nthe new tcp_bpf_update_proto() function. I'm guessing that this\nwas done to allow creating psocks for non-inet sockets.\n\nUnfortunately the destruction path for psock includes the ULP\nunwind, so we need to fail the sk_psock_init() itself.\nOtherwise if ULP is already present we'll notice that later,\nand call tcp_update_ulp() with the sk_proto of the ULP\nitself, which will most likely result in the ULP looping\nits callbacks.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.002,"percentile":0.09805,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/72fa0f65b56605b8a9ae9fba2082f2123f7fe017","tags":[]},{"url":"https://git.kernel.org/stable/c/922309e50befb0cfa5cb65e4989b7706d6578846","tags":[]},{"url":"https://git.kernel.org/stable/c/e34a07c0ae3906f97eb18df50902e2a01c1015b6","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":1.96}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8a59f9d1e3d4340659fdfee8879dc09a6f2546e1, < 72fa0f65b56605b8a9ae9fba2082f2123f7fe017",">= 8a59f9d1e3d4340659fdfee8879dc09a6f2546e1, < 922309e50befb0cfa5cb65e4989b7706d6578846",">= 8a59f9d1e3d4340659fdfee8879dc09a6f2546e1, < e34a07c0ae3906f97eb18df50902e2a01c1015b6"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"euvd":{"id":"EUVD-2022-54472","exploited":false,"provenance":"source"}}