# CVE-2026-52941: net/smc: avoid NULL deref of conn-\>lnk in smc\_msg\_event tracepoint

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-06-24T07:14:29.943Z
- **Modified:** 2026-11-06T17:17:57.280Z

## Who should check

- Anyone running Linux \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 68200112534bb2acd1d7117dc2d5c124868d866d; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 720c76b930c52cd58f50eb6b10569d03dccc7959; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< b706d6d76a2a2793fe5ad0fbc2a75b6a460094ef; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< d2ea0b8aef8746e147602eac87ca8538f4bc7e66; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 7bf563badd37cb796df5477d2b78bb64148a1268
- Anyone running Linux 5.16

## Description

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

net/smc: avoid NULL deref of conn-\>lnk in smc\_msg\_event tracepoint

The smc\_msg\_event tracepoint class, shared by smc\_tx\_sendmsg and
smc\_rx\_recvmsg, unconditionally dereferences smc-\>conn.lnk:

	\_\_string(name, smc-\>conn.lnk-\>ibname)

conn-\>lnk is only set for SMC-R; for SMC-D it is NULL. Other code on
these paths already handles this (e.g. !conn-\>lnk in
SMC\_STAT\_RMB\_TX\_SIZE\_SMALL()). With the tracepoint enabled, the first
sendmsg()/recvmsg() on an SMC-D socket crashes:

  Oops: general protection fault, probably for non-canonical address
  KASAN: null-ptr-deref in range \[...\]
  RIP: 0010:strlen+0x1e/0xa0
  Call Trace:
   trace\_event\_raw\_event\_smc\_msg\_event (net/smc/smc\_tracepoint.h:44)
   smc\_rx\_recvmsg (net/smc/smc\_rx.c:515)
   smc\_recvmsg (net/smc/af\_smc.c:2859)
   \_\_sys\_recvfrom (net/socket.c:2315)
   \_\_x64\_sys\_recvfrom (net/socket.c:2326)
   do\_syscall\_64

The faulting address 0x3e0 is offsetof(struct smc\_link, ibname),
confirming the NULL -\>lnk deref. Enabling the tracepoint requires
root, but the trigger itself is unprivileged: socket(AF\_SMC, ...) has
no capability check, and SMC-D negotiation needs no admin step on
s390 or on x86 with the loopback ISM device loaded.

Log an empty device name for SMC-D instead of dereferencing NULL.

## Affected and fixed versions

- Linux: \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 68200112534bb2acd1d7117dc2d5c124868d866d; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 720c76b930c52cd58f50eb6b10569d03dccc7959; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< b706d6d76a2a2793fe5ad0fbc2a75b6a460094ef; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< d2ea0b8aef8746e147602eac87ca8538f4bc7e66; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 7bf563badd37cb796df5477d2b78bb64148a1268 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 7bf563badd37cb796df5477d2b78bb64148a1268 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52941. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52941.md
Affected: Linux >= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, < 68200112534bb2acd1d7117dc2d5c124868d866d; >= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, < 720c76b930c52cd58f50eb6b10569d03dccc7959; >= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, < b706d6d76a2a2793fe5ad0fbc2a75b6a460094ef; >= aff3083f10bff7a37eaa2b4…
Fixed in: Linux 68200112534bb2acd1d7117dc2d5c124868d866d, Linux 720c76b930c52cd58f50eb6b10569d03dccc7959, Linux 561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f, Linux 7bf563badd37cb796df5477d2b78bb64148a1268

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52941 being exploited?

There is no confirmed exploitation: CVE-2026-52941 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52941?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-52941?

Linux \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 68200112534bb2acd1d7117dc2d5c124868d866d; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 720c76b930c52cd58f50eb6b10569d03dccc7959; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< b706d6d76a2a2793fe5ad0fbc2a75b6a460094ef; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< d2ea0b8aef8746e147602eac87ca8538f4bc7e66; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f; \>= aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84, \< 7bf563badd37cb796df5477d2b78bb64148a1268; Linux 5.16.

### Is there a fix for CVE-2026-52941?

Yes. Fixed in Linux 68200112534bb2acd1d7117dc2d5c124868d866d, Linux 720c76b930c52cd58f50eb6b10569d03dccc7959, Linux 561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f, Linux 7bf563badd37cb796df5477d2b78bb64148a1268. Upgrade Linux to 7bf563badd37cb796df5477d2b78bb64148a1268 or later.

### How do I check if I'm affected by CVE-2026-52941?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/68200112534bb2acd1d7117dc2d5c124868d866d>
- patch: <https://git.kernel.org/stable/c/720c76b930c52cd58f50eb6b10569d03dccc7959>
- patch: <https://git.kernel.org/stable/c/b706d6d76a2a2793fe5ad0fbc2a75b6a460094ef>
- patch: <https://git.kernel.org/stable/c/d2ea0b8aef8746e147602eac87ca8538f4bc7e66>
- patch: <https://git.kernel.org/stable/c/561cf66fa9b6c86dfe4e687d2d1aeaaa6739917f>
- patch: <https://git.kernel.org/stable/c/7bf563badd37cb796df5477d2b78bb64148a1268>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52941>

HTML: <https://flawdb.com/CVE-2026-52941> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52941>
