{"id":"CVE-2026-53274","state":"PUBLISHED","title":"net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS","description":"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.","publishedAt":"2026-06-25T08:39:58.478Z","updatedAt":"2026-06-25T08:39:58.478Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"35a22117839602bb52283de08894c5a7dde92420","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"5d27d2ffe487df89ce28fda0410eafa05dbe03a0","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"89f6fbe0033c942cb790ffd53ca93a45eeaf1c91","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"dcd90f42a33e4220385f27b515183d0c91b2fc4a","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"94d286fa5eedc550d42bcb9c85416af8f77736ff","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"a3fdd924d88c30b9f488636ce0e4696012cf5511","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c"]}],"references":["https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420","https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0","https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91","https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a","https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff","https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53274.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53274","state":"PUBLISHED","datePublished":"2026-06-25T08:39:58.478Z","dateUpdated":"2026-06-25T08:39:58.478Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.395Z"},"containers":{"cna":{"title":"net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"35a22117839602bb52283de08894c5a7dde92420","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"5d27d2ffe487df89ce28fda0410eafa05dbe03a0","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"89f6fbe0033c942cb790ffd53ca93a45eeaf1c91","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"dcd90f42a33e4220385f27b515183d0c91b2fc4a","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"94d286fa5eedc550d42bcb9c85416af8f77736ff","versionType":"git"},{"version":"a6a6fe27bab48f0d09a64b051e7bde432fcae081","status":"affected","lessThan":"a3fdd924d88c30b9f488636ce0e4696012cf5511","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420"},{"url":"https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0"},{"url":"https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91"},{"url":"https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a"},{"url":"https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff"},{"url":"https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-25T08:39:58.478Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}