Menu

Star on GitHub · 3.2k

CVE-2024-26862

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: packet: annotate data-races around ignore_outgoing ignore_outgoing is read locklessly from dev_queue_xmit_nit() and packet_gets…

Published Apr 17, 2024CWE-362EPSS 0.21%

Overview

CVE-2024-26862 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. 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:

packet: annotate data-races around ignore_outgoing

ignore_outgoing is read locklessly from dev_queue_xmit_nit()

and packet_getsockopt()

Add appropriate READ_ONCE()/WRITE_ONCE() annotations.

syzbot reported:

BUG: KCSAN: data-race in dev_queue_xmit_nit / packet_setsockopt

write to 0xffff888107804542 of 1 bytes by task 22618 on cpu 0:

packet_setsockopt+0xd83/0xfd0 net/packet/af_packet.c:4003

do_sock_setsockopt net/socket.c:2311 [inline]

__sys_setsockopt+0x1d8/0x250 net/socket.c:2334

__do_sys_setsockopt net/socket.c:2343 [inline]

__se_sys_setsockopt net/socket.c:2340 [inline]

__x64_sys_setsockopt+0x66/0x80 net/socket.c:2340

do_syscall_64+0xd3/0x1d0

entry_SYSCALL_64_after_hwframe+0x6d/0x75

read to 0xffff888107804542 of 1 bytes by task 27 on cpu 1:

dev_queue_xmit_nit+0x82/0x620 net/core/dev.c:2248

xmit_one net/core/dev.c:3527 [inline]

dev_hard_start_xmit+0xcc/0x3f0 net/core/dev.c:3547

__dev_queue_xmit+0xf2

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

CVE-2024-26862 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-26862?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. 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-26862?

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26862 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 MEDIUM CVEs from 2024

View all