diff options
| author | Hagar Gamal Halim Hemdan <[email protected]> | 2024-04-30 08:59:16 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-05-03 07:28:53 +0200 |
| commit | 8003f00d895310d409b2bf9ef907c56b42a4e0f4 (patch) | |
| tree | 5c02070102d4937d992cf6fb98a7f0e1356c5b1a /tools/perf/scripts/python/bin | |
| parent | 35230d31056d82a416bba881cceca420fc90d079 (diff) | |
vmci: prevent speculation leaks by sanitizing event in event_deliver()
Coverity spotted that event_msg is controlled by user-space,
event_msg->event_data.event is passed to event_deliver() and used
as an index without sanitization.
This change ensures that the event index is sanitized to mitigate any
possibility of speculative information leaks.
This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.
Only compile tested, no access to HW.
Fixes: 1d990201f9bb ("VMCI: event handling implementation.")
Cc: stable <[email protected]>
Signed-off-by: Hagar Gamal Halim Hemdan <[email protected]>
Link: https://lore.kernel.org/stable/20231127193533.46174-1-hagarhem%40amazon.com
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions