# CVE-2026-74493: net/smc: fix socket use-after-free during link group termination

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 281c103a8eaed59001ce952f231df1b07674215a, 5a42f162b857019a4c10ff687dc3bcdf51831865, 9fb17c95b8f0683570fca1fb2792264147af937a, bea8dc14de2d56aca749d368563e6888217710a5, f0541a775d04c88e90ba448e35ce0d743512822a, f621d6ebeebb6374342571e4ddf45fdbc420f6cd, f807a63d0d95680c34f677700da9148a07d7c78f, ff44f2df57fb5560bdc75eb977867643e764a262 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-15 · Modified: 2026-10-16
- Aliases: UBUNTU-CVE-2026-74493, DEBIAN-CVE-2026-74493
- Record: https://cvemate.com/vulnerability/CVE-2026-74493 · JSON: https://cvemate.com/vulnerability/CVE-2026-74493/json

## Description

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

net/smc: fix socket use-after-free during link group termination

__smc_lgr_terminate() drops conns_lock after finding a connection in
lgr->conns_all, but before taking a reference on its socket. The connection
is embedded in the socket, and its registration reference protects it only
while the connection remains in the tree.

A concurrent close can unregister the connection and drop that reference,
freeing the socket before the termination worker reaches sock_hold().

The race is reachable when close overlaps link group termination.
Local stress testing reproduced the use-after-free and KASAN reported:

  BUG: KASAN: slab-use-after-free in __smc_lgr_terminate.part.0 [smc]
  Write of size 4 by task kworker/3:3
  Workqueue: events smc_lgr_terminate_work [smc]
  __smc_lgr_terminate.part.0 [smc]

The socket was allocated by smc_create(), freed through
slab_free_after_rcu_debug(), and was followed by:

  refcount_t: addition on 0; use-after-free.
  __smc_lgr_terminate.part.0 [smc]

Take the socket reference while conns_lock still protects the tree entry.
The unregister path then cannot drop the last reference until termination
has finished using the socket.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.5%, percentile 44.41%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 160)

- debian linux (Debian): \< 6.1.187-1 \| \< 6.12.105-1 \| \< 7.1.8-1
- debian linux-6.12 (Debian): \< 6.12.107-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-149.149 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1069.74 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1069.74+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1123.132 \| \< 6.8.0-1073.82 \| \< 7.0.0-1020.21

## References (first 20 of 37)

- <https://git.kernel.org/stable/c/ff44f2df57fb5560bdc75eb977867643e764a262>
- <https://git.kernel.org/stable/c/9fb17c95b8f0683570fca1fb2792264147af937a>
- <https://git.kernel.org/stable/c/bea8dc14de2d56aca749d368563e6888217710a5>
- <https://git.kernel.org/stable/c/5a42f162b857019a4c10ff687dc3bcdf51831865>
- <https://git.kernel.org/stable/c/281c103a8eaed59001ce952f231df1b07674215a>
- <https://git.kernel.org/stable/c/f807a63d0d95680c34f677700da9148a07d7c78f>
- <https://git.kernel.org/stable/c/f0541a775d04c88e90ba448e35ce0d743512822a>
- <https://git.kernel.org/stable/c/f621d6ebeebb6374342571e4ddf45fdbc420f6cd>
- <https://ubuntu.com/security/CVE-2026-74493>
- <https://www.cve.org/CVERecord?id=CVE-2026-74493>
- <https://git.kernel.org/linus/f621d6ebeebb6374342571e4ddf45fdbc420f6cd>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8876-1>
- <https://ubuntu.com/security/notices/USN-8878-1>
- <https://ubuntu.com/security/notices/USN-8879-1>
- <https://ubuntu.com/security/notices/USN-8877-1>
- <https://ubuntu.com/security/notices/USN-8875-1>
- <https://ubuntu.com/security/notices/USN-8875-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-74493>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-74493>

---

Data as of 2026-12-06T04:33:10.238Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
