linux/drivers/ntb/hw
Maciej Grochowski c8ba7ad2cc ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access
Number of MW LUTs depends on NTB configuration and can be set to MAX_MWS,
This patch protects against invalid index out of bounds access to mw_sizes
When invalid access print message to user that configuration is not valid.

Signed-off-by: Maciej Grochowski <Maciej.Grochowski@sony.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
History 2026-02-20 17:31:55 -05:00
..
amd ntb_hw_amd: Update amd_ntb_get_link_status to support latest generation secondary topology 2025-09-22 09:35:20 -04:00
epf NTB: epf: allow built-in build 2026-02-20 17:31:55 -05:00
idt ntb: reduce stack usage in idt_scan_mws 2025-03-18 13:34:59 -04:00
intel ntb: intel: Fix using link status DB's 2025-03-18 10:22:48 -04:00
mscc ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access 2026-02-20 17:31:55 -05:00
Kconfig NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00
Makefile NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00