# CVE-2026-80981: net/smc: fix use-after-free of the LLC qentry in smc\_llc\_srv\_add\_link()

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.63% (percentile 45, 2026-11-26)
- **Published:** 2026-09-11T19:42:41.543Z
- **Modified:** 2026-10-19T09:17:30.483Z

## Who should check

- Anyone running Linux \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< c52a998a223e7e84333306996edec096178d1e95; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< adef84cc85d449ac28d2b4b4c49cf19619c56e27; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< a42a459ef0e54cb0c4b3e43e21cb0e658e664f64
- Anyone running Linux 6.14

## Description

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

net/smc: fix use-after-free of the LLC qentry in smc\_llc\_srv\_add\_link()

smc\_llc\_srv\_add\_link() keeps add\_llc pointing into the queue entry:

  add\_llc = &qentry-\>msg.add\_link;			smc\_llc.c:1482
  ...
  smc\_llc\_save\_add\_link\_info(link\_new, add\_llc);	smc\_llc.c:1494
  smc\_llc\_flow\_qentry\_del(&lgr-\>llc\_flow\_lcl);		smc\_llc.c:1495
  ...
  u8 \*llc\_msg = smc\_link\_shared\_v2\_rxbuf(link) ?
	(u8 \*)lgr-\>wr\_rx\_buf\_v2 : (u8 \*)add\_llc;	smc\_llc.c:1504
  smc\_llc\_save\_add\_link\_rkeys(link, link\_new, llc\_msg);	smc\_llc.c:1506

smc\_llc\_flow\_qentry\_del() kfree()s the entry, so on a link without a shared
v2 receive buffer the pointer handed to smc\_llc\_save\_add\_link\_rkeys() is
already freed. Before the Fixes: commit that branch always used
lgr-\>wr\_rx\_buf\_v2 and add\_llc was not used after the free.

Reproduced on an unpatched tree over rxe, with KASAN, kasan\_multi\_shot
and a link forced to max\_recv\_sge == 1: the entry is freed and read by
the same call, and the freeing frame is smc\_llc\_srv\_add\_link() itself.

  \[    2.523161\] BUG: KASAN: slab-use-after-free in smc\_llc\_save\_add\_link\_rkeys+0x333/0x350
  \[    2.523499\] Read of size 2 at addr ffff8880052194de by task kworker/0:1/11
  \[    2.523789\]
  \[    2.523862\] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 7.2.0-rc5-p0-g2c9dd296545d \#35 PREEMPT(lazy)
  \[    2.523865\] Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch\_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
  \[    2.523866\] Workqueue: smc\_hs\_wq smc\_listen\_work
  \[    2.523869\] Call Trace:
  \[    2.523870\]  \<TASK\>
  \[    2.523871\]  dump\_stack\_lvl+0x53/0x70
  \[    2.523872\]  print\_report+0xd0/0x630
  \[    2.523874\]  ? \_\_pfx\_\_raw\_spin\_lock\_irqsave+0x10/0x10
  \[    2.523876\]  ? smc\_llc\_save\_add\_link\_rkeys+0x333/0x350
  \[    2.523878\]  kasan\_report+0xce/0x100
  \[    2.523879\]  ? smc\_llc\_save\_add\_link\_rkeys+0x333/0x350
  \[    2.523881\]  smc\_llc\_save\_add\_link\_rkeys+0x333/0x350
  \[    2.523883\]  ? smcr\_buf\_reg\_lgr+0x2a4/0x660
  \[    2.523885\]  smc\_llc\_srv\_add\_link+0xaa2/0x1e50
  \[    2.523888\]  ? \_printk+0xba/0xf0
  \[    2.523897\]  ? \_\_pfx\_smc\_llc\_srv\_add\_link+0x10/0x10
  \[    2.523899\]  ? down\_write+0xb0/0x130
  \[    2.523903\]  ? \_\_pfx\_down\_write+0x10/0x10
  \[    2.523905\]  smc\_listen\_work+0x489e/0x4d00
  \[    2.523907\]  ? kmem\_cache\_free+0x1c6/0x3a0
  \[    2.523911\]  ? \_\_pfx\_smc\_listen\_work+0x10/0x10
  \[    2.523913\]  ? release\_sock+0x148/0x1d0
  \[    2.523915\]  ? smc\_tcp\_listen\_work+0xb4f/0xfc0
  \[    2.523917\]  ? \_raw\_spin\_lock\_irq+0x80/0xe0
  \[    2.523918\]  ? \_\_pfx\_\_raw\_spin\_lock\_irq+0x10/0x10
  \[    2.523920\]  process\_one\_work+0x633/0x1030
  \[    2.523922\]  ? assign\_work+0x11d/0x370
  \[    2.523924\]  worker\_thread+0x45b/0xd10
  \[    2.523926\]  ? \_\_pfx\_worker\_thread+0x10/0x10
  \[    2.523928\]  ? \_\_pfx\_worker\_thread+0x10/0x10
  \[    2.523929\]  kthread+0x2c6/0x3b0
  \[    2.523931\]  ? recalc\_sigpending+0x15c/0x1e0
  \[    2.523934\]  ? \_\_pfx\_kthread+0x10/0x10
  \[    2.523935\]  ret\_from\_fork+0x36e/0x5a0
  \[    2.523937\]  ? \_\_pfx\_ret\_from\_fork+0x10/0x10
  \[    2.523938\]  ? \_\_switch\_to+0x572/0xdd0
  \[    2.523943\]  ? \_\_pfx\_kthread+0x10/0x10
  \[    2.523944\]  ret\_from\_fork\_asm+0x1a/0x30
  \[    2.523947\]  \</TASK\>
  \[    2.523948\]
  \[    2.531253\] Allocated by task 48:
  \[    2.531399\]  kasan\_save\_stack+0x33/0x60
  \[    2.531570\]  kasan\_save\_track+0x14/0x30
  \[    2.531737\]  \_\_kasan\_kmalloc+0x8f/0xa0
  \[    2.531905\]  \_\_kmalloc\_cache\_noprof+0x158/0x370
  \[    2.532100\]  smc\_llc\_enqueue+0x72/0x560
  \[    2.532268\]  smc\_wr\_rx\_tasklet\_fn+0x474/0xa80
  \[    2.532491\]  tasklet\_action\_common+0x20f/0x8a0
  \[    2.532714\]  handle\_softirqs+0x18e/0x590
  \[    2.532886\]  do\_softirq+0x3b/0x60
  \[    2.533036\]  \_\_local\_bh\_enable\_ip+0x61/0x70
  \[    2.533221\]  \_\_alloc\_skb+0x732/0x890
  \[    2.533384\]  rxe\_init\_packet+0x16b/0x4f0
  \[    2.533567\]  prepare\_ack\_packet+0xb8/0x830
  \[    2.533760\]  rxe\_receiver+0x495/0x96e0
  \[    2.533933\]  do\_work+0x144/0x470
  \[    2
---truncated---

## Affected and fixed versions

- Linux: \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< c52a998a223e7e84333306996edec096178d1e95; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< adef84cc85d449ac28d2b4b4c49cf19619c56e27; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< a42a459ef0e54cb0c4b3e43e21cb0e658e664f64 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80981.md
Affected: Linux >= 27ef6a9981fe74191849966a6d5e0400a4008ab8, < c52a998a223e7e84333306996edec096178d1e95; >= 27ef6a9981fe74191849966a6d5e0400a4008ab8, < adef84cc85d449ac28d2b4b4c49cf19619c56e27; >= 27ef6a9981fe74191849966a6d5e0400a4008ab8, < a42a459ef0e54cb0c4b3e43e21cb0e658e664f64; Linux 6.14
Fixed in: no fixed version listed yet

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-80981 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< c52a998a223e7e84333306996edec096178d1e95; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< adef84cc85d449ac28d2b4b4c49cf19619c56e27; \>= 27ef6a9981fe74191849966a6d5e0400a4008ab8, \< a42a459ef0e54cb0c4b3e43e21cb0e658e664f64; Linux 6.14.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/c52a998a223e7e84333306996edec096178d1e95>
- other: <https://git.kernel.org/stable/c/adef84cc85d449ac28d2b4b4c49cf19619c56e27>
- other: <https://git.kernel.org/stable/c/a42a459ef0e54cb0c4b3e43e21cb0e658e664f64>

## 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-80981>

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