pmdomain: core: Fix detach procedure for virtual devices in genpd
Linux Linux
At a glance
In the Linux kernel, the following vulnerability has been resolved: pmdomain: core: Fix detach procedure for virtual devices in genpd If a device is attached to a PM domain through genpd_dev_pm_attach_by_id(), genpd calls pm_runtime_enable() for the corresponding virtual device that it registers. While this avoids boilerplate code in drivers, there is no corresponding call to pm_runtime_disable() in genpd_dev_pm_detach(). This means these virtual devices are typically detached from its genpd, while runtime PM remains enabled for them, which is not how things are designed to work. In worst cases it may lead to critical errors, like a NULL pointer dereference bug in genpd_runtime_suspend(), which was recently reported. For another case, we may end up keeping an unnecessary vote for a performance state for the device. To fix these problems, let's add this missing call to pm_runtime_disable() in genpd_dev_pm_detach().
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.123%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Linux | Linux | Affected versions:4.18Show full version range for Linux
Git commit ranges (source code)
|
| Vendor:Red Hat | Red Hat Enterprise Linux 10 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 9 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Desktop 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Availability Extension 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected versions:Source does not specify a version range |
1–10 of 35 · Page 1 of 4
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HRed Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences