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

net/smc: protect clcsock lifetime in smc_getname

smc_getname() dereferences smc->clcsock without holding
clcsock_release_lock. Link-group termination can release the CLC socket
through smc_close_active_abort() while the SMC socket is still open,
for example after shutdown(SHUT_WR).

A getsockname() caller can load smc->clcsock, then the termination worker
can clear the pointer and call sock_release() before the caller accesses
clcsock->ops or invokes getname(). This causes a use-after-free; if the
worker clears the pointer before the load, it causes a NULL dereference.
The syscall's file reference keeps the SMC socket alive but does not
prevent asynchronous release of its CLC socket.

KASAN reported the following with test-only timing instrumentation:

BUG: KASAN: slab-use-after-free in smc_getname+0x19e/0x1b0
Read of size 8 at addr ffff888109abb4e0 by task poc/103
Call Trace:
smc_getname+0x19e/0x1b0
do_getsockname+0xe5/0x170
__sys_getsockname+0x8c/0x100

Allocated by task 95:
sock_alloc_inode+0x1e/0x280
sock_alloc+0x3d/0x240
__sock_create+0x7e/0x430
smc_create+0x121/0x240

Freed by task 0:
kmem_cache_free+0xcc/0x340
rcu_core+0x50a/0x1850

Last potentially related work creation:
evict+0x446/0x6c0
smc_clcsock_release+0xa8/0xd0
smc_close_active_abort+0x26a/0x3a0
__smc_lgr_terminate.part.0+0x137/0x2e0

Hold clcsock_release_lock across the pointer check and the getname()
callback to serialize with smc_clcsock_release(). Return -EBADF if the
CLC socket has already been released, preserving the existing peer
state check and the callback's return value otherwise.
Published: 2026-10-23
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free in the kernel can lead to a crash or arbitrary code execution
Action: Immediate patch
AI Analysis

Impact

The flaw resides in the Linux kernel’s SMC subsystem. A getsockname() request on an SMC socket dereferences the associated CLC socket without holding the required lock. During link‑group teardown the CLC socket may be freed, producing a use‑after‑free or NULL dereference. This kernel violation can trigger a crash or be abused by an attacker to execute code with kernel privileges, representing a use‑after‑free flaw (CWE‑825).

Affected Systems

All Linux kernels that expose the SMC interface are impacted, regardless of distribution, because the defect is in the core kernel source. The patch appears in the stable repository for the Linux kernel, as shown by the referenced Git commits, but no specific version range is listed; any kernel before the fix is vulnerable.

Risk and Exploitability

This vulnerability is scored 7.8 on the CVSS base metric, classifying it as high severity. The EPSS score is below 1%, indicating a low current exploitation probability, and it is not listed in CISA's KEV catalog. The exploitation path requires that an attacker can perform a getsockname() on a SMC socket that is concurrently being closed, which is possible from user space on systems that support the interface. While the low EPSS suggests limited likelihood, the high severity rating and the kernel memory corruption nature warrant cautious assessment.

Generated by OpenCVE AI on October 29, 2026 at 19:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the smc_getname fix as referenced in the vendor’s patch logs.
  • If an update is unavailable, temporarily disable the SMC interface or ensure no user‑space process performs getsockname() while the socket is active.
  • Reboot the system after applying the fix or disabling the interface to clear any stale socket references.

Generated by OpenCVE AI on October 29, 2026 at 19:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 13:00:00 +0000


Thu, 29 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-476

Thu, 29 Oct 2026 12:15:00 +0000


Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 24 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-476

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/smc: protect clcsock lifetime in smc_getname smc_getname() dereferences smc->clcsock without holding clcsock_release_lock. Link-group termination can release the CLC socket through smc_close_active_abort() while the SMC socket is still open, for example after shutdown(SHUT_WR). A getsockname() caller can load smc->clcsock, then the termination worker can clear the pointer and call sock_release() before the caller accesses clcsock->ops or invokes getname(). This causes a use-after-free; if the worker clears the pointer before the load, it causes a NULL dereference. The syscall's file reference keeps the SMC socket alive but does not prevent asynchronous release of its CLC socket. KASAN reported the following with test-only timing instrumentation: BUG: KASAN: slab-use-after-free in smc_getname+0x19e/0x1b0 Read of size 8 at addr ffff888109abb4e0 by task poc/103 Call Trace: smc_getname+0x19e/0x1b0 do_getsockname+0xe5/0x170 __sys_getsockname+0x8c/0x100 Allocated by task 95: sock_alloc_inode+0x1e/0x280 sock_alloc+0x3d/0x240 __sock_create+0x7e/0x430 smc_create+0x121/0x240 Freed by task 0: kmem_cache_free+0xcc/0x340 rcu_core+0x50a/0x1850 Last potentially related work creation: evict+0x446/0x6c0 smc_clcsock_release+0xa8/0xd0 smc_close_active_abort+0x26a/0x3a0 __smc_lgr_terminate.part.0+0x137/0x2e0 Hold clcsock_release_lock across the pointer check and the getname() callback to serialize with smc_clcsock_release(). Return -EBADF if the CLC socket has already been released, preserving the existing peer state check and the callback's return value otherwise.
Title net/smc: protect clcsock lifetime in smc_getname
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:41:05.122Z

Reserved: 2026-09-25T10:25:14.387Z

Link: CVE-2026-99032

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:26.310

Modified: 2026-10-30T13:21:39.840

Link: CVE-2026-99032

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-99032 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T19:15:08Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference