aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGavrilov Ilia <[email protected]>2023-05-23 08:29:44 +0000
committerDavid S. Miller <[email protected]>2023-05-24 08:43:39 +0100
commit878ecb0897f4737a4c9401f3523fd49589025671 (patch)
tree6dd2f5ec7fe7f198dcc376e27b8c8adc38d6c3ef /drivers/fpga/fpga-bridge.c
parentba46c96db93905f93ebee8ed824cae6790a5ce34 (diff)
ipv6: Fix out-of-bounds access in ipv6_find_tlv()
optlen is fetched without checking whether there is more than one byte to parse. It can lead to out-of-bounds access. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE. Fixes: c61a40432509 ("[IPV6]: Find option offset by type.") Signed-off-by: Gavrilov Ilia <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions