diff options
| author | Jan Kara <jack@suse.cz> | 2026-08-31 11:17:14 +0200 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2026-08-31 11:37:51 +0200 |
| commit | a61fb39759d719a4f4966742b4d28387e33d81c4 (patch) | |
| tree | fe79fdefaa2532a73a6a3200dd4b9f44f1604147 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-a61fb39759d719a4f4966742b4d28387e33d81c4.tar.gz linux-a61fb39759d719a4f4966742b4d28387e33d81c4.zip | |
udf: Make sure there's enough space for LVID implementation use field
udf_lvid_valid() verifies that the LVID has enough space for all the
tables and the reported length of ImplementationUse field. However it
doesn't make sure the reported length is large enough to contain
logicalVolIntegrityDescImpUse structure which OSTA specification
requires. This can thus lead to accesses beyond the end of LVID buffer
for suitably corrupted UDF filesystem. Add the length check.
Reported-by: Yunpeng Tian <shionthanatos@gmail.com>
Reported-by: Gongming Wang <gmwgg05@gmail.com>
Reported-by: Mingda Zhang <npczmd@qq.com>
Reported-by: Qinrun Dai <jupmouse@gmail.com>
Cc: stable@vger.kernel.org
Fixes: 781d2a9a2fc7 ("udf: Check LVID earlier")
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
