dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
Published Apr 28, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
Description
We should call of_node_put() for the reference returned by of_parse_phandle() in fail path or when it is not used anymore. Here we only need to move the of_node_put() before the check.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.6StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.6
- Version 5.10.146StatusunaffectedConstraints<=5.10.*
- Version 5.15.71StatusunaffectedConstraints<=5.15.*
- Version 5.19.12StatusunaffectedConstraints<=5.19.*
- Version 6.0StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.6.0 · < 5.10.146
- ≥ 5.11.0 · < 5.15.71
- ≥ 5.16.0 · < 5.19.12
No data.
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
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| 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 | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48656 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2277806 Issue Tracking
- https://git.kernel.org/stable/c/a17df55bf6d536712da6902a83db82b82e67d5a2 Patch
- https://git.kernel.org/stable/c/aa11dae059a439af82bae541b134f8f53ac177b5 Patch
- https://git.kernel.org/stable/c/dd5a6c5a08752b613e83ad2cb5133e72a64b876d Patch
- https://git.kernel.org/stable/c/f9fdb0b86f087c2b7f6c6168dd0985a3c1eda87e Patch
- https://lore.kernel.org/linux-cve-announce/2024042859-CVE-2022-48656-1d7a@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48656
- https://www.cve.org/CVERecord?id=CVE-2022-48656
Change history (0)
No recorded changes yet.