CVE-2026-138848: slimbus: messaging: fix leaked PM vote on tid allocation failure
In the Linux kernel, the following vulnerability has been resolved:
slimbus: messaging: fix leaked PM vote on tid allocation failure
In slimdotransfer(), when a transaction needs a tid and slimalloctxntid() fails, the function returns directly instead of jumping to slimxfererr. The runtime PM vote taken earlier with pmruntimegetsync() is then never released, leaving the controller permanently powered up.
As txn->tid is still 0 at that point, jumping to slimxfererr drops the vote exactly like it is done for other failed transactions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In slim_do_transfer(), release the runtime PM vote taken by pm_runtime_get_sync() when slim_alloc_txn_tid() fails, before returning through the error path.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel SlimBus messaging path are affected when a transfer requires a transaction ID and transaction ID allocation fails. The observable effect is that the SlimBus controller can remain permanently powered up.
What condition triggers the resource leak?
The leak occurs in slim_do_transfer() after pm_runtime_get_sync() has taken a runtime PM vote, when slim_alloc_txn_tid() fails for a transaction that needs a TID. The failure path returns without releasing that vote.
What is the impact if the issue is triggered?
The controller's runtime PM vote is not released, leaving the controller powered up. This can prevent expected runtime power management behavior after the failed transaction.
How does the fix address the issue?
Instead of returning directly after transaction ID allocation fails, the corrected path goes to slim_xfer_err. Because txn->tid is still 0, that error handling releases the runtime PM vote as it does for other failed transactions.