summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRoman Smirnov <r.smirnov@omp.ru>2024-06-20 09:24:13 +0200
committerJan Kara <jack@suse.cz>2024-06-26 12:54:11 +0200
commit56e69e59751d20993f243fb7dd6991c4e522424c (patch)
tree8d479c29747d9eb7121ee5b109ef530eaad08b8a /net
parentudf: Avoid excessive partition lengths (diff)
downloadlinux-56e69e59751d20993f243fb7dd6991c4e522424c.tar.xz
linux-56e69e59751d20993f243fb7dd6991c4e522424c.zip
udf: prevent integer overflow in udf_bitmap_free_blocks()
An overflow may occur if the function is called with the last block and an offset greater than zero. It is necessary to add a check to avoid this. Found by Linux Verification Center (linuxtesting.org) with Svace. [JK: Make test cover also unalloc table freeing] Link: https://patch.msgid.link/20240620072413.7448-1-r.smirnov@omp.ru Suggested-by: Jan Kara <jack@suse.com> Signed-off-by: Roman Smirnov <r.smirnov@omp.ru> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions