aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2020-03-02 21:05:12 -0800
committerDavid S. Miller <[email protected]>2020-03-03 13:28:48 -0800
commitff3b63b8c299b73ac599b120653b47e275407656 (patch)
treee71ad398f27acf146bb2662be545beed64628fa8 /drivers/fpga/fpga-bridge.c
parent8750939b6ad86abc3f53ec8a9683a1cded4a5654 (diff)
devlink: validate length of region addr/len
DEVLINK_ATTR_REGION_CHUNK_ADDR and DEVLINK_ATTR_REGION_CHUNK_LEN lack entries in the netlink policy. Corresponding nla_get_u64()s may read beyond the end of the message. Fixes: 4e54795a27f5 ("devlink: Add support for region snapshot read command") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Jiri Pirko <[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