CVE-2022-48854
publishednet: arc_emac: Fix use after free in arc_mdio_probe()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux95b5fc03c189e4ea5c63785274cc0b77fcc3a818 to < 84c831803785c2c3bec5c28c0e8a0b72f6b41d4d · 95b5fc03c189e4ea5c63785274cc0b77fcc3a818 to < bc0e610a6eb0d46e4123fafdbe5e6141d9fff3be · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 5.16.15 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: arc_emac: Fix use after free in arc_mdio_probe() If bus->state is equal to MDIOBUS_ALLOCATED, mdiobus_free(bus) will free the "bus". But bus->name is still used in the next line, which will lead to a use after free. We can fix it by putting the name in a local variable and make the bus->name point to the rodata section "name",then use the name in the error message without referring to bus to avoid the uaf.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 95b5fc03c189e4ea5c63785274cc0b77fcc3a818 to < 84c831803785c2c3bec5c28c0e8a0b72f6b41d4d (affected · git)95b5fc03c189e4ea5c63785274cc0b77fcc3a818 to < bc0e610a6eb0d46e4123fafdbe5e6141d9fff3be (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)5.16.15 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
net: arc_emac: Fix use after free in arc_mdio_probe()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7a08b79c392293d6f524baadabd247e5fccb6cc9812489b148af82cab05e79c8
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record