PT-2024-14590 · Linux+7 · Linux Kernel+7

Hans De Goede

·

Published

2023-10-06

·

Updated

2025-09-29

·

CVE-2023-52478

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel has a vulnerability in the HID: logitech-hidpp module, which can cause a kernel crash when a receiver is disconnected via USB. The issue arises from four time-of-check vs time-of-use (TOCTOU) races in the hidpp connect event() function, which can lead to a use-after-free scenario. This occurs when two threads take turns executing the probe battery() function, resulting in the registration of two power supplies for the same battery. When the last registered power supply class device is unregistered, the memory from the last devm kmemdup() call is freed, causing hidpp->battery.desc.properties to point to freed memory. This leads to backtraces when power supply uevent() is invoked to fill the uevent data.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Time Of Check To Time Of Use

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_16880
BDU:2025-10573
CESA-2024_7000
CESA-2024_7001
CVE-2023-52478
INFSA-2024_7000
INFSA-2024_7001
OPENSUSE-SU-2024_0857-1
OPENSUSE-SU-2024_0858-1
RHSA-2024:2394
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024_2394
RHSA-2024_7000
RHSA-2024_7001
RLSA-2024:7001
SUSE-SU-2024:0855-1
SUSE-SU-2024:0856-1
SUSE-SU-2024:0857-1
SUSE-SU-2024:0858-1
SUSE-SU-2024:0900-1
SUSE-SU-2024:0900-2
SUSE-SU-2024:0910-1
SUSE-SU-2024:0925-1
SUSE-SU-2024:0926-1
SUSE-SU-2024:0975-1
SUSE-SU-2024:0976-1
SUSE-SU-2024:0977-1

Affected Products

Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse