CVE-2026-53274

Source
https://cve.org/CVERecord?id=CVE-2026-53274
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53274.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-53274
Downstream
Published
2026-06-25T08:39:58.478Z
Modified
2026-06-27T12:02:21.207478076Z
Summary
net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS
Details

In the Linux kernel, the following vulnerability has been resolved:

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

A logic flaw in _smcsetsockopt() allows a local unprivileged user to cause a Denial of Service (DoS) by holding the socket lock indefinitely.

The function __smcsetsockopt() calls copyfromsockptr() while holding locksock(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] smcshutdown+... [ 240.123512] locksock_nested+...

This patch moves the user-space copy outside the lock_sock() critical section to prevent the issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53274.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"