[v5.15] general protection fault in inode_wait_for_writeback

0 views
Skip to first unread message

syzbot

unread,
Aug 6, 2023, 6:30:48 PM8/6/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 38d4ca22a528 Linux 5.15.124
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10c07f13a80000
kernel config: https://syzkaller.appspot.com/x/.config?x=45eb463798d34fdb
dashboard link: https://syzkaller.appspot.com/bug?extid=dc57bb1e9bf0f095f7a5
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/0470c022da0e/disk-38d4ca22.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/56cf48a83529/vmlinux-38d4ca22.xz
kernel image: https://storage.googleapis.com/syzbot-assets/ac8ac64c33ec/bzImage-38d4ca22.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dc57bb...@syzkaller.appspotmail.com

loop5: detected capacity change from 0 to 4096
ntfs3: loop5: Different NTFS' sector size (1024) and media sector size (512)
general protection fault, probably for non-canonical address 0xa5f5cdb8912d2083: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 20745 Comm: syz-executor.5 Not tainted 5.15.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
RIP: 0010:_raw_spin_lock+0x29/0x40 kernel/locking/spinlock.c:154
Code: 00 53 48 89 fb bf 01 00 00 00 e8 22 8c 31 f7 48 8d 7b 18 31 f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 74 24 08 e8 36 d7 3c <f7> 48 83 c4 08 48 89 df 5b e9 49 4b 3e f7 66 0f 1f 84 00 00 00 00
RSP: 0000:ffffc90003bbf928 EFLAGS: 00010246
RAX: a5f5cdb8912d2100 RBX: ffff88809a5462b8 RCX: ffffffff816326c2
RDX: dffffc0000000000 RSI: ffffffff8a8b1480 RDI: ffffffff8ad86c40
RBP: ffffc90003bbfa40 R08: dffffc0000000000 R09: fffffbfff1f7ac57
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88809a5462b8
R13: dffffc0000000000 R14: ffff88809a546230 R15: ffffc90003bbf980
FS: 00007f544e0436c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c03394d000 CR3: 000000001f9d0000 CR4: 00000000003506e0
Call Trace:
<TASK>
spin_lock include/linux/spinlock.h:363 [inline]
inode_wait_for_writeback+0x89/0x280 fs/fs-writeback.c:1510
evict+0x277/0x620 fs/inode.c:584
ntfs_fill_super+0x3c3f/0x4450 fs/ntfs3/super.c:1185
get_tree_bdev+0x3fe/0x620 fs/super.c:1303
vfs_get_tree+0x88/0x270 fs/super.c:1508
do_new_mount+0x28b/0xae0 fs/namespace.c:2994
do_mount fs/namespace.c:3337 [inline]
__do_sys_mount fs/namespace.c:3545 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f544fac31ea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f544e042ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f544e042f80 RCX: 00007f544fac31ea
RDX: 00000000200000c0 RSI: 000000002001f840 RDI: 00007f544e042f40
RBP: 00000000200000c0 R08: 00007f544e042f80 R09: 0000000000008058
R10: 0000000000008058 R11: 0000000000000202 R12: 000000002001f840
R13: 00007f544e042f40 R14: 000000000001f808 R15: 0000000020000140
</TASK>
Modules linked in:
---[ end trace 4bb459e9b9e77d7c ]---
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
RIP: 0010:_raw_spin_lock+0x29/0x40 kernel/locking/spinlock.c:154
Code: 00 53 48 89 fb bf 01 00 00 00 e8 22 8c 31 f7 48 8d 7b 18 31 f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 74 24 08 e8 36 d7 3c <f7> 48 83 c4 08 48 89 df 5b e9 49 4b 3e f7 66 0f 1f 84 00 00 00 00
RSP: 0000:ffffc90003bbf928 EFLAGS: 00010246
RAX: a5f5cdb8912d2100 RBX: ffff88809a5462b8 RCX: ffffffff816326c2
RDX: dffffc0000000000 RSI: ffffffff8a8b1480 RDI: ffffffff8ad86c40
RBP: ffffc90003bbfa40 R08: dffffc0000000000 R09: fffffbfff1f7ac57
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88809a5462b8
R13: dffffc0000000000 R14: ffff88809a546230 R15: ffffc90003bbf980
FS: 00007f544e0436c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c03394d000 CR3: 000000001f9d0000 CR4: 00000000003506e0


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jan 19, 2024, 12:43:12 AMJan 19
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages