CVE-2025-37946

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37946
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37946.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37946
Downstream
Related
Published
2025-05-20T16:15:32Z
Modified
2025-06-07T05:01:30Z
Summary
[none]
Details

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

s390/pci: Fix duplicate pcidevput() in disable_slot() when PF has child VFs

With commit bcb5d6c76903 ("s390/pci: introduce lock to synchronize state of zpcidev's") the code to ignore power off of a PF that has child VFs was changed from a direct return to a goto to the unlock and pcidevput() section. The change however left the existing pcidevput() untouched resulting in a doubple put. This can subsequently cause a use after free if the struct pcidev is released in an unexpected state. Fix this by removing the extra pcidevput().

References

Affected packages

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
6.12.29-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}