kernel_samsung_a53x/fs/udf
Roman Smirnov a8e86c7d9c udf: udftime: prevent overflow in udf_disk_stamp_to_time()
[ Upstream commit 3b84adf460381169c085e4bc09e7b57e9e16db0a ]

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@suse.cz>
Signed-off-by: Roman Smirnov <r.smirnov@omp.ru>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20240327132755.13945-1-r.smirnov@omp.ru>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:07 +01:00
..
balloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
directory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ecma_167.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file.c Revert "fs: add file and path permissions helpers" 2024-11-19 13:30:21 +01:00
ialloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lowlevel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namei.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
osta_udf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
partition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
super.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
truncate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udf_i.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udf_sb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udfdecl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udfend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udftime.c udf: udftime: prevent overflow in udf_disk_stamp_to_time() 2024-11-19 14:19:07 +01:00
unicode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00