ALSA: 6fire: Release resources at card release
Published Dec 27, 2024
7.8
HIGHCVSS 3.1
EPSS 0.29%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 2.6.39StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<2.6.39
- Version 4.19.325StatusunaffectedConstraints<=4.19.*
- Version 5.10.231StatusunaffectedConstraints<=5.10.*
- Version 5.15.174StatusunaffectedConstraints<=5.15.*
- Version 5.4.287StatusunaffectedConstraints<=5.4.*
- Version 6.1.120StatusunaffectedConstraints<=6.1.*
- Version 6.11.11StatusunaffectedConstraints<=6.11.*
- Version 6.12.2StatusunaffectedConstraints<=6.12.*
- Version 6.13StatusunaffectedConstraints<=*
- Version 6.6.64StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 2.6.39 · < 4.19.325
- ≥ 4.20 · < 5.4.287
- ≥ 5.5 · < 5.10.231
- ≥ 5.11 · < 5.15.174
- ≥ 5.16 · < 6.1.120
- ≥ 6.2 · < 6.6.64
- ≥ 6.7 · < 6.11.11
- ≥ 6.12 · < 6.12.2
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue is considered to be a moderate impact flaw, as the exploitation for this will need an ADMIN (or ROOT) privilege (PR:H).
References (16)
- https://access.redhat.com/security/cve/CVE-2024-53239 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2334403 Issue Tracking
- https://git.kernel.org/stable/c/0df7f4b5cc10f5adf98be0845372e9eef7bb5b09 Patch
- https://git.kernel.org/stable/c/273eec23467dfbfbd0e4c10302579ba441fb1e13 Patch
- https://git.kernel.org/stable/c/57860a80f03f9dc69a34a5c37b0941ad032a0a8c Patch
- https://git.kernel.org/stable/c/74357d0b5cd3ef544752bc9f21cbeee4902fae6c Patch
- https://git.kernel.org/stable/c/a0810c3d6dd2d29a9b92604d682eacd2902ce947 Patch
- https://git.kernel.org/stable/c/b754e831a94f82f2593af806741392903f359168 Patch
- https://git.kernel.org/stable/c/b889a7d68d7e76b8795b754a75c91a2d561d5e8c Patch
- https://git.kernel.org/stable/c/ea8cc56db659cf0ae57073e32a4735ead7bd7ee3 Patch
- https://git.kernel.org/stable/c/f2d06d4e129e2508e356136f99bb20a332ff1a00 Patch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://lore.kernel.org/linux-cve-announce/2024122740-CVE-2024-53239-b661@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-53239
- https://www.cve.org/CVERecord?id=CVE-2024-53239
Change history (0)
No recorded changes yet.