soc: ti: k3-socinfo: Fix regmap leak on probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a5caf03188e44388e8c618dcbe5fffad1a249385 · < ab1ac24c407e4df326d7154a4deadd444e9209d9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: ti: k3-socinfo: Fix regmap leak on probe failure
The mmio regmap allocated during probe is never freed.
Switch to using the device managed allocator so that the regmap is released on probe failures (e.g. probe deferral) and on driver unbind.
From the CVE record · Linux
The TI K3 SoC info driver does not free an MMIO regmap allocated during probe, causing a resource leak on probe failure, such as probe deferral, or driver unbind. The input does not identify an attacker action, access requirement, or user interaction needed to trigger it.
Engineers running the Linux kernel with the TI K3 SoC info driver should check their installations; affected versions were not provided.