# CVE-2026-98947: vsock: Fix memory leak in vmci\_transport\_recv\_dgram\_cb()

> 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 6, 2026-11-26)
- **Published:** 2026-10-23T12:19:06.146Z
- **Modified:** 2026-10-23T13:17:15.760Z

## Who should check

- Anyone running Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 0f8e2b2045355a0ee2008125e573435504b13cee; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4835dbcde5cc3ae37e0d0796052056b35fcae8bf; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9907db2b8e7ba70b442bb9dec86526a6511fac62; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 7c24a4e87e219072e5e106f6791146cbf3b056b3
- Anyone running Linux 3.9

## Description

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

vsock: Fix memory leak in vmci\_transport\_recv\_dgram\_cb()

During the closure of a datagram socket, the vmci\_transport\_recv\_dgram\_cb()
function may be called, which will add the packets
to the socket's backlog; then, after the receive queue is cleared,
the \_\_release\_sock() function will move the packet back from the socket's
backlog to the receive queue, which will lead to a memory leak.

sock\_close
  \_\_sock\_release
    \_\_vsock\_release
      // take ownership by user-space
      lock\_sock\_nested
      sock\_set\_flag(sk, SOCK\_DEAD)
      vmci\_transport\_release
                                      vmci\_dispatch\_dgs
                                        vmci\_datagram\_invoke\_guest\_handler
                                          vmci\_transport\_recv\_dgram\_cb
                                            sk\_receive\_skb
                                              if (!sock\_owned\_by\_user(sk))
                                                  \[...\]
                                         (!)  else if sk\_add\_backlog()
                                                  \[...\]
  (!) skb\_queue\_purge(&sk-\>sk\_receive\_queue)

      release\_sock
        \_\_release\_sock
          // move all packets from the backlog
          // to the receive queue
   (!)    sk\_backlog\_rcv
            vsock\_queue\_rcv\_skb
            \[...\]
              \_\_sock\_queue\_rcv\_skb
                if (!sock\_flag(sk, SOCK\_DEAD))
                  // Since the socket is "dead", the function will not
                  // be called
                  sk-\>sk\_data\_ready(sk)
        sock\_release\_ownership(sk);
        sock\_put

Add a receive queue cleanup in the socket destructor to fix this.

syzkaller report:

unreferenced object 0xffff8880117bfb80 (size 240):
  comm "irq/56-vmw\_vmci", pid 205, jiffies 4295064448 (age 73.992s)
  hex dump (first 32 bytes):
    78 dc 26 1e 80 88 ff ff 78 dc 26 1e 80 88 ff ff  x.&.....x.&.....
    00 00 00 00 00 00 00 00 c0 da 26 1e 80 88 ff ff  ..........&.....
  backtrace:
    \[\<ffffffff82be8d97\>\] \_\_alloc\_skb+0x287/0x330 net/core/skbuff.c:505
    \[\<ffffffffa114bcbd\>\] vmci\_transport\_recv\_dgram\_cb+0xbd/0x210 \[vmw\_vsock\_vmci\_transport\]
    \[\<ffffffffa05072c6\>\] vmci\_datagram\_invoke\_guest\_handler+0x366/0x450 \[vmw\_vmci\]
    \[\<ffffffffa050ad75\>\] vmci\_dispatch\_dgs+0x235/0x490 \[vmw\_vmci\]
    \[\<ffffffffa050b025\>\] vmci\_interrupt+0x55/0x290 \[vmw\_vmci\]
    \[\<ffffffff8137ad2b\>\] irq\_thread\_fn+0x8b/0x1a0 kernel/irq/manage.c:1205
    \[\<ffffffff8137c7ae\>\] irq\_thread+0x28e/0x530 kernel/irq/manage.c:1314
    \[\<ffffffff81253dd6\>\] kthread+0x2e6/0x3a0 kernel/kthread.c:376
    \[\<ffffffff81004392\>\] ret\_from\_fork+0x22/0x30 arch/x86/entry/entry\_64.S:295

Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 0f8e2b2045355a0ee2008125e573435504b13cee; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4835dbcde5cc3ae37e0d0796052056b35fcae8bf; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9907db2b8e7ba70b442bb9dec86526a6511fac62; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 7c24a4e87e219072e5e106f6791146cbf3b056b3 (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98947.md
Affected: Linux >= d021c344051af91f42c5ba9fdedc176740cbd238, < 0f8e2b2045355a0ee2008125e573435504b13cee; >= d021c344051af91f42c5ba9fdedc176740cbd238, < 4835dbcde5cc3ae37e0d0796052056b35fcae8bf; >= d021c344051af91f42c5ba9fdedc176740cbd238, < 9907db2b8e7ba70b442bb9dec86526a6511fac62; >= d021c344051af91f42c5ba9…
Fixed in: Linux 0f8e2b2045355a0ee2008125e573435504b13cee, Linux 4835dbcde5cc3ae37e0d0796052056b35fcae8bf, Linux 9907db2b8e7ba70b442bb9dec86526a6511fac62, Linux 7c24a4e87e219072e5e106f6791146cbf3b056b3

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

There is no confirmed exploitation: CVE-2026-98947 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-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 0f8e2b2045355a0ee2008125e573435504b13cee; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4835dbcde5cc3ae37e0d0796052056b35fcae8bf; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9907db2b8e7ba70b442bb9dec86526a6511fac62; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 7c24a4e87e219072e5e106f6791146cbf3b056b3; Linux 3.9.

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

Yes. Fixed in Linux 0f8e2b2045355a0ee2008125e573435504b13cee, Linux 4835dbcde5cc3ae37e0d0796052056b35fcae8bf, Linux 9907db2b8e7ba70b442bb9dec86526a6511fac62, Linux 7c24a4e87e219072e5e106f6791146cbf3b056b3. Upgrade Linux to 7c24a4e87e219072e5e106f6791146cbf3b056b3 or later.

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

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/0f8e2b2045355a0ee2008125e573435504b13cee>
- other: <https://git.kernel.org/stable/c/4835dbcde5cc3ae37e0d0796052056b35fcae8bf>
- other: <https://git.kernel.org/stable/c/9907db2b8e7ba70b442bb9dec86526a6511fac62>
- other: <https://git.kernel.org/stable/c/7c24a4e87e219072e5e106f6791146cbf3b056b3>

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

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