coresight: etm4x: missing cscfg_csdev_disable_active_config() in perf enable
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 810ac401db1fe432020d7936a199591000de8279 · < 0a47f0be6557b4a851addd430383a4dc7ee08752| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
coresight: etm4x: missing cscfg_csdev_disable_active_config() in perf enable
In the perf enable path, there are missing cases where cscfg_csdev_disable_active_config() is not called:
- Branch broadcast is selected but not supported by the hardware - etm4_enable_hw() fails
This can lead to a leak of config_desc->active_cnt. Fix this by properly calling cscfg_csdev_disable_active_config() in these error paths.
From the CVE record · Linux
The Linux kernel’s CoreSight ETM4x perf enable path can leak a configuration’s active count when branch broadcast is unsupported or hardware enable fails. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with CoreSight ETM4x should check their versions; affected versions were not provided.