Menu

Star on GitHub · 3.4k

CVE-2023-52701

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net: use a bounce buffer for copying skb->mark syzbot found arm64 builds would crash in sock_recv_mark() when CONFIG_HARDENED_U…

Published May 21, 2024EPSS 0.23%

Overview

CVE-2023-52701 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

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

net: use a bounce buffer for copying skb->mark

syzbot found arm64 builds would crash in sock_recv_mark()

when CONFIG_HARDENED_USERCOPY=y

x86 and powerpc are not detecting the issue because

they define user_access_begin.

This will be handled in a different patch,

because a check_object_size() is missing.

Only data from skb->cb[] can be copied directly to/from user space,

as explained in commit 79a8a642bf05 ("net: Whitelist

the skbuff_head_cache "cb" field")

syzbot report was:

usercopy: Kernel memory exposure attempt detected from SLUB object 'skbuff_head_cache' (offset 168, size 4)!

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

kernel BUG at mm/usercopy.c:102 !

Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP

Modules linked in:

CPU: 0 PID: 4410 Comm: syz-executor533 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023

ps

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-2023-52701?

CVE-2023-52701 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2023-52701?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-2023-52701?

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-2023-52701?

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

View all
Watch the demo →