freebsd-skq/sys/dev/sfxge/common
Andrew Rybchenko 94a7dab5bf sfxge(4): check buffer size for hash flags
The efx_rx_scale_hash_flags_get interface is unsafe, as it does not
have an argument for the size of the output buffer used to return
the flags. While the only caller currently supplies a sufficiently
large buffer, this should be checked at runtime to avoid writing
past the end of the buffer.

Submitted by:   Ivan Malov <ivan.malov at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18267
2018-11-30 07:07:09 +00:00
..
ef10_ev.c sfxge(4): add routine to check for hardware presence 2018-11-30 07:05:49 +00:00
ef10_filter.c sfxge(4): fix a typo in unicast filter insertion comment 2018-11-30 07:06:35 +00:00
ef10_image.c sfxge(4): add signed image layout support 2018-11-29 06:41:41 +00:00
ef10_impl.h sfxge(4): add support to get active FEC type 2018-11-30 07:06:46 +00:00
ef10_intr.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_mac.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_mcdi.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
ef10_nic.c sfxge(4): add API to inform libefx of hardware removal 2018-11-30 07:06:01 +00:00
ef10_nvram.c sfxge(4): generalise EF10 NVRAM buffer interface 2018-11-30 07:05:00 +00:00
ef10_phy.c sfxge(4): add support to get active FEC type 2018-11-30 07:06:46 +00:00
ef10_rx.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_signed_image_layout.h sfxge(4): add firmware image layout option 2018-11-29 06:29:24 +00:00
ef10_tlv_layout.h sfxge(4): update autogenerated MCDI and TLV headers 2018-11-29 06:45:04 +00:00
ef10_tx.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_vpd.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
efsys.h sfxge(4): move empty efsys definitions to EFX headers 2018-11-30 05:50:01 +00:00
efx_annote.h sfxge(4): check buffer size for hash flags 2018-11-30 07:07:09 +00:00
efx_bootcfg.c sfxge(4): add buffer editing functions to boot config 2018-11-30 07:04:37 +00:00
efx_check.h sfxge(4): support equal stride super-buffer Rx mode 2018-11-29 06:45:38 +00:00
efx_crc32.c
efx_ev.c sfxge(4): add Medford2 support to EV module 2018-11-27 12:20:12 +00:00
efx_filter.c sfxge(4): support MARK and FLAG actions in filters 2018-11-29 06:46:10 +00:00
efx_hash.c
efx_impl.h sfxge(4): add support to get active FEC type 2018-11-30 07:06:46 +00:00
efx_intr.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
efx_lic.c sfxge(4): fix ID retrieval in v3 licensing 2018-11-30 07:06:13 +00:00
efx_mac.c sfxge(4): generate Medford2 RxDP stats 2018-11-29 06:46:33 +00:00
efx_mcdi.c sfxge(4): add routine to check for hardware presence 2018-11-30 07:05:49 +00:00
efx_mcdi.h sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
efx_mon.c sfxge(4): add API to retrieve sensor limits 2018-11-30 07:04:25 +00:00
efx_nic.c sfxge(4): prevent access to the NIC config before probe 2018-11-30 07:06:24 +00:00
efx_nvram.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
efx_phy_ids.h
efx_phy.c sfxge(4): add support to get active FEC type 2018-11-30 07:06:46 +00:00
efx_port.c sfxge(4): fix PreFAST warnings because of unused return 2018-11-29 06:47:06 +00:00
efx_regs_ef10.h sfxge(4): add equal stride super-buffer prefix layout 2018-11-29 06:45:50 +00:00
efx_regs_mcdi_aoe.h sfxge(4): update MCDI headers 2018-11-29 06:43:23 +00:00
efx_regs_mcdi_strs.h sfxge(4): add generated description of sensors 2018-11-30 05:54:30 +00:00
efx_regs_mcdi.h sfxge(4): update autogenerated MCDI and TLV headers 2018-11-29 06:45:04 +00:00
efx_regs_pci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
efx_regs.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
efx_rx.c sfxge(4): check buffer size for hash flags 2018-11-30 07:07:09 +00:00
efx_sram.c sfxge(4): add Medford2 support to SRAM module 2018-11-27 12:21:53 +00:00
efx_tunnel.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
efx_tx.c sfxge(4): remove probes when a Tx queue is too full 2018-11-30 05:54:19 +00:00
efx_types.h sfxge(4): cope with clang warning on negative shift 2018-11-29 06:44:20 +00:00
efx_vpd.c sfxge(4): add Medford2 support to VPD module 2018-11-27 12:22:14 +00:00
efx.h sfxge(4): check buffer size for hash flags 2018-11-30 07:07:09 +00:00
hunt_impl.h
hunt_nic.c sfxge(4): add information if TSO workaround is required 2018-11-30 07:05:23 +00:00
mcdi_mon.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
mcdi_mon.h sfxge(4): add API to retrieve sensor limits 2018-11-30 07:04:25 +00:00
medford2_impl.h sfxge(4): add Medford2 support to NIC module 2018-11-27 12:14:16 +00:00
medford2_nic.c sfxge(4): add information if TSO workaround is required 2018-11-30 07:05:23 +00:00
medford_impl.h sfxge(4): remove unused defined for WPTR alignment 2018-11-24 15:24:35 +00:00
medford_nic.c sfxge(4): add information if TSO workaround is required 2018-11-30 07:05:23 +00:00
siena_flash.h sfxge(4): regenerate files with genfwdef after ID update 2018-11-26 07:15:19 +00:00
siena_impl.h sfxge(4): fix diagnostics support build without Siena 2018-11-24 16:29:11 +00:00
siena_mac.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_mcdi.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
siena_nic.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_nvram.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_phy.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_sram.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
siena_vpd.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00