Bug 2173444 (CVE-2023-1079) - CVE-2023-1079 kernel: hid: Use After Free in asus_remove()
Summary: CVE-2023-1079 kernel: hid: Use After Free in asus_remove()
Keywords:
Status: NEW
Alias: CVE-2023-1079
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2186282 2186283 2186285 2186286
Blocks: 2172923
TreeView+ depends on / blocked
 
Reported: 2023-02-26 18:02 UTC by Alex
Modified: 2023-07-07 08:35 UTC (History)
36 users (show)

Fixed In Version: kernel 6.3-rc1
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in asus_kbd_backlight_set in drivers/hid/hid-asus.c in the Linux Kernel. This issue could allow an attacker to crash the system when plugging in or disconnecting a malicious USB device, which may lead to a kernel information leak problem.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-02-26 18:02:20 UTC
A flaw was found in the Linux kernel. A use-after-free may be triggered in asus_kbd_backlight_set when plugging/disconnecting in a malicious USB device, which advertises itself as an Asus device.
Similarly to the previous known CVE-2023-25012, but in asus devices, the work_struct may be scheduled by the LED controller while the device is disconnecting, triggering a use-after-free on the struct asus_kbd_leds *led structure. A malicious USB device may exploit the issue to cause memory corruption with controlled data.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4ab3a086d10eeec1424f2e8a968827a6336203df


Note You need to log in before you can comment on or make changes to this bug.