Bug 2334403 (CVE-2024-53239)

Summary: CVE-2024-53239 kernel: ALSA: 6fire: Release resources at card release
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, rhel-process-autobot, vkumar, watson-tool-maintainers
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 flaw was found in the Linux kernel's ALSA (Advanced Linux Sound Architecture) 6fire audio driver. During device disconnection, the driver prematurely releases resources while the sound card object remains in use, causing a use-after-free condition where memory is accessed after being released. A local user could exploit this vulnerability to cause a Denial of Service (DoS) by crashing the system.
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 2024-12-27 14:04:42 UTC
In the Linux kernel, the following vulnerability has been resolved:

ALSA: 6fire: Release resources at card release

The current 6fire code tries to release the resources right after the
call of usb6fire_chip_abort().  But at this moment, the card object
might be still in use (as we're calling snd_card_free_when_closed()).

For avoid potential UAFs, move the release of resources to the card's
private_free instead of the manual call of usb6fire_chip_destroy() at
the USB disconnect callback.

Comment 1 Avinash Hanwate 2024-12-28 10:54:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122740-CVE-2024-53239-b661@gregkh/T