CVE-2024-44996
JSON

5.5medium

vsock: fix recursive ->recvmsg calls

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.4 before 6.6.48, from 6.7 before 6.10.7, 6.11NVD

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: vsock: corregir llamadas recursivas ->recvmsg Después de que se ha añadido un socket vsock a un sockmap BPF, su prot->recvmsg se ha reemplazado por vsock_bpf_recvmsg(). Por lo tanto, podría ocurrir la siguiente recursión: vsock_bpf_recvmsg() -> __vsock_recvmsg() -> vsock_connectible_recvmsg() -> prot->recvmsg() -> vsock_bpf_recvmsg() de nuevo Necesitamos solucionarlo llamando al ->recvmsg() original sin ninguna lógica sockmap BPF en __vsock_recvmsg().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-44996 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-44996 changed 2026-06-17Public domain