* [syzbot] WARNING in diUnmount
@ 2022-11-26 4:07 syzbot
2022-12-05 14:19 ` syzbot
0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2022-11-26 4:07 UTC (permalink / raw)
To: jfs-discussion, linux-kernel, shaggy, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: a77d28d13789 Merge branch 'for-next/core' into for-kernelci
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=15e01df9880000
kernel config: https://syzkaller.appspot.com/x/.config?x=c4c990190d758078
dashboard link: https://syzkaller.appspot.com/bug?extid=47366a6b503c7edf6bbb
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7c4b04ddbeb3/disk-a77d28d1.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/3ecedb0cf6ca/vmlinux-a77d28d1.xz
kernel image: https://storage.googleapis.com/syzbot-assets/44c59c4393c7/Image-a77d28d1.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+47366a6b503c7edf6bbb@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3130 at mm/slab_common.c:923 free_large_kmalloc+0x3c/0x144 mm/slab_common.c:924
Modules linked in:
CPU: 0 PID: 3130 Comm: syz-executor.5 Not tainted 6.1.0-rc6-syzkaller-32651-ga77d28d13789 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : free_large_kmalloc+0x3c/0x144 mm/slab_common.c:924
lr : kfree+0xb8/0x118 mm/slab_common.c:1001
sp : ffff800012dcbba0
x29: ffff800012dcbba0 x28: ffff0000c4169a40 x27: 0000000000000000
x26: 00000000000000c0 x25: 0000000000000002 x24: ffff0000eccb8800
x23: ffff80000d5d8000 x22: ffff0000f2113018 x21: 0000000040000000
x20: ffff800008d57fd4 x19: fffffc0004768200 x18: 000000000000017a
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000406 x12: ffff80000d4f7298
x11: ff8080000805b050 x10: 0000000000000000 x9 : fffffc0000000000
x8 : ffff80000d990000 x7 : ffff8000083e0fd4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000008 x1 : ffff00011da08000 x0 : fffffc0004768200
Call trace:
free_large_kmalloc+0x3c/0x144 mm/slab_common.c:924
kfree+0xb8/0x118 mm/slab_common.c:1001
diUnmount+0x74/0x8c fs/jfs/jfs_imap.c:195
jfs_umount+0x94/0x190 fs/jfs/jfs_umount.c:63
jfs_put_super+0x6c/0x104 fs/jfs/super.c:194
generic_shutdown_super+0x94/0x198 fs/super.c:492
kill_block_super+0x30/0x78 fs/super.c:1428
deactivate_locked_super+0x70/0xe8 fs/super.c:332
deactivate_super+0xd0/0xd4 fs/super.c:363
cleanup_mnt+0x184/0x1c0 fs/namespace.c:1186
__cleanup_mnt+0x20/0x30 fs/namespace.c:1193
task_work_run+0x100/0x148 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
irq event stamp: 3932962
hardirqs last enabled at (3932961): [<ffff80000c0b6d44>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last enabled at (3932961): [<ffff80000c0b6d44>] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194
hardirqs last disabled at (3932962): [<ffff80000c0a4074>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (3932812): [<ffff80000801c38c>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (3932810): [<ffff80000801c358>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---
object pointer: 0x000000001b0e773b
page:00000000b707f24b refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15da08
flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff)
raw: 05ffc00000000000 fffffc0003bf0008 ffff0001feff4c20 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:757!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3130 Comm: syz-executor.5 Tainted: G W 6.1.0-rc6-syzkaller-32651-ga77d28d13789 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : put_page_testzero include/linux/mm.h:757 [inline]
pc : __free_pages+0xc0/0x168 mm/page_alloc.c:5640
lr : put_page_testzero include/linux/mm.h:757 [inline]
lr : __free_pages+0xc0/0x168 mm/page_alloc.c:5640
sp : ffff800012dcbb70
x29: ffff800012dcbb70 x28: ffff0000c4169a40 x27: 0000000000000000
x26: 00000000000000c0 x25: 0000000000000002 x24: ffff0000eccb8800
x23: ffff80000d5d8000 x22: 0000000000000000 x21: fffffffffffff000
x20: 0000000000000000 x19: fffffc0004768200 x18: 00000000000001ba
x17: 3030303030303030 x16: ffff80000dc18158 x15: ffff0000c4169a40
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c4169a40
x11: ff808000081c4d40 x10: 0000000000000000 x9 : 0db713de61b9aa00
x8 : 0db713de61b9aa00 x7 : ffff80000c0b1cb4 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000003e
Call trace:
put_page_testzero include/linux/mm.h:757 [inline]
__free_pages+0xc0/0x168 mm/page_alloc.c:5640
free_large_kmalloc+0xac/0x144 mm/slab_common.c:932
kfree+0xb8/0x118 mm/slab_common.c:1001
diUnmount+0x74/0x8c fs/jfs/jfs_imap.c:195
jfs_umount+0x94/0x190 fs/jfs/jfs_umount.c:63
jfs_put_super+0x6c/0x104 fs/jfs/super.c:194
generic_shutdown_super+0x94/0x198 fs/super.c:492
kill_block_super+0x30/0x78 fs/super.c:1428
deactivate_locked_super+0x70/0xe8 fs/super.c:332
deactivate_super+0xd0/0xd4 fs/super.c:363
cleanup_mnt+0x184/0x1c0 fs/namespace.c:1186
__cleanup_mnt+0x20/0x30 fs/namespace.c:1193
task_work_run+0x100/0x148 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
Code: d0023861 91245021 aa1303e0 97fe88b8 (d4210000)
---[ end trace 0000000000000000 ]---
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [syzbot] WARNING in diUnmount
2022-11-26 4:07 [syzbot] WARNING in diUnmount syzbot
@ 2022-12-05 14:19 ` syzbot
0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2022-12-05 14:19 UTC (permalink / raw)
To: jfs-discussion, linux-kernel, okanatov, shaggy, syzkaller-bugs
syzbot has found a reproducer for the following issue on:
HEAD commit: 9e46a7996732 Add linux-next specific files for 20221125
git tree: linux-next
console+strace: https://syzkaller.appspot.com/x/log.txt?x=17e16583880000
kernel config: https://syzkaller.appspot.com/x/.config?x=11e19c740a0b2926
dashboard link: https://syzkaller.appspot.com/bug?extid=47366a6b503c7edf6bbb
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12170129880000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10d77d6b880000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/758d818cf966/disk-9e46a799.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f7c8696b40a5/vmlinux-9e46a799.xz
kernel image: https://storage.googleapis.com/syzbot-assets/810f9750b87f/bzImage-9e46a799.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/87349f941ac3/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+47366a6b503c7edf6bbb@syzkaller.appspotmail.com
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
jfs_mount_rw: diMount failed!
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5299 at mm/slab_common.c:923 mod_lruvec_page_state include/linux/vmstat.h:563 [inline]
WARNING: CPU: 1 PID: 5299 at mm/slab_common.c:923 free_large_kmalloc+0xad/0xe0 mm/slab_common.c:930
Modules linked in:
CPU: 1 PID: 5299 Comm: syz-executor293 Not tainted 6.1.0-rc6-next-20221125-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:free_large_kmalloc+0xad/0xe0 mm/slab_common.c:923
Code: ee 48 89 ef 5d 41 5c 41 5d e9 cf bd 0d 00 e8 3a 22 d1 ff 44 89 e2 be 06 00 00 00 48 89 ef e8 2a fc 1f 00 e8 95 23 d1 ff eb c6 <0f> 0b 80 3d 06 a4 a6 0c 00 0f 84 e5 75 0b 08 48 8b 74 24 20 4c 89
RSP: 0018:ffffc90003dafbc8 EFLAGS: 00010246
RAX: 00fff00000000000 RBX: ffff8880765b2930 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88801d468000 RDI: ffffea0000751a00
RBP: ffffea0000751a00 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801d468000
R13: ffff88802009c200 R14: ffff8880765b0d70 R15: ffff8880765b2930
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559d632cbd28 CR3: 000000000c48e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
diUnmount+0xf1/0x130 fs/jfs/jfs_imap.c:195
jfs_umount+0x189/0x410 fs/jfs/jfs_umount.c:63
jfs_put_super+0x85/0x1a0 fs/jfs/super.c:194
generic_shutdown_super+0x158/0x410 fs/super.c:492
kill_block_super+0x9b/0xf0 fs/super.c:1428
deactivate_locked_super+0x98/0x160 fs/super.c:332
deactivate_super+0xb1/0xd0 fs/super.c:363
cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xaa8/0x28d0 kernel/exit.c:820
do_group_exit+0xd4/0x2a0 kernel/exit.c:950
__do_sys_exit_group kernel/exit.c:961 [inline]
__se_sys_exit_group kernel/exit.c:959 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:959
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdcfc9f6ce9
Code: Unable to access opcode bytes at 0x7fdcfc9f6cbf.
RSP: 002b:00007ffe9b47d4c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fdcfca713f0 RCX: 00007fdcfc9f6ce9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007ffe9b47d6b8
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdcfca713f0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
</TASK>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-05 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-26 4:07 [syzbot] WARNING in diUnmount syzbot
2022-12-05 14:19 ` syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox