ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
Description
of_find_i2c_device_by_node() takes a reference, In error paths, we should call put_device() to drop the reference to aviod refount leak.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.5StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.5
- Version 5.10.121StatusunaffectedConstraints<=5.10.*
- Version 5.15.46StatusunaffectedConstraints<=5.15.*
- Version 5.17.14StatusunaffectedConstraints<=5.17.*
- Version 5.18.3StatusunaffectedConstraints<=5.18.*
- Version 5.19StatusunaffectedConstraints<=*
- Version 5.4.198StatusunaffectedConstraints<=5.4.*
- 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 |
|
- ≥ 3.5 · < 5.4.198
- ≥ 5.5 · < 5.10.121
- ≥ 5.11 · < 5.15.46
- ≥ 5.16 · < 5.17.14
- ≥ 5.18 · < 5.18.3
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | 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
No remediation recorded yet.
No CWE recorded.
References (11)
- https://access.redhat.com/security/cve/CVE-2022-49486 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347868 Issue Tracking
- https://git.kernel.org/stable/c/41cd312dfe980af869c3503b4d38e62ed20dd3b7 Patch
- https://git.kernel.org/stable/c/4bfbbfdb3d761323127a67d7d765abe2f77d7b21 Patch
- https://git.kernel.org/stable/c/7f75e9f629ef54a0845b43889d8ab9dd6e280dd5 Patch
- https://git.kernel.org/stable/c/922bccdb1796a9e7b989f2bc6d9ada7b499a4329 Patch
- https://git.kernel.org/stable/c/96fc3da6184af5687e153d420cd7dcdeefdd2f9a Patch
- https://git.kernel.org/stable/c/e84aaf23ca82753d765bf84d05295d9d9c5fed29 Patch
- https://lore.kernel.org/linux-cve-announce/2025022605-CVE-2022-49486-cdcc@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49486
- https://www.cve.org/CVERecord?id=CVE-2022-49486
Change history (0)
No recorded changes yet.