Re: [PATCH v2] netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer
From: David Howells
Date: Tue Oct 01 2024 - 08:54:41 EST
Chang Yu <marcus.yu.56@xxxxxxxxx> wrote:
> Use folioq_count instead of folioq_nr_slots to fix a KMSAN uninit-value
> error in netfs_clear_buffer
>
> Signed-off-by: Chang Yu <marcus.yu.56@xxxxxxxxx>
> Reported-by: syzbot+921873345a95f4dae7e9@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://syzkaller.appspot.com/bug?extid=921873345a95f4dae7e9
> Fixes: cd0277ed0c18 ("netfs: Use new folio_queue data type and iterator instead of xarray iter")
Acked-by: David Howells <dhowells@xxxxxxxxxx>
Christian: Can you pick this up?