PT-2024-36849 · Linux+2 · Linux Kernel+2

Published

2024-11-11

·

Updated

2025-05-26

·

CVE-2024-56545

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/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 issue is related to the Hyper-V HID driver in the Linux kernel. When unloading the 'hid hyperv' module, a devres complaint occurs due to the corresponding devres group not being allocated. This happens because the Hyper-V HID driver overrides the 'hid dev->driver' with a 'mousevsc hid driver' stub, which re-implements the hid device probe() function but does not call devres open group(). As a result, when the driver is removed, hid device remove() calls devres release group() without checking if the hdev->driver was initially overridden.
Recommendations To resolve the issue, drop the 'hid dev->driver' override and use hid register driver()/hid unregister driver() instead. Alternatively, rely on the default handling, but note that HID CONNECT DEFAULT implies HID CONNECT HIDRAW, which may not work for mousevsc as-is. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Resource Release

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

Weakness Enumeration

Related Identifiers

BDU:2025-07797
CVE-2024-56545
OESA-2025-1286
OESA-2025-1450
USN-7276-1
USN-7277-1
USN-7310-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu