net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS

Summary

CVECVE-2026-53274
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:45 UTC
Updated2026-06-25 09:16:45 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS A logic flaw in __smc_setsockopt() allows a local unprivileged user to cause a Denial of Service (DoS) by holding the socket lock indefinitely. The function __smc_setsockopt() calls copy_from_sockptr() while holding lock_sock(sk). By passing a userfaultfd-monitored memory page (or FUSE-backed memory on systems where unprivileged userfaultfd is disabled) as the optval, an attacker can halt execution during the copy operation, keeping the lock held. Combined with asynchronous tear-down operations like shutdown(), this exhausts the kernel wq (kworkers) and triggers the hung task watchdog. [ 240.123456] INFO: task kworker/u8:2 blocked for more than 120 seconds. [ 240.123489] Call Trace: [ 240.123501] smc_shutdown+... [ 240.123512] lock_sock_nested+... This patch moves the user-space copy outside the lock_sock() critical section to prevent the issue.

Risk And Classification

EPSS: 0.001810000 probability, percentile 0.078200000 (date 2026-06-25)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 35a22117839602bb52283de08894c5a7dde92420 git Not specified
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 5d27d2ffe487df89ce28fda0410eafa05dbe03a0 git Not specified
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 git Not specified
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 dcd90f42a33e4220385f27b515183d0c91b2fc4a git Not specified
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 94d286fa5eedc550d42bcb9c85416af8f77736ff git Not specified
CNA Linux Linux affected a6a6fe27bab48f0d09a64b051e7bde432fcae081 a3fdd924d88c30b9f488636ce0e4696012cf5511 git Not specified
CNA Linux Linux affected 5.18 Not specified
CNA Linux Linux unaffected 5.18 semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report