Menu

Star on GitHub · 3.2k

CVE-2023-52886

6.4 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix race by not overwriting udev->descriptor in hub_port_init() Syzbot reported an out-of-bounds read in sysfs.c:rea…

Published Jul 16, 2024CWE-125EPSS 0.33%

Overview

CVE-2023-52886 is a medium-severity vulnerability. It was published on July 16, 2024 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()

Syzbot reported an out-of-bounds read in sysfs.c:read_descriptors():

BUG: KASAN: slab-out-of-bounds in read_descriptors+0x263/0x280 drivers/usb/core/sysfs.c:883

Read of size 8 at addr ffff88801e78b8c8 by task udevd/5011

CPU: 0 PID: 5011 Comm: udevd Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023

Call Trace:

<TASK>

__dump_stack lib/dump_stack.c:88 [inline]

dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106

print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:351

print_report mm/kasan/report.c:462 [inline]

kasan_report+0x11c/0x130 mm/kasan/report.c:572

read_descriptors+0x263/0x280 drivers/usb/core/sysfs.c:883

...

Allocated by task 758:

...

__do_kmalloc_node mm/slab_common.c:966 [inline]

__kmalloc+0x5e/0x190 mm/slab_common.c:979

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

CVE-2023-52886 is a medium-severity vulnerability. It was published on July 16, 2024 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

How severe is CVE-2023-52886?

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-52886?

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

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

View all