Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56664

7.8 · HIGH
Published Dec 27, 2024 linux CWE-362 EPSS 0.18% (8th pctl)

Overview

CVE-2024-56664 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

bpf, sockmap: Fix race between element replace and close()

Element replace (with a socket different from the one stored) may race

with socket's close() link popping & unlinking. __sock_map_delete()

unconditionally unrefs the (wrong) element:

// set map[0] = s0

map_update_elem(map, 0, s0)

// drop fd of s0

close(s0)

sock_map_close()

lock_sock(sk) (s0!)

sock_map_remove_links(sk)

link = sk_psock_link_pop()

sock_map_unlink(sk, link)

sock_map_delete_from_link

// replace map[0] with s1

map_update_elem(map, 0, s1)

sock_map_update_elem

(s1!) lock_sock(sk)

sock_map_update_common

psock = sk_psock(sk)

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.20, < 6.6.67 Affected

Frequently Asked Questions

What is CVE-2024-56664?

CVE-2024-56664 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-56664?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56664?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56664?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56664 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.