CVE-2022-49342

Source
https://cve.org/CVERecord?id=CVE-2022-49342
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49342.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49342
Downstream
Related
Published
2025-02-26T02:10:58.604Z
Modified
2026-03-12T03:25:03.503241Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
Details

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: bgmac: Fix refcount leak in bcmamdiomii_register

ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49342.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49342.json"