[v6.1] kernel BUG in set_blocksize (2)

1 view
Skip to first unread message

syzbot

unread,
Oct 15, 2024, 11:59:26 AM10/15/24
Hello,

syzbot found the following issue on:

HEAD commit: aa4cd140bba5 Linux 6.1.112
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=135cd727980000
kernel config: https://syzkaller.appspot.com/x/.config?x=33931c04473f8585
dashboard link: https://syzkaller.appspot.com/bug?extid=61114d3e0120e5b5113c
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/2a9778339706/disk-aa4cd140.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b568a6da8a9b/vmlinux-aa4cd140.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3c56af7eb2c4/bzImage-aa4cd140.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]

get_tree_bdev+0x3fe/0x620 fs/super.c:1366
gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1327
vfs_get_tree+0x88/0x270 fs/super.c:1573
do_new_mount+0x2ba/0xb40 fs/namespace.c:3051
do_mount fs/namespace.c:3394 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
------------[ cut here ]------------
kernel BUG at mm/truncate.c:423!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12227 Comm: syz.0.3630 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:truncate_inode_pages_range+0x110a/0x1340 mm/truncate.c:423
Code: 00 00 48 c7 c7 b0 33 3d 8d 48 89 da e8 4f e1 a6 02 e9 e9 f5 ff ff e8 45 92 cc ff 4c 89 e7 48 c7 c6 60 43 15 8b e8 36 57 0c 00 <0f> 0b e8 2f 92 cc ff 4c 89 e7 48 c7 c6 80 42 15 8b e8 20 57 0c 00
RSP: 0018:ffffc9001766f780 EFLAGS: 00010246
RAX: 5c0940fed53ae900 RBX: 000000000000007f RCX: ffffc9001766f503
RDX: 0000000000000001 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d7180
RBP: ffffc9001766f9b0 R08: dffffc0000000000 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001630b40
R13: ffffc9001766f838 R14: ffffc9001766f8d0 R15: 0000000000000003
FS: 00007f6d415726c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca58e52000 CR3: 000000001fac7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kill_bdev block/bdev.c:76 [inline]
set_blocksize+0x2d9/0x350 block/bdev.c:152
sb_set_blocksize block/bdev.c:161 [inline]
sb_min_blocksize+0xb7/0x170 block/bdev.c:177
gfs2_fill_super+0xd36/0x2680 fs/gfs2/ops_fstype.c:1177
get_tree_bdev+0x3fe/0x620 fs/super.c:1366
gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1327
vfs_get_tree+0x88/0x270 fs/super.c:1573
do_new_mount+0x2ba/0xb40 fs/namespace.c:3051
do_mount fs/namespace.c:3394 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6d4077f79a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6d41571e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f6d41571ef0 RCX: 00007f6d4077f79a
RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007f6d41571eb0
RBP: 0000000020021140 R08: 00007f6d41571ef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020021180
R13: 00007f6d41571eb0 R14: 0000000000021136 R15: 00000000200211c0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:truncate_inode_pages_range+0x110a/0x1340 mm/truncate.c:423
Code: 00 00 48 c7 c7 b0 33 3d 8d 48 89 da e8 4f e1 a6 02 e9 e9 f5 ff ff e8 45 92 cc ff 4c 89 e7 48 c7 c6 60 43 15 8b e8 36 57 0c 00 <0f> 0b e8 2f 92 cc ff 4c 89 e7 48 c7 c6 80 42 15 8b e8 20 57 0c 00
RSP: 0018:ffffc9001766f780 EFLAGS: 00010246
RAX: 5c0940fed53ae900 RBX: 000000000000007f RCX: ffffc9001766f503
RDX: 0000000000000001 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d7180
RBP: ffffc9001766f9b0 R08: dffffc0000000000 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001630b40
R13: ffffc9001766f838 R14: ffffc9001766f8d0 R15: 0000000000000003
FS: 00007f6d415726c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562f1e984018 CR3: 000000001fac7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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 [email protected].

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

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

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

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

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

syzbot

unread,
Jan 23, 2025, 11:59:16 AMJan 23
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