diff options
| author | Tetsuo Handa <[email protected]> | 2024-01-03 01:52:22 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-01-05 17:58:32 +0000 |
| commit | 7fba9420b726561966e1671004df60a08b39beb3 (patch) | |
| tree | eca181f2b279f9b10c5aa5b9f698b551e9a1f1a1 /drivers/fpga/fpga-bridge.c | |
| parent | mailmap: add entries for Mathieu Othacehe (diff) | |
| download | kernel-7fba9420b726561966e1671004df60a08b39beb3.tar.gz kernel-7fba9420b726561966e1671004df60a08b39beb3.zip | |
mm: shrinker: use kvzalloc_node() from expand_one_shrinker_info()
syzbot is reporting uninit-value at shrinker_alloc(), for commit
307bececcd12 ("mm: shrinker: add a secondary array for
shrinker_info::{map, nr_deferred}") which assumed that the ->unit was
allocated with __GFP_ZERO forgot to replace kvmalloc_node() in
expand_one_shrinker_info() with kvzalloc_node().
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: syzbot <[email protected]>
Closes: https://syzkaller.appspot.com/bug?extid=1e0ed05798af62917464
Fixes: 307bececcd12 ("mm: shrinker: add a secondary array for shrinker_info::{map, nr_deferred}")
Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Qi Zheng <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
