Menu

Star on GitHub · 3.2k

CVE-2024-26923

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix garbage collector racing against connect() Garbage collector does not take into account the risk of embryo getting…

Published Apr 25, 2024CWE-362EPSS 0.21%

Overview

CVE-2024-26923 is a high-severity vulnerability. It was published on April 25, 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: Fix garbage collector racing against connect()

Garbage collector does not take into account the risk of embryo getting

enqueued during the garbage collection. If such embryo has a peer that

carries SCM_RIGHTS, two consecutive passes of scan_children() may see a

different set of children. Leading to an incorrectly elevated inflight

count, and then a dangling pointer within the gc_inflight_list.

sockets are AF_UNIX/SOCK_STREAM

S is an unconnected socket

L is a listening in-flight socket bound to addr, not in fdtable

V's fd will be passed via sendmsg(), gets inflight count bumped

connect(S, addr) sendmsg(S, [V]); close(V) __unix_gc()

---------------- ------------------------- -----------

NS = unix_create1()

skb1 = sock_wmalloc(NS)

L = unix_find_other(addr)

unix_state_lock(L)

unix_peer(S) = NS

// V count=1 inflight=0

NS = unix_peer(S)

skb2 = sock_alloc()

skb_queue_tail(NS, skb2[V])

// V bec

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-26923?

CVE-2024-26923 is a high-severity vulnerability. It was published on April 25, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26923?

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-26923?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26923 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all