CVE-2026-99519: PM: EM: Fix use-after-free of perf domain in netlink doit handlers
In the Linux kernel, the following vulnerability has been resolved:
PM: EM: Fix use-after-free of perf domain in netlink doit handlers
The doit handlers dropped empdlistmutex before dereferencing the perf domain, so a concurrent device unregister could free it while the reply was being built.
Encode the reply from emperfdomainforid() callbacks, which run under the mutex, and allocate the skb outside of it, like the dumpit path already does.
This issue was found by an in-house static analysis tool.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
In the PM EM netlink doit handlers, hold em_pd_list_mutex while dereferencing the perf domain, and allocate the skb outside the mutex, as the dumpit path does.