summaryrefslogtreecommitdiffstats
path: root/fs/isofs
diff options
context:
space:
mode:
authorJan Kara2012-07-10 17:58:04 +0200
committerJan Kara2012-07-10 18:02:17 +0200
commit57b9655d01ef057a523e810d29c37ac09b80eead (patch)
tree2574c27c92170f6e580ac9d59c5719bffae994d1 /fs/isofs
parentext3: Check return value of blkdev_issue_flush() (diff)
downloadkernel-qcow2-linux-57b9655d01ef057a523e810d29c37ac09b80eead.tar.gz
kernel-qcow2-linux-57b9655d01ef057a523e810d29c37ac09b80eead.tar.xz
kernel-qcow2-linux-57b9655d01ef057a523e810d29c37ac09b80eead.zip
udf: Improve table length check to avoid possible overflow
When a partition table length is corrupted to be close to 1 << 32, the check for its length may overflow on 32-bit systems and we will think the length is valid. Later on the kernel can crash trying to read beyond end of buffer. Fix the check to avoid possible overflow. CC: stable@vger.kernel.org Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions