Thread (5 messages) flat view 5 messages, 3 authors, 2021-10-08

Re: kernel BUG in block_invalidatepage

From: Hao Sun <hidden>
Date: 2021-10-08 03:02:29
Also in: linux-fsdevel, lkml

Matthew Wilcox [off-list ref] 于2021年10月7日周四 下午10:20写道:
On Thu, Oct 07, 2021 at 02:40:29PM +0800, Hao Sun wrote:
quoted
Hello,

This crash can still be triggered repeatedly on the latest kernel.
I asked you three days ago to try a patch and report the results:

https://lore.kernel.org/linux-mm/YVtWhVNFhLbA9+Tl@casper.infradead.org/ (local)
Sorry, I missed that.

Here are the results.
Used reproducer: https://paste.ubuntu.com/p/yrYsn4zpcn/
Kernel log *before* applying the patch: https://paste.ubuntu.com/p/WtkFKB6Vy9/
Kernel log *after* applying the patch: https://paste.ubuntu.com/p/S2VrtDdggp/
Symbolized log: https://paste.ubuntu.com/p/RwXjCXDxB8/

In summary, the reproducer can crash the kernel with the same
backtrace before applying the patch.
After applying the patch, the reproducer program took about 3 minutes
to crash the kernel and the backtrace seems different (RIP points to
create_empty_buffers now).
All the above tests were done on commit 60a9483534ed (Merge tag
'warning-fixes-20211005').

Regards
Hao
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help