net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks (Linux Linux)

CVE-2022-49386
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. am65_cpsw_init_cpts() and am65_cpsw_nuss_probe() don't release the refcount in error case. Add missing of_node_put() to avoid refcount leak.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 93a76530316a3d8cc2d82c3deca48424fee92100 < f7ba2cc57f404d2d9f26fb85bd3833d35a477829 ; affected 93a76530316a3d8cc2d82c3deca48424fee92100 < a4b7ef3b159805ba6be061d0cd2403d84b9b0063 ; affected 93a76530316a3d8cc2d82c3deca48424fee92100 < 78aca10a16f001c9f49f1cc4dadfee8d444bb173 ; affected 93a76530316a3d8cc2d82c3deca48424fee92100 < 2e44f21c384503562713b7d3b673c40bed20af3d ; affected 93a76530316a3d8cc2d82c3deca48424fee92100 < 5dd89d2fc438457811cbbec07999ce0d80051ff5
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.122 ≤ 5.10.* ; unaffected 5.15.47 ≤ 5.15.* ; unaffected 5.17.15 ≤ 5.17.* ; unaffected 5.18.4 ≤ 5.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD