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

7.8 · HIGH
Published Jun 10, 2024 linux CWE-476 EPSS 0.52% (42th pctl)

Overview

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

af_unix: Update unix_sk(sk)->oob_skb under sk_receive_queue lock.

Billy Jheng Bing-Jhong reported a race between __unix_gc() and

queue_oob().

__unix_gc() tries to garbage-collect close()d inflight sockets,

and then if the socket has MSG_OOB in unix_sk(sk)->oob_skb, GC

will drop the reference and set NULL to it locklessly.

However, the peer socket still can send MSG_OOB message and

queue_oob() can update unix_sk(sk)->oob_skb concurrently, leading

NULL pointer dereference. [0]

To fix the issue, let's update unix_sk(sk)->oob_skb under the

sk_receive_queue's lock and take it everywhere we touch oob_skb.

Note that we defer kfree_skb() in manage_oob() to silence lockdep

false-positive (See [1]).

[0]:

BUG: kernel NULL pointer dereference, address: 0000000000000008

PF: supervisor write access in kernel mode

PF: error_code(0x0002) - not-present page

PGD 8000000009f5e067 P4D 8000000009f5e067 PUD 9f5d067 PMD 0

Oops: 0002

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.15.149, < 5.15.161 Affected

Frequently Asked Questions

What is CVE-2024-36972?

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

How severe is CVE-2024-36972?

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

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

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