[linux-next:master] [maple_tree] 540335e987: BUG:kernel_NULL_pointer_dereference,address
Andrew Morton
akpm at linux-foundation.org
Thu Jun 19 15:44:46 PDT 2025
On Thu, 19 Jun 2025 15:32:12 +0800 kernel test robot <oliver.sang at intel.com> wrote:
> kernel test robot noticed "BUG:kernel_NULL_pointer_dereference,address" on:
>
> commit: 540335e9878005bf238ab4e1f91e8df0e3091a03 ("maple_tree: restart walk on correct status")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master 6e5ab6fee68df8c40b338baeae6e269fa25a7e25]
>
> ...
>
> [ 85.008687][ T5293] RIP: 0010:mtree_range_walk (lib/maple_tree.c:2773)
Seems this is
if (pivots[0] >= mas->index) {
It seems odd that mtree_range_walk() doesn't (and didn't) check for
ma_pivots() returning NULL.
Oh well, thanks, the report is solid - I'll drop the series.
More information about the maple-tree
mailing list