[lvc-project] [PATCH v2] udf: udftime: prevent overflow in udf_disk_stamp_to_time()

Sergey Shtylyov s.shtylyov at omp.ru
Wed Mar 27 18:15:08 MSK 2024


On 3/27/24 4:27 PM, Roman Smirnov wrote:

> An overflow can occur in a situation where src.centiseconds
> takes the value of 255. This situation is unlikely, but there
> is no validation check anywere in the code.
> 
> Found by Linux Verification Center (linuxtesting.org) with Svace.
> 
> Suggested-by: Jan Kara <jack at suse.cz>
> Signed-off-by: Roman Smirnov <r.smirnov at omp.ru>

Reviewed-by: Sergey Shtylyov <s.shtylyov at omp.ru>

[...]

MBR, Sergey



More information about the lvc-project mailing list