Bug 2172948 (CVE-2023-25012)

Summary: CVE-2023-25012 kernel: hid: use-after-free in bigben_set_led()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dhoward, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel. This issue may be triggered in the bigben_set_led() function when plugging in a malicious USB device that advertises itself as a bigben device. This flaw allows a local user with physical access to cause a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-23 22:06:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2172950    
Bug Blocks: 2164366    

Description Mauro Matteo Cascella 2023-02-23 15:18:51 UTC
A flaw was found in the Linux kernel. A use-after-free may be triggered in bigben_set_led() when plugging in a malicious USB device, which advertises itself as a bigben device.

References:
https://seclists.org/oss-sec/2023/q1/53
https://lore.kernel.org/all/20230125-hid-unregister-leds-v4-3-7860c5763c38@diag.uniroma1.it/

Upstream commit:
https://github.com/torvalds/linux/commit/76ca8da989c7d97a7f76c75d475fe95a584439d7

Comment 1 Mauro Matteo Cascella 2023-02-23 15:19:14 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2172950]

Comment 2 Product Security DevOps Team 2023-02-23 22:06:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-25012

Comment 3 Justin M. Forbes 2023-03-21 14:29:03 UTC
This was fixed for Fedora with the 6.1.16 stable kernel updates.