hwmon: (pmbus/core) Protect regulator operations with mutex
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/core) Protect regulator operations with mutex The regulator operations pmbus_regulator_get_voltage(), pmbus_regulator_set_voltage(), and pmbus_regulator_list_voltage() access PMBus registers and shared data but were not protected by the update_lock mutex. This could lead to race conditions. However, adding mutex protection directly to these functions causes a deadlock because pmbus_regulator_notify() (which calls regulator_notifier_call_chain()) is often called with the mutex already held (e.g., from pmbus_fault_handler()). If a regulator callback then calls one of the now-protected voltage functions, it will attempt to acquire the same mutex. Rework pmbus_regulator_notify() to utilize a worker function to send notifications outside of the mutex protection. Events are stored as atomics in a per-page bitmask and processed by the worker. Initialize the worker and its associated data during regulator registration, and ensure it is cancelled on device removal using devm_add_action_or_reset(). While at it, remove the unnecessary include of linux/of.h.
CVE-2026-31486
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-31486
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7",
"lessThan": "b26849cffaa7c43355b82e9bef3725e786973a1a",
"versionType": "git"
},
{
"status": "affected",
"version": "ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7",
"lessThan": "acf04e2863132f6d9222f71f3a76fb9782cbe061",
"versionType": "git"
},
{
"status": "affected",
"version": "ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7",
"lessThan": "4e9d723d9f198b86f6882a84c501ba1f39e8d055",
"versionType": "git"
},
{
"status": "affected",
"version": "ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7",
"lessThan": "2c77ae315f3ce9d2c8e1609be74c9358c1fe4e07",
"versionType": "git"
},
{
"status": "affected",
"version": "ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7",
"lessThan": "754bd2b4a084b90b5e7b630e1f423061a9b9b761",
"versionType": "git"
}
],
"programFiles": [
"drivers/hwmon/pmbus/pmbus_core.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.92",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.21",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.11",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hwmon/pmbus/pmbus_core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-31486
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #39907 · Revision 1
- Added to Heist Feed
- Publisher date