v1
2026-10-29
修复库RCU与哈希表死锁 · v1
修复maple_tree空树RCU读空指针与rhashtable原子rehash的vmalloc死锁。
原始补丁链接
子 Patch(4)
1/4
maple_tree: Fix rcu reader NULL dereference after the tree is emptied
RCU readers may hit a NULL dereference if the tree is emptied while the walker is restarted from a dead node. Avoid the NULL dereference by checking for an emptied/pointer tree (0->ptr, 1-ULONG_MAX -
2/4
maple_tree: Test emptying tree while RCU reading
Add a test case for the rcu reader being restarted by emptying the tree. Signed-off-by: Liam R. Howlett (Google) liam@infradead.org — lib/test_maple_tree.c | 129 ++++++++++++++++++++++++++++++++
3/4
maple_tree: Update internal warning and bug_on code
When CONFIG_DEBUG_MAPLE_TREE is set, call the WARN_ON_ONCE() after the custom information is dumped about the tree. Without using the kernel’s WARN_ON calls, syzbot will not catch issues detected by
4/4
rhashtable: fix vmalloc() deadlock in atomic rehash
From: Chris Mason mason@kernel.org An unprivileged user can deadlock two CPUs by filling the forwarding database (FDB) of a bridge in their own network namespace. A peer that floods a bridge port w