KernelScan.io

HIGH

net/smc LinkGroup Deref

CVE-2026-46027

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

KernelScan AI5.5MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: net/smc: avoid early lgr access in smc_clc_wait_msg A CLC decline can be received while the handshake is still in an early stage, before the connection has been associated with a link group. The decline handling in smc_clc_wait_msg() updates link-group level sync state for first-contact declines, but that state only exists after link group setup has completed. Guard the link-group update accordingly and keep the per-socket peer diagnosis handling unchanged. This preserves the existing sync_err handling for established link-group contexts and avoids touching link-group state before it is available.

02

Engine v0.2.0

Risk summary

Local users with low privileges can trigger a kernel NULL pointer dereference in the SMC (Shared Memory Communications) protocol during connection handshake decline handling. This leads to a kernel panic and system unavailability, affecting systems that use SMC networking.

Affectednet/smc/smc_clc.c (SMC protocol)

Vulnerability analysis

The vulnerability occurs in smc_clc_wait_msg() when handling CLC decline messages during SMC connection handshake. The original code unconditionally accesses smc->conn.lgr (link group) to update sync_err state for first-contact declines, but this pointer can be NULL if the decline is received before link group setup completes. The fix adds a NULL check (smc->conn.lgr) before accessing the link group structure, preventing the NULL pointer dereference while preserving existing sync error handling for established connections.

03

BranchFixed inPatch commit
5.105.10.258257cdf0c5ced
5.155.15.20922546729b96f
6.16.1.1755eedbfd82c28
6.126.12.866180a296ca65
6.186.18.27ea0b5d0fe963
6.66.6.140f0858e1d5624
7.07.0.483bcf9228b05
mainline7.1-rc15a8db80f721d