xtensa: Fix refcount leak bug in time.c
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
Description
In calibrate_ccount(), of_find_compatible_node() will return a node pointer with refcount incremented. We should use of_node_put() when it is not used anymore.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.9StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.9
- Version 4.14.286StatusunaffectedConstraints<=4.14.*
- Version 4.19.250StatusunaffectedConstraints<=4.19.*
- Version 4.9.321StatusunaffectedConstraints<=4.9.*
- Version 5.10.127StatusunaffectedConstraints<=5.10.*
- Version 5.15.51StatusunaffectedConstraints<=5.15.*
- Version 5.18.8StatusunaffectedConstraints<=5.18.*
- Version 5.19StatusunaffectedConstraints<=*
- Version 5.4.202StatusunaffectedConstraints<=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 |
|
- < 4.9.321
- ≥ 4.10 · < 4.14.286
- ≥ 4.15 · < 4.19.250
- ≥ 4.20 · < 5.4.202
- ≥ 5.5 · < 5.10.127
- ≥ 5.11 · < 5.15.51
- ≥ 5.16 · < 5.18.8
- 5.19
- 5.19
- 5.19
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
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not 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 | 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 (14)
- https://access.redhat.com/security/cve/CVE-2022-49682 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347722 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-54551 Advisory
- https://git.kernel.org/stable/c/0dcc1dd8a5dd9240639f1051dfaa2dffc9fbbde5 Patch
- https://git.kernel.org/stable/c/0e403a383c14b63c86bd9df085b7e573e9caee64 Patch
- https://git.kernel.org/stable/c/3e5eb904d9ba657308fc75a5de434b0e58dcb8d7 Patch
- https://git.kernel.org/stable/c/7de4502af68f4f3932f450157f5483eb7b33cb74 Patch
- https://git.kernel.org/stable/c/a0117dc956429f2ede17b323046e1968d1849150 Patch
- https://git.kernel.org/stable/c/af0ff2da01521144bc11194f4c26485d7c9cee73 Patch
- https://git.kernel.org/stable/c/e5234a9d64a976abd134a14710dcd5188158a7c5 Patch
- https://git.kernel.org/stable/c/f1eaf4ba5372ad111f687a80c67e270708e14c23 Patch
- https://lore.kernel.org/linux-cve-announce/2025022626-CVE-2022-49682-87bd@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49682
- https://www.cve.org/CVERecord?id=CVE-2022-49682
Change history (0)
No recorded changes yet.