CVE-2026-53274
net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS
Description
In 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.
INFO
Published Date :
June 25, 2026, 9:16 a.m.
Last Modified :
July 8, 2026, 4 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to include the security patch.
- Apply the provided patch to the affected kernel version.
- Ensure user-space copies are outside the lock_sock() critical section.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53274.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53274 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53274
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53274 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53274 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (excluding) 6.1.176 Added Reference Type kernel.org: https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': '35a22117839602bb52283de08894c5a7dde92420', 'versionType': 'git'}, {'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': '5d27d2ffe487df89ce28fda0410eafa05dbe03a0', 'versionType': 'git'}, {'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': '89f6fbe0033c942cb790ffd53ca93a45eeaf1c91', 'versionType': 'git'}, {'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': 'dcd90f42a33e4220385f27b515183d0c91b2fc4a', 'versionType': 'git'}, {'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': '94d286fa5eedc550d42bcb9c85416af8f77736ff', 'versionType': 'git'}, {'status': 'affected', 'version': 'a6a6fe27bab48f0d09a64b051e7bde432fcae081', 'lessThan': 'a3fdd924d88c30b9f488636ce0e4696012cf5511', 'versionType': 'git'}], 'programFiles': ['net/smc/af_smc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/smc/af_smc.c'], 'defaultStatus': 'affected'}] Added Description In 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. Added Reference https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420 Added Reference https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0 Added Reference https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 Added Reference https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff Added Reference https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511 Added Reference https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a