{"id":"CVE-2022-48854","published":"2024-07-16T12:25:20Z","modified":"2026-05-11T18:48:26Z","title":"net: arc_emac: Fix use after free in arc_mdio_probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: arc_emac: Fix use after free in arc_mdio_probe()\n\nIf bus->state is equal to MDIOBUS_ALLOCATED, mdiobus_free(bus) will free\nthe \"bus\". But bus->name is still used in the next line, which will lead\nto a use after free.\n\nWe can fix it by putting the name in a local variable and make the\nbus->name point to the rodata section \"name\",then use the name in the\nerror message without referring to bus to avoid the uaf.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00202,"percentile":0.10337,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/84c831803785c2c3bec5c28c0e8a0b72f6b41d4d","tags":[]},{"url":"https://git.kernel.org/stable/c/bc0e610a6eb0d46e4123fafdbe5e6141d9fff3be","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 95b5fc03c189e4ea5c63785274cc0b77fcc3a818, < 84c831803785c2c3bec5c28c0e8a0b72f6b41d4d",">= 95b5fc03c189e4ea5c63785274cc0b77fcc3a818, < bc0e610a6eb0d46e4123fafdbe5e6141d9fff3be"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:25:55.573548Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53733","exploited":false,"provenance":"source"}}