summaryrefslogtreecommitdiff
path: root/tools/include/uapi
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-06-28 10:37:07 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-28 11:49:04 +0200
commit26560c4a03dc4d607331600c187f59ab2df5f341 (patch)
treeea8f5e86676a34b412bb40480e98ffaa9424beb3 /tools/include/uapi
parentcdf3b5af2bc4431e58629e8ad2086b1e9185c761 (diff)
downloadlwn-26560c4a03dc4d607331600c187f59ab2df5f341.tar.gz
lwn-26560c4a03dc4d607331600c187f59ab2df5f341.zip
batman-adv: dat: ensure accessible eth_hdr proto field
When batadv_get_vid() accesses the proto field of the ethernet header, it is not checking if the data itself is accessible. The caller is responsible for it. But in contrast to other call sites, batadv_dat_get_vid() and its caller didn't make sure this is true. This could have caused an out-of-bounds access. Cc: stable@vger.kernel.org Reported-by: Sashiko <sashiko-bot@kernel.org> Fixes: be1db4f6615b ("batman-adv: make the Distributed ARP Table vlan aware") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions