CVE-2026-143159: net/smc: fix link group ownership in handshake abort

Published Dec 3, 2026
·
Updated

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

net/smc: fix link group ownership in handshake abort

An aborted first-contact handshake can hang the handshake worker on the socket lock it already holds, reset the clcsock of a socket that has fallen back to TCP, or corrupt the alert-node lookup when the handshake retries with the same connection.

The abort leaves a connection registered in a link group that another context has already unlinked for termination: smcconnfree() skips the unregister when lgr->list is empty, so the alert token and alert node stay in lgr->connsall. If the handshake retries another device or SMC version, smcconncreate() creates a second link group and smclgrregisterconn() inserts the same alert node into it: the token loop is skipped, rblinknode() links a node that is still in the old tree into the new one, and a second sockhold() is taken where only one sockput() will follow. The old group's terminator then keeps returning that node from rbfirst() and can kill a connection that now belongs to the new group.

smclgrcleanupearly() also starts a second termination of the link group that is already being terminated, which takes locksock() on the socket the handshake worker holds; if the termination work wins the race instead, it later kills the freed connection and aborts the clcsock of a socket that has fallen back to TCP. Making the unregister unconditional also lets smcconnfree() reach the delayed free work on a claimed link group, where the lockless freeing check can arm it after the owner has cancelled it.

Always unregister the connection, claim a link group for termination once under lgrlock, keep the link group alive across the abort, and arm the delayed free work only under the same lock and cancel it synchronously before the teardown. Drop an already freed connection in smcconnkill() without running the connection and socket teardown.

Affected Software

3 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.5.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description
Data Sourced
via OSV·09:19 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

What conditions are needed to trigger this issue?

The issue requires an aborted first-contact SMC handshake, followed by a retry using another device or SMC version. The problematic state arises when the original connection remains registered in a link group while that group is being terminated.

2

What could happen if a system is affected?

The handshake worker can hang while holding the socket lock, a socket that fell back to TCP can have its clcsock reset, and alert-node lookup state can be corrupted. A terminating old link group may repeatedly process the stale node and terminate a connection that has moved to a new link group.

3

What change addresses the vulnerability?

Apply a Linux kernel update containing the resolved net/smc link-group ownership fix. The provided references identify stable kernel commits for the fix, but the affected and fixed kernel version ranges are not provided.

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