# CVE-2026-74692: net/smc: fix TOCTOU race between smc\_listen\_out() and listener close

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **Published:** 2026-08-22T15:32:55.873Z
- **Modified:** 2026-10-16T20:17:52.133Z

## Who should check

- Anyone running Linux \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< feb71634bb1abab3e8fb5cde874b27001cc1282e; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 01865e1ddb126b25ac9eba5cdd7ec49e11183a64; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 00f89433777236ced4771211047fb5d4cd581cea; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< ff5bcd804b5bc5c64736b7d318c20e12ea9506b8; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 185a4caeecabc150106deda1da170b09f2ad803f; d1d004585b40c212b338fc8a40cbaaf230ea4703; \>= 4.19.299, \< 4.20
- Anyone running Linux 5.1

## Description

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

net/smc: fix TOCTOU race between smc\_listen\_out() and listener close

smc\_listen\_out() reads lsmc-\>sk.sk\_state without the listener lock,
then acquires lock\_sock\_nested() only after the check passes. This
opens a window where smc\_close\_active() can transition the listener
to SMC\_CLOSED, call smc\_close\_cleanup\_listen() to drain the accept
queue, and release the lock, all between the lockless read and the
delayed lock acquisition:

  smc\_listen\_work (smc\_hs\_wq)          smc\_close\_active()
  -------------------------------      -------------------------
  release\_sock(child)
  if (sk\_state == SMC\_LISTEN) TRUE
                                        lock\_sock(listener)
                                        sk\_state = SMC\_CLOSED
                                        smc\_close\_cleanup\_listen()
                                        release\_sock(listener)
                                        flush\_work(tcp\_listen\_work)
  lock\_sock\_nested(listener)
  smc\_accept\_enqueue(listener, child) /\* child enqueued on dead listener \*/

smc\_close\_active() flushes only tcp\_listen\_work. Work items already
dispatched onto smc\_hs\_wq for the CLC handshake continue running
unguarded. smc\_accept\_enqueue() takes a sock\_hold() on the child that
is never released, so the child smc\_sock, its clcsock, and the
reference all leak. A remote peer that opens TCP connections while the
server calls close() can exhaust kernel memory.

Move lock\_sock\_nested() to before the sk\_state check so that the test
and the enqueue are atomic under the listener lock.

## Affected and fixed versions

- Linux: \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< feb71634bb1abab3e8fb5cde874b27001cc1282e; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 01865e1ddb126b25ac9eba5cdd7ec49e11183a64; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 00f89433777236ced4771211047fb5d4cd581cea; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< ff5bcd804b5bc5c64736b7d318c20e12ea9506b8; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 185a4caeecabc150106deda1da170b09f2ad803f; d1d004585b40c212b338fc8a40cbaaf230ea4703; \>= 4.19.299, \< 4.20 (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 4.20 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-74692. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74692.md
Affected: Linux >= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa; >= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < feb71634bb1abab3e8fb5cde874b27001cc1282e; >= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, < 01865e1ddb126b25ac9eba5cdd7ec49e11183a64; >= fd57770dd198f5b2ddd5b9e…
Fixed in: Linux 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa, Linux 01865e1ddb126b25ac9eba5cdd7ec49e11183a64, Linux 00f89433777236ced4771211047fb5d4cd581cea, Linux 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67, Linux 185a4caeecabc150106deda1da170b09f2ad803f, Linux 4.20

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< feb71634bb1abab3e8fb5cde874b27001cc1282e; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 01865e1ddb126b25ac9eba5cdd7ec49e11183a64; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 00f89433777236ced4771211047fb5d4cd581cea; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< ff5bcd804b5bc5c64736b7d318c20e12ea9506b8; \>= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \< 185a4caeecabc150106deda1da170b09f2ad803f; d1d004585b40c212b338fc8a40cbaaf230ea4703; \>= 4.19.299, \< 4.20; Linux 5.1.

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

Yes. Fixed in Linux 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa, Linux 01865e1ddb126b25ac9eba5cdd7ec49e11183a64, Linux 00f89433777236ced4771211047fb5d4cd581cea, Linux 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67, Linux 185a4caeecabc150106deda1da170b09f2ad803f, Linux 4.20. Upgrade Linux to 4.20 or later.

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

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/53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa>
- other: <https://git.kernel.org/stable/c/feb71634bb1abab3e8fb5cde874b27001cc1282e>
- other: <https://git.kernel.org/stable/c/01865e1ddb126b25ac9eba5cdd7ec49e11183a64>
- other: <https://git.kernel.org/stable/c/00f89433777236ced4771211047fb5d4cd581cea>
- other: <https://git.kernel.org/stable/c/78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67>
- other: <https://git.kernel.org/stable/c/ff5bcd804b5bc5c64736b7d318c20e12ea9506b8>
- other: <https://git.kernel.org/stable/c/185a4caeecabc150106deda1da170b09f2ad803f>

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

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