{"id":"CVE-2026-53274","summary":"net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS\n\nA logic flaw in __smc_setsockopt() allows a local unprivileged user to\ncause a Denial of Service (DoS) by holding the socket lock indefinitely.\n\nThe function __smc_setsockopt() calls copy_from_sockptr() while holding\nlock_sock(sk). By passing a userfaultfd-monitored memory page (or\nFUSE-backed memory on systems where unprivileged userfaultfd is disabled)\nas the optval, an attacker can halt execution during the copy operation,\nkeeping the lock held.\n\nCombined with asynchronous tear-down operations like shutdown(), this\nexhausts the kernel wq (kworkers) and triggers the hung task watchdog.\n\n[  240.123456] INFO: task kworker/u8:2 blocked for more than 120 seconds.\n[  240.123489] Call Trace:\n[  240.123501]  smc_shutdown+...\n[  240.123512]  lock_sock_nested+...\n\nThis patch moves the user-space copy outside the lock_sock() critical\nsection to prevent the issue.","modified":"2026-06-27T12:02:21.207478076Z","published":"2026-06-25T08:39:58.478Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53274.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53274.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53274"},{"type":"PACKAGE","url":"https://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":"a6a6fe27bab48f0d09a64b051e7bde432fcae081"},{"fixed":"35a22117839602bb52283de08894c5a7dde92420"},{"fixed":"5d27d2ffe487df89ce28fda0410eafa05dbe03a0"},{"fixed":"89f6fbe0033c942cb790ffd53ca93a45eeaf1c91"},{"fixed":"dcd90f42a33e4220385f27b515183d0c91b2fc4a"},{"fixed":"94d286fa5eedc550d42bcb9c85416af8f77736ff"},{"fixed":"a3fdd924d88c30b9f488636ce0e4696012cf5511"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53274.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"6.1.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.143"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.94"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.36"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53274.json"}}],"schema_version":"1.7.5"}