# CVE-2024-44996: vsock: fix recursive ->recvmsg calls

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-09-04T19:54:41.513Z
- Modified: 2026-06-17T07:53:23.047Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

vsock: fix recursive ->recvmsg calls

After a vsock socket has been added to a BPF sockmap, its prot->recvmsg
has been replaced with vsock_bpf_recvmsg(). Thus the following
recursiion could happen:

vsock_bpf_recvmsg()
 -> __vsock_recvmsg()
  -> vsock_connectible_recvmsg()
   -> prot->recvmsg()
    -> vsock_bpf_recvmsg() again

We need to fix it by calling the original ->recvmsg() without any BPF
sockmap logic in __vsock_recvmsg().

(As written by CVE List.)

## Affected

- Linux Linux: from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before 921f1acf0c3cf6b1260ab57a8a6e8b3d5f3023d5; from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before b4ee8cf1acc5018ed1369150d7bb3e0d0f79e135; from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before 69139d2919dd4aa9a553c8245e7c63e82613e3fc; 6.4 (not affected: before 6.4; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.4 before 6.6.48; from 6.7 before 6.10.7; 6.11

## References

- <https://git.kernel.org/stable/c/921f1acf0c3cf6b1260ab57a8a6e8b3d5f3023d5> (patch)
- <https://git.kernel.org/stable/c/b4ee8cf1acc5018ed1369150d7bb3e0d0f79e135> (patch)
- <https://git.kernel.org/stable/c/69139d2919dd4aa9a553c8245e7c63e82613e3fc> (patch)

## Sources

- CVE List: [CVE-2024-44996](https://www.cve.org/CVERecord?id=CVE-2024-44996), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-44996](https://nvd.nist.gov/vuln/detail/CVE-2024-44996), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-44996 · Whole record: https://cve.day/CVE-2024-44996.json · Rebuilt by cve.day 2026-11-25T22:58:45.094Z
