Menu

Star on GitHub · 3.2k

CVE-2024-36938

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue Fix NULL pointer data-races in sk_psock_skb_ingress_en…

Published May 30, 2024CWE-476EPSS 0.24%

Overview

CVE-2024-36938 is a medium-severity vulnerability. It was published on May 30, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, 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:

bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue

Fix NULL pointer data-races in sk_psock_skb_ingress_enqueue() which

syzbot reported [1].

[1]

BUG: KCSAN: data-race in sk_psock_drop / sk_psock_skb_ingress_enqueue

write to 0xffff88814b3278b8 of 8 bytes by task 10724 on cpu 1:

sk_psock_stop_verdict net/core/skmsg.c:1257 [inline]

sk_psock_drop+0x13e/0x1f0 net/core/skmsg.c:843

sk_psock_put include/linux/skmsg.h:459 [inline]

sock_map_close+0x1a7/0x260 net/core/sock_map.c:1648

unix_release+0x4b/0x80 net/unix/af_unix.c:1048

__sock_release net/socket.c:659 [inline]

sock_close+0x68/0x150 net/socket.c:1421

__fput+0x2c1/0x660 fs/file_table.c:422

__fput_sync+0x44/0x60 fs/file_table.c:507

__do_sys_close fs/open.c:1556 [inline]

__se_sys_close+0x101/0x1b0 fs/open.c:1541

__x64_sys_close+0x1f/0x30 fs/open.c:1541

do_syscall_64+0xd3/0x1d0

entry_SYSCALL_64_after_hwframe+0x6d/0x75

read to 0xffff888

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

CVE-2024-36938 is a medium-severity vulnerability. It was published on May 30, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-36938?

This vulnerability has a CVSS 3.1 base score of 5.5, 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-36938?

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

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