diff options
author | Jarkko Nikula <[email protected]> | 2023-09-21 08:56:56 +0300 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-09-25 23:35:14 +0200 |
commit | 45a832f989e520095429589d5b01b0c65da9b574 (patch) | |
tree | 8b322227b0633b1848050c0bba1381106d9140df /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0676bfebf5766f0a60549f74ba597115028fa39c (diff) |
i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
Do not loop over ring headers in hci_dma_irq_handler() that are not
allocated and enabled in hci_dma_init(). Otherwise out of bounds access
will occur from rings->headers[i] access when i >= number of allocated
ring headers.
Signed-off-by: Jarkko Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions