aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2022-01-13 21:44:19 +0000
committerMatthew Wilcox (Oracle) <[email protected]>2022-01-13 21:50:50 +0000
commit6840f9094f2bd788a316d8cb0a4e42538d3e47dd (patch)
treefdf243f4cbabe294b4091af6c4696801a24e6e97 /lib/string_helpers.c
parentMerge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl... (diff)
downloadkernel-6840f9094f2bd788a316d8cb0a4e42538d3e47dd.tar.gz
kernel-6840f9094f2bd788a316d8cb0a4e42538d3e47dd.zip
pagevec: Initialise folio_batch->percpu_pvec_drained
When UBSAN is enabled, it reports an invalid value in __pagevec_release() when accessing pvec->percpu_pvec_drained, which is simply whatever garbage was on the stack. Initialise it when initialising the rest of the folio_batch. Fixes: 10331795fb79 ("pagevec: Add folio_batch") Reported-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions