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-39500

7.8 · HIGH
Published Jul 12, 2024 linux CWE-362 EPSS 0.22% (13th pctl)

Overview

CVE-2024-39500 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 12, 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:

sock_map: avoid race between sock_map_close and sk_psock_put

sk_psock_get will return NULL if the refcount of psock has gone to 0, which

will happen when the last call of sk_psock_put is done. However,

sk_psock_drop may not have finished yet, so the close callback will still

point to sock_map_close despite psock being NULL.

This can be reproduced with a thread deleting an element from the sock map,

while the second one creates a socket, adds it to the map and closes it.

That will trigger the WARN_ON_ONCE:

------------[ cut here ]------------

WARNING: CPU: 1 PID: 7220 at net/core/sock_map.c:1701 sock_map_close+0x2a2/0x2d0 net/core/sock_map.c:1701

Modules linked in:

CPU: 1 PID: 7220 Comm: syz-executor380 Not tainted 6.9.0-syzkaller-07726-g3c999d1ae3c7 #0

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024

RIP: 0010:sock_map_close+0x2a2/0x2d0 net/core/sock_map.c:1701

Code: df e8

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 >= 5.13, < 5.15.162 Affected

Frequently Asked Questions

What is CVE-2024-39500?

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

How severe is CVE-2024-39500?

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-39500?

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-39500?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-39500 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.