CVE-2023-52477: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52477 is a vulnerability in the Linux kernel's USB hub driver where multiple functions in drivers/usb/core/hub.c and drivers/usb/core/hub.h access fields inside udev->bos without checking if it was allocated and initialized. The vulnerability was discovered and disclosed in February 2024, affecting various versions of the Linux kernel. If usb_get_bos_descriptor() fails, udev->bos will be NULL and those accesses will result in a kernel NULL pointer dereference crash (NVD).

Technical details

The vulnerability is classified as a NULL Pointer Dereference (CWE-476) issue. The CVSS v3.1 base score is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The bug manifests when accessing uninitialized BOS (Binary Object Store) descriptors in the USB hub driver, specifically affecting functionality related to LPM support checks, Super Speed capability checks, and U1/U2 states setup (NVD).

Impact

When exploited, this vulnerability can cause a kernel crash through a NULL pointer dereference, resulting in a denial of service condition. The crash occurs in the hub_port_reset function when attempting to access uninitialized BOS descriptor fields, potentially affecting system stability and availability (NVD).

Exploitability

The vulnerability requires local access and can be triggered when a USB device's BOS descriptor initialization fails. The exploit conditions are relatively straightforward, requiring low attack complexity and low privileges, though local access is necessary (NVD).

Mitigation and workarounds

The vulnerability has been patched by implementing checks for uninitialized BOS descriptors before accessing them. The fix includes falling back to a default behavior if the BOS descriptor isn't accessible and skipping functionalities that depend on it. The patch has been applied to multiple Linux kernel versions and is available through various distribution updates (Kernel Patch).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98383HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-devel-matched
NoYesOct 09, 2026
CVE-2026-98382HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-drivers-sound
NoYesOct 09, 2026
CVE-2026-98381HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesOct 09, 2026
CVE-2026-98380HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-core
NoYesOct 09, 2026
CVE-2026-98384MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • bpftool
NoYesOct 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management