Menu

Star on GitHub · 3.2k

CVE-2023-52478

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect hidpp_connect_event() has *four* time-of-check vs time-of-use…

Published Feb 29, 2024CWE-367EPSS 0.25%

Overview

CVE-2023-52478 is a high-severity vulnerability. It was published on February 29, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. 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:

HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect

hidpp_connect_event() has *four* time-of-check vs time-of-use (TOCTOU)

races when it races with itself.

hidpp_connect_event() primarily runs from a workqueue but it also runs

on probe() and if a "device-connected" packet is received by the hw

when the thread running hidpp_connect_event() from probe() is waiting on

the hw, then a second thread running hidpp_connect_event() will be

started from the workqueue.

This opens the following races (note the below code is simplified):

1. Retrieving + printing the protocol (harmless race):

if (!hidpp->protocol_major) {

hidpp_root_get_protocol_version()

hidpp->protocol_major = response.rap.params[0];

}

We can actually see this race hit in the dmesg in the abrt output

attached to rhbz#2227968:

[ 3064.624215] logitech-hidpp-device 0003:046D:4071.0049: HID++ 4.5 device connected.

[ 3064.658184] logitech-hid

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

CVE-2023-52478 is a high-severity vulnerability. It was published on February 29, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2023-52478?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. 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-52478?

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

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