{"id":"CVE-2026-31486","aliases":["CVE-2026-31486"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: (pmbus/core) Protect regulator operations with mutex","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/core) Protect regulator operations with mutex\n\nThe regulator operations pmbus_regulator_get_voltage(),\npmbus_regulator_set_voltage(), and pmbus_regulator_list_voltage()\naccess PMBus registers and shared data but were not protected by\nthe update_lock mutex. This could lead to race conditions.\n\nHowever, adding mutex protection directly to these functions causes\na deadlock because pmbus_regulator_notify() (which calls\nregulator_notifier_call_chain()) is often called with the mutex\nalready held (e.g., from pmbus_fault_handler()). If a regulator\ncallback then calls one of the now-protected voltage functions,\nit will attempt to acquire the same mutex.\n\nRework pmbus_regulator_notify() to utilize a worker function to\nsend notifications outside of the mutex protection. Events are\nstored as atomics in a per-page bitmask and processed by the worker.\n\nInitialize the worker and its associated data during regulator\nregistration, and ensure it is cancelled on device removal using\ndevm_add_action_or_reset().\n\nWhile at it, remove the unnecessary include of linux/of.h.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/core) Protect regulator operations with mutex\n\nThe regulator operations pmbus_regulator_get_voltage(),\npmbus_regulator_set_voltage(), and pmbus_regulator_list_voltage()\naccess PMBus registers and shared data but were not protected by\nthe update_lock mutex. This could lead to race conditions.\n\nHowever, adding mutex protection directly to these functions causes\na deadlock because pmbus_regulator_notify() (which calls\nregulator_notifier_call_chain()) is often called with the mutex\nalready held (e.g., from pmbus_fault_handler()). If a regulator\ncallback then calls one of the now-protected voltage functions,\nit will attempt to acquire the same mutex.\n\nRework pmbus_regulator_notify() to utilize a worker function to\nsend notifications outside of the mutex protection. Events are\nstored as atomics in a per-page bitmask and processed by the worker.\n\nInitialize the worker and its associated data during regulator\nregistration, and ensure it is cancelled on device removal using\ndevm_add_action_or_reset().\n\nWhile at it, remove the unnecessary include of linux/of.h.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhwmon: (pmbus/core) Proteger las operaciones del regulador con un mutex\n\nLas operaciones del regulador pmbus_regulator_get_voltage(), pmbus_regulator_set_voltage(), y pmbus_regulator_list_voltage() acceden a los registros PMBus y a datos compartidos, pero no estaban protegidas por el mutex update_lock. Esto podría llevar a condiciones de carrera.\n\nSin embargo, añadir protección de mutex directamente a estas funciones causa un interbloqueo porque pmbus_regulator_notify() (que llama a regulator_notifier_call_chain()) a menudo se llama con el mutex ya retenido (por ejemplo, desde pmbus_fault_handler()). Si una devolución de llamada del regulador llama entonces a una de las funciones de voltaje ahora protegidas, intentará adquirir el mismo mutex.\n\nReestructurar pmbus_regulator_notify() para utilizar una función de trabajador para enviar notificaciones fuera de la protección del mutex. Los eventos se almacenan como atómicos en una máscara de bits por página y son procesados por el trabajador.\n\nInicializar el trabajador y sus datos asociados durante el registro del regulador, y asegurar que se cancele al retirar el dispositivo utilizando devm_add_action_or_reset().\n\nDe paso, eliminar la inclusión innecesaria de linux/of.h.","source":"nvd"}],"published":"2026-04-22T13:54:11.594Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-362","CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"f0c9ea9c3a208e79c812e10e2bcef87b46564f01","status":"affected"},{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"b26849cffaa7c43355b82e9bef3725e786973a1a","status":"affected"},{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"acf04e2863132f6d9222f71f3a76fb9782cbe061","status":"affected"},{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"4e9d723d9f198b86f6882a84c501ba1f39e8d055","status":"affected"},{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"2c77ae315f3ce9d2c8e1609be74c9358c1fe4e07","status":"affected"},{"type":"git","introduced":"ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7","fixed":"754bd2b4a084b90b5e7b630e1f423061a9b9b761","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.19.1","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"3.19"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f0c9ea9c3a208e79c812e10e2bcef87b46564f01","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b26849cffaa7c43355b82e9bef3725e786973a1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acf04e2863132f6d9222f71f3a76fb9782cbe061","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e9d723d9f198b86f6882a84c501ba1f39e8d055","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c77ae315f3ce9d2c8e1609be74c9358c1fe4e07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/754bd2b4a084b90b5e7b630e1f423061a9b9b761","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:10:08.417Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31486","url":"https://www.cve.org/CVERecord?id=CVE-2026-31486","licence":"CVE Terms of Use","modified":"2026-10-30T12:24:16.113Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31486","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31486","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.286Z","epss":{"score":0.00138,"percentile":0.01576,"date":"2026-11-29T12:00:22.000Z"}}