DEBIAN-CVE-2022-48961
Record from OSV · Published October 21, 2024
In the Linux kernel, the following vulnerability has been resolved: net: mdio: fix unbalanced fwnode reference count in mdio_device_release() There is warning report about of_node refcount leak while probing mdio device: OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /spi/soc@0/mdio@710700c0/ethernet@4 In of_mdiobus_register_device(), we increase fwnode refcount by fwnode_handle_get() before associating the of_node with mdio device, but it has never been decreased in normal path. Since that, in mdio_device_release(), it needs to call fwnode_handle_put() in addition instead of calling kfree() directly. After above, just calling mdio_device_free() in the error handle path of of_mdiobus_register_device() is enough to keep the refcount balanced.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:13 | 6.1.4-1 |
| linux | Debian:12 | 6.1.4-1 |
| linux | Debian:14 | 6.1.4-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian | linux | |
| Debian:13 | linux | 0 |
| Debian:12 | linux | 0 |
| Debian:14 | linux | 0 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2022-48961
vulnetix vdb fixes DEBIAN-CVE-2022-48961
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2022-48961/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart