Hello,
syzbot found the following issue on:
HEAD commit: d7b3af5a77e8 Add linux-next specific files for 20230728
git tree: linux-next
console output:
https://syzkaller.appspot.com/x/log.txt?x=135d9345a80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=62dd327c382e3fe
dashboard link:
https://syzkaller.appspot.com/bug?extid=6deb6d40f4ca9198b2b4
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
CC: [
linux-...@vger.kernel.org linux-...@vger.kernel.org reiserf...@vger.kernel.org]
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/5efa5e68267f/disk-d7b3af5a.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/b1f5d3e10263/vmlinux-d7b3af5a.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/57cab469d186/bzImage-d7b3af5a.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+6deb6d...@syzkaller.appspotmail.com
loop2: detected capacity change from 0 to 64
list_add corruption. prev->next should be next (ffff88807bc87878), but was ffffffff8a984bc0. (prev=ffffffff8cdb9720).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:30!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 12451 Comm: syz-executor.2 Not tainted 6.5.0-rc3-next-20230728-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:__list_add_valid+0xb6/0x100 lib/list_debug.c:30
Code: e8 1f 45 44 fd 0f 0b 48 89 d9 48 c7 c7 e0 7d c8 8a e8 0e 45 44 fd 0f 0b 48 89 f1 48 c7 c7 60 7e c8 8a 48 89 de e8 fa 44 44 fd <0f> 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 e0 7e c8 8a e8 e3 44 44
RSP: 0018:ffffc900054b75b0 EFLAGS: 00010286
RAX: 0000000000000075 RBX: ffff88807bc87878 RCX: ffffc9000b753000
RDX: 0000000000000000 RSI: ffffffff816adc22 RDI: 0000000000000005
RBP: ffffc900054b76b0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: ffff88807bc87828
R13: ffff88807bc87880 R14: ffffffff8cdb9720 R15: ffffc900054b76b0
FS: 00007fb4857eb6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb484b98000 CR3: 000000002ae84000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__list_add include/linux/list.h:69 [inline]
list_add_tail include/linux/list.h:102 [inline]
__mutex_add_waiter+0x50/0x160 kernel/locking/mutex.c:210
__mutex_lock_common kernel/locking/mutex.c:637 [inline]
__mutex_lock+0x62c/0x1340 kernel/locking/mutex.c:747
reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
reiserfs_lookup+0x184/0x690 fs/reiserfs/namei.c:364
lookup_open.isra.0+0x8dc/0x1360 fs/namei.c:3470
open_last_lookups fs/namei.c:3560 [inline]
path_openat+0x931/0x29c0 fs/namei.c:3790
do_filp_open+0x1de/0x430 fs/namei.c:3820
do_sys_openat2+0x176/0x1e0 fs/open.c:1418
do_sys_open fs/open.c:1433 [inline]
__do_sys_openat fs/open.c:1449 [inline]
__se_sys_openat fs/open.c:1444 [inline]
__x64_sys_openat+0x175/0x210 fs/open.c:1444
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb484a7cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fb4857eb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fb484b9bf80 RCX: 00007fb484a7cb29
RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007fb484ac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb484b9bf80 R15: 00007ffd5e8af6f8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid+0xb6/0x100 lib/list_debug.c:30
Code: e8 1f 45 44 fd 0f 0b 48 89 d9 48 c7 c7 e0 7d c8 8a e8 0e 45 44 fd 0f 0b 48 89 f1 48 c7 c7 60 7e c8 8a 48 89 de e8 fa 44 44 fd <0f> 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 e0 7e c8 8a e8 e3 44 44
RSP: 0018:ffffc900054b75b0 EFLAGS: 00010286
RAX: 0000000000000075 RBX: ffff88807bc87878 RCX: ffffc9000b753000
RDX: 0000000000000000 RSI: ffffffff816adc22 RDI: 0000000000000005
RBP: ffffc900054b76b0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: ffff88807bc87828
R13: ffff88807bc87880 R14: ffffffff8cdb9720 R15: ffffc900054b76b0
FS: 00007fb4857eb6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb484b98000 CR3: 000000002ae84000 CR4: 00000000003526e0
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
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