Skip to content
Noroxi
CVE-2023-52886· NVD / CVE Program· CNA Linux

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

Noroxi assessment

Priority: Monitor (action score 25/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
  • Physical access to the device is required. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 4.15, 4.20, 5.10.195.

Low priority for now. Upgrade to Linux Linux 4.15, 4.20, 5.10.195 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:680 [inline] usb_get_configuration+0x1f7/0x5170 drivers/usb/core/config.c:887 usb_enumerate_device drivers/usb/core/hub.c:2407 [inline] usb_new_device+0x12b0/0x19d0 drivers/usb/core/hub.c:2545 As analyzed by Khazhy Kumykov, the cause of this bug is a race between read_descriptors() and hub_port_init(): The first routine uses a field in udev->descriptor, not expecting it to change, while the second overwrites it. Prior to commit 45bf39f8df7f ("USB: core: Don't hold device lock while reading the "descriptors" sysfs file") this race couldn't occur, because the routines were mutually exclusive thanks to the device locking. Removing that locking from read_descriptors() exposed it to the race. The best way to fix the bug is to keep hub_port_init() from changing udev->descriptor once udev has been initialized and registered. Drivers expect the descriptors stored in the kernel to be immutable; we should not undermine this expectation. In fact, this change should have been made long ago. So now hub_port_init() will take an additional argument, specifying a buffer in which to store the device descriptor it reads. (If udev has not yet been initialized, the buffer pointer will be NULL and then hub_port_init() will store the device descriptor in udev as before.) This eliminates the data race responsible for the out-of-bounds read. The changes to hub_port_init() appear more extensive than they really are, because of indentation changes resulting from an attempt to avoid writing to other parts of the usb_device structure after it has been initialized. Similar changes should be made to the code that reads the BOS descriptor, but that can be handled in a separate patch later on. This patch is sufficient to fix the bug found by syzbot.

MediumCVSS 6.4 · v3.1—No exploit Fix available
Published
Jul 16, 2024
Updated
Jun 17, 2026
EPSS
0.3% · 24th percentile

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
25 / 40 · 6.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-52886

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.10.171 and later · before 5.10.195
  • linux linux kernel5.15.97 and later · before 5.15.132
  • linux linux kernel6.1.15 and later · before 6.1.53
  • linux linux kernel6.3 and later · before 6.4.16
  • linux linux kernel6.5 and later · before 6.5.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 6badaf880edf51a2da7a439699676394dfdef3e5, 5f35b5d3bd6914c68f743741443dfd3a64b0e455, a1e89c8b29d003a20ed2dae6bdae1598d1f23e42, 1bcb238c54a9c6dc4bded06b06ba7458a5eefa87, 6.3affected
    • 218925bfd5d1436e337c4f961e9c149fbe32de6d and later · before 9d241c5d9a9b7ad95c90c6520272fe404d5ac88faffected · git
    • 77358093331e9769855140bf94a3f00ecdcf4bb1 and later · before 7fe9d87996062f5eb0ca476ad0257f79bf43aaf5affected · git
    • c87fb861ec185fdc578b4fdc6a05920b6a843840 and later · before 8186596a663506b1124bede9fde6f243ef9f37eeaffected · git
    • 45bf39f8df7f05efb83b302c65ae3b9bc92b7065 and later · before b4a074b1fb222164ed7d5c0b8c922dc4a0840848affected · git
    • 45bf39f8df7f05efb83b302c65ae3b9bc92b7065 and later · before b9fbfb349eacc0820f91c797d7f0a3ac7a4935b5affected · git
    • 45bf39f8df7f05efb83b302c65ae3b9bc92b7065 and later · before ff33299ec8bb80cdcc073ad9c506bd79bb2ed20baffected · git
    • 5.10.171 and later · before 5.10.195affected · semver
    • 5.15.97 and later · before 5.15.132affected · semver
    • 6.1.15 and later · before 6.1.53affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.55-16.1.55-1
Debian:13linuxbefore 6.5.3-16.5.3-1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_4before 1-150600.13.3.31-150600.13.3.3
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_4before 1-150600.13.3.31-150600.13.3.3
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_2before 1-150600.1.3.21-150600.1.3.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_2before 1-150600.1.3.21-150600.1.3.2
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kbbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kbbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-defaultbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-defaultbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-basebefore 6.4.0-150600.23.22.1.150600.12.8.36.4.0-150600.23.22.1.150600.12.8.3
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-basebefore 6.4.0-150600.23.22.1.150600.12.8.36.4.0-150600.23.22.1.150600.12.8.3
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-sourcebefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-sourcebefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdumpbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdumpbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docsbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docsbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-buildbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-buildbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1

+24

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-41007Jul 15, 2024 · tcp: avoid too many retransmit packets
    13Monitor
  • ← EarlierCVE-2024-41008Jul 16, 2024 · drm/amdgpu: change vm->task_info handling
    22Monitor
  • Later →CVE-2021-47622Jul 16, 2024 · scsi: ufs: Fix a deadlock in the error handler
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux4.15Vendor (CNA)
Linux Linux4.20Vendor (CNA)
Linux Linux5.10.195Vendor (CNA)
Linux Linux5.15.132Vendor (CNA)
Linux Linux5.5Vendor (CNA)
Linux Linux6.1.53Vendor (CNA)
Linux Linux6.3Vendor (CNA)
Linux Linux7fe9d87996062f5eb0ca476ad0257f79bf43aaf5Vendor (CNA)
Linux Linux8186596a663506b1124bede9fde6f243ef9f37eeVendor (CNA)
Linux Linux9d241c5d9a9b7ad95c90c6520272fe404d5ac88fVendor (CNA)
Linux Linuxb4a074b1fb222164ed7d5c0b8c922dc4a0840848Vendor (CNA)
Linux Linuxb9fbfb349eacc0820f91c797d7f0a3ac7a4935b5Vendor (CNA)
Linux Linuxff33299ec8bb80cdcc073ad9c506bd79bb2ed20bVendor (CNA)
debian:linux6.1.55-1 · Debian:12Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-rt6.4.0-150600.10.8.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:kernel-azure6.4.0-150600.8.11.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_21-150600.1.3.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-rt6.4.0-150600.10.8.3 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-rt_debug6.4.0-150600.10.8.3 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-source-azure6.4.0-150600.8.11.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-source-rt6.4.0-150600.10.8.3 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-syms-azure6.4.0-150600.8.11.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-syms-rt6.4.0-150600.10.8.1 · SUSE:Real Time Module 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Physical access to the device is required.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Physical
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records