-
Ilya Leoshkevich authored
commit ed40866e upstream. s390's struct statfs and struct statfs64 contain padding, which field-by-field copying does not set. Initialize the respective structs with zeros before filling them and copying them to userspace, like it's already done for the compat versions of these structs. Found by KMSAN. [[email protected]: fixed typo in patch description] Acked-by:
Heiko Carstens <[email protected]> Cc: [email protected] # v4.14+ Signed-off-by:
Ilya Leoshkevich <[email protected]> Reviewed-by:
Andrew Morton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by:
Alexander Gordeev <[email protected]> Signed-off-by:
Greg Kroah-Hartman <[email protected]>
24978704
Loading