Bug 2348005 (CVE-2022-49555)

Summary: CVE-2022-49555 kernel: Bluetooth: hci_qca: Use del_timer_sync() before freeing
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-02-26 03:14:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_qca: Use del_timer_sync() before freeing

While looking at a crash report on a timer list being corrupted, which
usually happens when a timer is freed while still active. This is
commonly triggered by code calling del_timer() instead of
del_timer_sync() just before freeing.

One possible culprit is the hci_qca driver, which does exactly that.

Eric mentioned that wake_retrans_timer could be rearmed via the work
queue, so also move the destruction of the work queue before
del_timer_sync().

Comment 1 Avinash Hanwate 2025-02-26 13:49:49 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022616-CVE-2022-49555-64d2@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 18:02:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022616-CVE-2022-49555-64d2@gregkh/T