CVE-2022-48854

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48854
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48854.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48854
Related
Published
2024-07-16T13:15:12Z
Modified
2024-11-21T07:34:13Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

net: arcemac: Fix use after free in arcmdio_probe()

If bus->state is equal to MDIOBUSALLOCATED, mdiobusfree(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.

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.16.18-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.16.18-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}