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

Published Jun 25, 2026
·
Updated

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] locksocknested+...

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

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=5.18<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Configuration

    Apply the patch for “net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS” so that the user-space copy (copy_from_sockptr()) is performed outside the lock_sock() critical section; specifically ensure __smc_setsockopt() no longer calls copy_from_sockptr() while holding lock_sock(sk).

    Linux kernel (net/smc) sleep-inside-lock in __smc_setsockopt() = fixed by moving user-space copy outside lock_sock() critical section

Event History

Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
Description
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-53274?

CVE-2026-53274 has a risk rating of 28, indicating a notable potential for impact.

2

How do I fix CVE-2026-53274?

To fix CVE-2026-53274, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What type of vulnerability is CVE-2026-53274?

CVE-2026-53274 is a local Denial of Service (DoS) vulnerability in the Linux kernel's socket option handling.

4

Who is affected by CVE-2026-53274?

CVE-2026-53274 affects systems running unpatched versions of the Linux kernel that utilize the socket management subsystem.

5

What is the impact of CVE-2026-53274?

The impact of CVE-2026-53274 is a Denial of Service, allowing local unprivileged users to potentially disrupt system operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203