# CVE-2026-90138: vsock: don't check the listener's sk\_err in vsock\_accept()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-09-17T16:06:36.528Z
- **Modified:** 2026-10-30T13:20:42.897Z

## Who should check

- Anyone running Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c99d12052f663d9914bc944302fee5a1d50d8ca5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 64348c55dd7596ca2c033dcd102af44bdd7e8acd; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c5a75d37c21e558cc6fad1597e732ead30745eed; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 36e5fa009f98a4edbe1783ac11c0df672b224742; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 491b368a0c6e5f28b615a50b0d384f5c25fde2a7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< b8c899cf5e7be29840a172c183dedd8d3e7a0287
- Anyone running Linux 3.9

## Description

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

vsock: don't check the listener's sk\_err in vsock\_accept()

Syzbot reported an issue which can be reproduced with these steps:
	r0 = socket(AF\_VSOCK, SOCK\_STREAM, 0)
	bind(r0, {VMADDR\_CID\_ANY, PORT})
	connect(r0, {VMADDR\_CID\_LOCAL, PORT}) -\> -1, EPROTO (self-connect)
	listen(r0, backlog)                   -\> 0
	r1 = socket(AF\_VSOCK, SOCK\_STREAM, 0)
	connect(r1, {VMADDR\_CID\_LOCAL, PORT}) -\> 0
	accept(r0)                            -\> -1, EPROTO (stale sk\_err)

Basically, it creates a socket (r0) and triggers a self-connect after
binding it. This self-connect fails with EPROTO because it loops back
to r0 while the socket is still in the TCP\_SYN\_SENT state, causing it
to be incorrectly dispatched to the connecting-client path. The
unexpected packet type encountered there sets sk\_err to EPROTO.

After that, it invokes a listen() call on the same socket. This
listen() call succeeds because the kernel's listening path never
inspects or clears sk\_err. Then, a new socket (r1) is created as a
normal client and connects to r0. However, vsock\_accept() rejects this
incoming connection because the listener's sk\_err still holds the
EPROTO error from the earlier failed self-connect.

This rejection causes the child socket created for r1's connection to
never be freed on virtio or hyperv transports; only the VMCI transport
implements pending\_work to revisit and clean up a rejected socket.

For a non-blocking connect(), vsock\_connect() may return -EINPROGRESS
immediately, and vsock\_connect\_timeout() can later set sk-\>sk\_err
asynchronously.

Since no vsock transport ever sets sk\_err on a socket while it is in
TCP\_LISTEN state, checking it in vsock\_accept() serves no purpose and
only carries forward errors left behind by earlier, unrelated
connection attempts on the same socket. Remove the checks so accept()
no longer rejects valid incoming connections because of a stale
error, which also avoids the resource leak described above.

## Affected and fixed versions

- Linux: \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c99d12052f663d9914bc944302fee5a1d50d8ca5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 64348c55dd7596ca2c033dcd102af44bdd7e8acd; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c5a75d37c21e558cc6fad1597e732ead30745eed; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 36e5fa009f98a4edbe1783ac11c0df672b224742; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 491b368a0c6e5f28b615a50b0d384f5c25fde2a7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< b8c899cf5e7be29840a172c183dedd8d3e7a0287 (cvelist)
- Linux: 3.9 (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-90138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90138.md
Affected: Linux >= d021c344051af91f42c5ba9fdedc176740cbd238, < c99d12052f663d9914bc944302fee5a1d50d8ca5; >= d021c344051af91f42c5ba9fdedc176740cbd238, < 64348c55dd7596ca2c033dcd102af44bdd7e8acd; >= d021c344051af91f42c5ba9fdedc176740cbd238, < c5a75d37c21e558cc6fad1597e732ead30745eed; >= d021c344051af91f42c5ba9…
Fixed in: Linux 64348c55dd7596ca2c033dcd102af44bdd7e8acd, Linux 36e5fa009f98a4edbe1783ac11c0df672b224742, Linux 491b368a0c6e5f28b615a50b0d384f5c25fde2a7

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c99d12052f663d9914bc944302fee5a1d50d8ca5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 64348c55dd7596ca2c033dcd102af44bdd7e8acd; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c5a75d37c21e558cc6fad1597e732ead30745eed; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 36e5fa009f98a4edbe1783ac11c0df672b224742; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 491b368a0c6e5f28b615a50b0d384f5c25fde2a7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< b8c899cf5e7be29840a172c183dedd8d3e7a0287; Linux 3.9.

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

Yes. Fixed in Linux 64348c55dd7596ca2c033dcd102af44bdd7e8acd, Linux 36e5fa009f98a4edbe1783ac11c0df672b224742, Linux 491b368a0c6e5f28b615a50b0d384f5c25fde2a7. No fix listed yet: follow the vendor advisory.

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

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/c99d12052f663d9914bc944302fee5a1d50d8ca5>
- other: <https://git.kernel.org/stable/c/64348c55dd7596ca2c033dcd102af44bdd7e8acd>
- other: <https://git.kernel.org/stable/c/c5a75d37c21e558cc6fad1597e732ead30745eed>
- other: <https://git.kernel.org/stable/c/36e5fa009f98a4edbe1783ac11c0df672b224742>
- other: <https://git.kernel.org/stable/c/491b368a0c6e5f28b615a50b0d384f5c25fde2a7>
- other: <https://git.kernel.org/stable/c/b8c899cf5e7be29840a172c183dedd8d3e7a0287>

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

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