{"id":"CVE-2022-49342","summary":"net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register\n\nof_get_child_by_name() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.","modified":"2026-04-02T08:00:01.963806Z","published":"2025-02-26T02:10:58.604Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49342.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7fb1fe7d9a167205413f1de8db9f7d0f82c78286"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8d91399775c55162073bb2aca061ec42e3d4bc1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49342.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49342"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"55954f3bfdacc5908515b0c306cea23e77fab740"},{"fixed":"b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4"},{"fixed":"7fb1fe7d9a167205413f1de8db9f7d0f82c78286"},{"fixed":"b8d91399775c55162073bb2aca061ec42e3d4bc1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}