lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0000000000002dcf3e061d96e0ac@google.com>
Date: Fri, 19 Jul 2024 03:08:23 -0700
From: syzbot <syzbot+0423714c06c369318794@...kaller.appspotmail.com>
To: agruenba@...hat.com, gfs2@...ts.linux.dev, linux-kernel@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: [syzbot] [gfs2?] kernel BUG in qd_put (3)

Hello,

syzbot found the following issue on:

HEAD commit:    3fe121b62282 Add linux-next specific files for 20240712
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=14c9152d980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=98dd8c4bab5cdce
dashboard link: https://syzkaller.appspot.com/bug?extid=0423714c06c369318794
compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15989efd980000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=119e6b9e980000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/8c6fbf69718d/disk-3fe121b6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/39fc7e43dfc1/vmlinux-3fe121b6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0a78e70e4b4e/bzImage-3fe121b6.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/60f4ea8cd0cc/mount_0.gz

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

------------[ cut here ]------------
kernel BUG at fs/gfs2/quota.c:333!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5093 Comm: syz-executor256 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:qd_put+0x192/0x1a0 fs/gfs2/quota.c:333
Code: ef e8 62 f6 17 fe e9 f2 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 82 48 89 ef e8 39 f7 17 fe e9 75 ff ff ff e8 2f 70 b0 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900035dfc08 EFLAGS: 00010293
RAX: ffffffff83e35ac1 RBX: 00000000ffffff80 RCX: ffff88801a358000
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000
RBP: ffff88807f3f25b0 R08: ffffffff83e359a1 R09: fffff520006bbf6c
R10: dffffc0000000000 R11: fffff520006bbf6c R12: ffff88807f3f2540
R13: ffff88802a2eb800 R14: ffff88807f3f2570 R15: 1ffff1100fe7e4b6
FS:  0000555576e86380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed6b8af98 CR3: 000000007942a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_quota_sync+0x41b/0x4a0 fs/gfs2/quota.c:1363
 gfs2_sync_fs+0x4d/0xc0 fs/gfs2/super.c:670
 sync_filesystem+0xed/0x230 fs/sync.c:56
 generic_shutdown_super+0x72/0x2d0 fs/super.c:621
 kill_block_super+0x44/0x90 fs/super.c:1685
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1372
 task_work_run+0x24f/0x310 kernel/task_work.c:222
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb2335fb597
Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffed6b8b1f8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb2335fb597
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffed6b8b2b0
RBP: 00007ffed6b8b2b0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffed6b8c320
R13: 0000555576e876c0 R14: 431bde82d7b634db R15: 00007ffed6b8c340
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:qd_put+0x192/0x1a0 fs/gfs2/quota.c:333
Code: ef e8 62 f6 17 fe e9 f2 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 82 48 89 ef e8 39 f7 17 fe e9 75 ff ff ff e8 2f 70 b0 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900035dfc08 EFLAGS: 00010293

RAX: ffffffff83e35ac1 RBX: 00000000ffffff80 RCX: ffff88801a358000
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000
RBP: ffff88807f3f25b0 R08: ffffffff83e359a1 R09: fffff520006bbf6c
R10: dffffc0000000000 R11: fffff520006bbf6c R12: ffff88807f3f2540
R13: ffff88802a2eb800 R14: ffff88807f3f2570 R15: 1ffff1100fe7e4b6
FS:  0000555576e86380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed6b8af98 CR3: 000000007942a000 CR4: 00000000003506f0
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 syzkaller@...glegroups.com.

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 syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ