CVE-2026-52941
Linux Kernel Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-52941 is a NULL pointer dereference vulnerability in the Linux kernel's SMC (Shared Memory Communications) subsystem, specifically in the smc_msg_event tracepoint. The tracepoint unconditionally dereferences conn->lnk->ibname, but conn->lnk is only set for SMC-R connections and is NULL for SMC-D connections, causing a kernel crash when sendmsg() or recvmsg() is called on an SMC-D socket while the tracepoint is enabled. The vulnerability was disclosed on June 24, 2026, and affects Linux kernel versions from 5.16 up to the patched stable releases. Feedly estimates the severity as HIGH; the ENISA/EUVD base score is listed as 0.0 pending full NVD scoring (GitHub Advisory, EUVD).

Détails techniques

The root cause is a NULL pointer dereference (CWE-476) in net/smc/smc_tracepoint.h at line 44, where the smc_msg_event tracepoint class — shared by smc_tx_sendmsg and smc_rx_recvmsg — calls __string(name, smc->conn.lnk->ibname) without first checking whether conn->lnk is NULL. The conn->lnk field is only populated for SMC-R (RDMA-based) connections; for SMC-D (Direct Memory Access via ISM device) connections it remains NULL. Enabling the tracepoint requires root privileges, but triggering the crash does not: socket(AF_SMC, ...) has no capability check, and SMC-D negotiation requires no administrative step on s390 or on x86 with the loopback ISM device loaded. The faulting address 0x3e0 corresponds to offsetof(struct smc_link, ibname), confirming the NULL dereference (GitHub Advisory).

Impact

Successful exploitation causes a kernel panic (general protection fault / KASAN null-ptr-deref), resulting in a complete denial of service for the affected system. An unprivileged local user can crash the kernel by simply calling sendmsg() or recvmsg() on an SMC-D socket once a privileged user has enabled the tracepoint, making this a privilege-escalation-assisted DoS scenario. There is no evidence of confidentiality or integrity impact; the vulnerability is limited to availability (GitHub Advisory, EUVD).

Étapes d’exploitation

  1. Prerequisite — Enable tracepoint (requires root): A privileged user enables the smc_msg_event tracepoint, e.g., via echo 1 > /sys/kernel/debug/tracing/events/smc/smc_rx_recvmsg/enable or the equivalent smc_tx_sendmsg event.
  2. Identify SMC-D availability: Confirm that the target system supports SMC-D — either an s390 system or an x86 system with the loopback ISM device (ism kernel module) loaded.
  3. Create SMC-D socket (unprivileged): As an unprivileged local user, open an AF_SMC socket: socket(AF_SMC, SOCK_STREAM, SMCPROTO_SMC). No capability check is enforced.
  4. Establish SMC-D connection: Connect to a peer that negotiates SMC-D (e.g., loopback ISM), resulting in conn->lnk remaining NULL.
  5. Trigger the crash: Call sendmsg() or recvmsg() on the SMC-D socket. The active tracepoint dereferences the NULL conn->lnk, causing a general protection fault and kernel panic (GitHub Advisory).

Indicateurs de compromis

  • Logs: Kernel oops messages containing general protection fault or KASAN: null-ptr-deref in range in /var/log/kern.log or dmesg output; stack trace referencing trace_event_raw_event_smc_msg_event, smc_rx_recvmsg, smc_recvmsg, __sys_recvfrom.
  • Logs: Faulting address 0x3e0 in the oops output, corresponding to offsetof(struct smc_link, ibname).
  • Process: Unexpected AF_SMC socket creation by non-privileged processes visible in ss -a or /proc/net/af_smc output.
  • Kernel Tracing: The smc_rx_recvmsg or smc_tx_sendmsg tracepoint enabled in /sys/kernel/debug/tracing/events/smc/ when not expected in production.

Atténuation et solutions de contournement

Apply the available kernel patches backported to stable branches: 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11, and 7.1 (mainline). The fix logs an empty device name for SMC-D connections instead of dereferencing the NULL conn->lnk pointer. As a workaround, disable the smc_msg_event tracepoint (do not enable smc_tx_sendmsg or smc_rx_recvmsg tracepoints) in production systems where SMC-D is in use, and restrict tracepoint enablement to trusted administrators only (GitHub Advisory, EUVD).

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté Linux Kernel Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-52942NONEN/A
  • Linux KernelLinux Kernel
  • kernel-rt
NonNonJun 24, 2026
CVE-2026-52941NONEN/A
  • Linux KernelLinux Kernel
  • kernel
NonNonJun 24, 2026
CVE-2026-52940NONEN/A
  • Linux KernelLinux Kernel
  • kernel
NonNonJun 24, 2026
CVE-2026-52939NONEN/A
  • Linux KernelLinux Kernel
  • kernel
NonNonJun 24, 2026
CVE-2026-52937NONEN/A
  • Linux KernelLinux Kernel
  • kernel
NonNonJun 24, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités