CVE-2026-53274 Details
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.
A logic flaw in the Linux kernel's socket management communication (SMC) handling has been identified, allowing a local unprivileged user to cause a denial-of-service (DoS) condition. This vulnerability arises in the '__smc_setsockopt()' function, which manages socket options. While executing, the function holds a lock on the socket, preventing other operations from proceeding. An attacker can exploit this by sending a memory page monitored by 'userfaultfd' (or a FUSE-backed memory page on systems where unprivileged 'userfaultfd' is disabled) as the option value. This manipulation halts the execution of the copy operation, keeping the socket lock engaged indefinitely. When combined with asynchronous operations like 'shutdown()', this exploitation depletes the kernel's worker queue and activates the hung task watchdog, which monitors and reports tasks that have been blocked for an extended period.
The vulnerability has been addressed by modifying the '__smc_setsockopt()' function to move the user-space data copy operation outside of the socket lock critical section, thereby preventing the lock from being held indefinitely.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 | kernel.org | Patch |
| https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.18, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.94 >= 6.13, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 25, 2026 | New CVE Received | kernel.org |