KernelScan.io

HIGH Introduced in 5.8

smc LinkGroup UAF

CVE-2026-98559

CVSS 7.1 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix UAF on lgr list traversal in smcr_port_err() smcr_port_err() traverses smc_lgr_list.list without holding smc_lgr_list.lock, allowing a concurrent smc_lgr_terminate_sched() to free an lgr while it is still being dereferenced. Hold smc_lgr_list.lock across the traversal. Update smc_ib_gid_check() to call smcr_port_err() after releasing the lock.

02

Engine v0.9.0

Risk summary

A local attacker with access to an RDMA/InfiniBand device can trigger a use-after-free in the SMC kernel subsystem by racing an IB port error event against link group termination. Successful exploitation allows kernel memory corruption, leading to privilege escalation, information disclosure, or denial of service. Systems running SMC over RDMA in multi-tenant or container environments are at highest risk.

Affectednet/smc/smc_core.c, net/smc/smc_ib.c (smc subsystem)

Vulnerability analysis

The smcr_port_err() function walks the global link group list (smc_lgr_list) without holding the protecting spinlock, while a concurrent smc_lgr_terminate_sched() can remove and free a link group from that same list. This race window lets the traversal dereference a freed object, creating a use-after-free primitive. The fix adds spinlock protection around the entire traversal in smcr_port_err() and adjusts the caller smc_ib_gid_check() to release its lock before invoking smcr_port_err(), avoiding a lock-order inversion. The bug is reachable only on systems with SMC enabled and an active RDMA/InfiniBand device; triggering it requires the ability to generate an IB port error event (e.g., link flap, device removal, or userspace RDMA verbs) while simultaneously causing link group teardown, which typically demands local access with permission to use the RDMA device.

03

BranchIntroducedFixed inPatch commit
5.155.85.15.22234bcf11cd252
6.15.86.1.1890edcc4284392
6.125.86.12.1123d35f069e1c1
6.185.86.18.553d65a2eb4449
6.65.86.6.15800a59600ae72
7.25.87.2.9a9b968e42690
mainline5.87.361cb282fe97b
cip/6.15.86.1.189-cip610edcc4284392
cip/6.1-rt5.86.1.189-cip61-rt320edcc4284392
cip/6.125.86.12.112-cip333d35f069e1c1

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)