CVE-2024-44996

Source
https://cve.org/CVERecord?id=CVE-2024-44996
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44996.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44996
Downstream
Related
Published
2024-09-04T19:54:41.513Z
Modified
2026-03-20T12:38:56.630724Z
Summary
vsock: fix recursive ->recvmsg calls
Details

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 vsockbpfrecvmsg(). Thus the following recursiion could happen:

vsockbpfrecvmsg() -> _vsockrecvmsg() -> vsockconnectiblerecvmsg() -> prot->recvmsg() -> vsockbpfrecvmsg() again

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44996.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
634f1a7110b439c65fd8a809171c1d2d28bcea6f
Fixed
921f1acf0c3cf6b1260ab57a8a6e8b3d5f3023d5
Fixed
b4ee8cf1acc5018ed1369150d7bb3e0d0f79e135
Fixed
69139d2919dd4aa9a553c8245e7c63e82613e3fc

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44996.json"