Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-48854

net: arc_emac: Fix use after free in arc_mdio_probe()

High7.8EPSS 0.20%
Published
Updated
Reserved
Assigned by
Linux

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.

Scores

CVSS scores of CVE-2022-48854, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.20% · top 90% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Weakness

Affected products

  • Linux · Linux

    • affected 95b5fc03c189e4ea5c63785274cc0b77fcc3a818 – < 84c831803785c2c3bec5c28c0e8a0b72f6b41d4d
    • affected 95b5fc03c189e4ea5c63785274cc0b77fcc3a818 – < bc0e610a6eb0d46e4123fafdbe5e6141d9fff3be
  • Linux · Linux

    • affected 5.16
    • unaffected < 5.16
    • unaffected 5.16.15 – ≤ 5.16.*
    • unaffected 5.17 – ≤ *

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-48854 badge
[![CVE-2022-48854](https://trackcve.app/badge/CVE-2022-48854.svg)](https://trackcve.app/cve/CVE-2022-48854)

Record last updated .