CVE-2022-48861

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

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

vdpa: fix use-after-free on vpvdparemove

When vpvdpa driver is unbind, vpvdpa is freed in vdpaunregisterdevice and then vpvdpa->mdev.pcidev is dereferenced in vpmodernremove, triggering use-after-free.

Call Trace of unbinding driver free vpvdpa : dosyscall64 vfswrite kernfsfopwriteiter devicereleasedriverinternal pcideviceremove vpvdparemove vdpaunregisterdevice kobjectrelease devicerelease kfree

Call Trace of dereference vpvdpa->mdev.pcidev: vpmodernremove pcireleaseselectedregions pcireleaseregion pciresourcelen pciresource_end (dev)->resource[(bar)].end

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"
}