{"id":"CVE-2022-48751","published":"2024-06-20T11:13:32Z","modified":"2026-08-05T08:52:07Z","title":"net/smc: Transitional solution for clcsock race issue","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: Transitional solution for clcsock race issue\n\nWe encountered a crash in smc_setsockopt() and it is caused by\naccessing smc->clcsock after clcsock was released.\n\n BUG: kernel NULL pointer dereference, address: 0000000000000020\n #PF: supervisor read access in kernel mode\n #PF: error_code(0x0000) - not-present page\n PGD 0 P4D 0\n Oops: 0000 [#1] PREEMPT SMP PTI\n CPU: 1 PID: 50309 Comm: nginx Kdump: loaded Tainted: G E     5.16.0-rc4+ #53\n RIP: 0010:smc_setsockopt+0x59/0x280 [smc]\n Call Trace:\n  <TASK>\n  __sys_setsockopt+0xfc/0x190\n  __x64_sys_setsockopt+0x20/0x30\n  do_syscall_64+0x34/0x90\n  entry_SYSCALL_64_after_hwframe+0x44/0xae\n RIP: 0033:0x7f16ba83918e\n  </TASK>\n\nThis patch tries to fix it by holding clcsock_release_lock and\nchecking whether clcsock has already been released before access.\n\nIn case that a crash of the same reason happens in smc_getsockopt()\nor smc_switch_to_fallback(), this patch also checkes smc->clcsock\nin them too. And the caller of smc_switch_to_fallback() will identify\nwhether fallback succeeds according to the return value.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00221,"percentile":0.12889,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/38f0bdd548fd2ef5d481b88d8a2bfef968452e34","tags":[]},{"url":"https://git.kernel.org/stable/c/4284225cd8001e134f5cf533a7cd244bbb654d0f","tags":[]},{"url":"https://git.kernel.org/stable/c/c0bf3d8a943b6f2e912b7c1de03e2ef28e76f760","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < 38f0bdd548fd2ef5d481b88d8a2bfef968452e34",">= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < 4284225cd8001e134f5cf533a7cd244bbb654d0f",">= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < c0bf3d8a943b6f2e912b7c1de03e2ef28e76f760","d1d004585b40c212b338fc8a40cbaaf230ea4703",">= 4.19.299, < 4.20"]},{"vendor":"Linux","product":"Linux","versions":["5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:10:28.867754Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53630","exploited":false,"provenance":"source"}}