Hello,
syzbot found the following issue on:
HEAD commit: 0f8e26b38d7a Merge tag 'for-linus' of git://
git.kernel.org..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=17f35e18580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=d00941da012c109
dashboard link:
https://syzkaller.appspot.com/bug?extid=d65993005999d69f86d5
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
CC: [
andrew...@lunn.ch da...@davemloft.net edum...@google.com jaso...@redhat.com ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org pab...@redhat.com willemdebr...@gmail.com]
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/33a1aaf74992/disk-0f8e26b3.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/9e619100fb20/vmlinux-0f8e26b3.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/1ad6a91ed3df/bzImage-0f8e26b3.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+d65993...@syzkaller.appspotmail.com
list_add corruption. prev->next should be next (ffff888033115620), but was ffff888063ba2000. (prev=ffff888033115620).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:32!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 24366 Comm: syz.3.4133 Not tainted 6.13.0-syzkaller-07259-g0f8e26b38d7a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__list_add_valid_or_report+0xbe/0x100 lib/list_debug.c:32
Code: d7 fc 90 0f 0b 48 89 d9 48 c7 c7 60 6e d2 8b e8 c8 37 d7 fc 90 0f 0b 48 89 f1 48 c7 c7 e0 6e d2 8b 48 89 de e8 b3 37 d7 fc 90 <0f> 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 60 6f d2 8b e8 9b 37 d7
RSP: 0018:ffffc9001084f8e0 EFLAGS: 00010286
RAX: 0000000000000075 RBX: ffff888033115620 RCX: ffffc90004989000
RDX: 0000000000000000 RSI: ffffffff81991b83 RDI: 0000000000000005
RBP: ffff888063ba2660 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: fffffffffffe4c68 R12: ffff88805d1e4c40
R13: ffff888033115634 R14: ffff888033115620 R15: ffff888063ba2660
FS: 00007f11c85376c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b330f6ff8 CR3: 000000004ebd8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__list_add_valid include/linux/list.h:88 [inline]
__list_add include/linux/list.h:150 [inline]
list_add_tail include/linux/list.h:183 [inline]
tap_set_queue drivers/net/tap.c:181 [inline]
tap_open+0xa23/0x1150 drivers/net/tap.c:554
chrdev_open+0x237/0x6a0 fs/char_dev.c:414
do_dentry_open+0x735/0x1c40 fs/open.c:955
vfs_open+0x82/0x3f0 fs/open.c:1085
do_open fs/namei.c:3828 [inline]
path_openat+0x1e88/0x2d80 fs/namei.c:3987
do_filp_open+0x20c/0x470 fs/namei.c:4014
do_sys_openat2+0x17a/0x1e0 fs/open.c:1427
do_sys_open fs/open.c:1442 [inline]
__do_sys_openat fs/open.c:1458 [inline]
__se_sys_openat fs/open.c:1453 [inline]
__x64_sys_openat+0x175/0x210 fs/open.c:1453
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f11c778cd29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f11c8537038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f11c79a5fa0 RCX: 00007f11c778cd29
RDX: 00000000000c8000 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007f11c780e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f11c79a5fa0 R15: 00007ffd14276e38
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid_or_report+0xbe/0x100 lib/list_debug.c:32
Code: d7 fc 90 0f 0b 48 89 d9 48 c7 c7 60 6e d2 8b e8 c8 37 d7 fc 90 0f 0b 48 89 f1 48 c7 c7 e0 6e d2 8b 48 89 de e8 b3 37 d7 fc 90 <0f> 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 60 6f d2 8b e8 9b 37 d7
RSP: 0018:ffffc9001084f8e0 EFLAGS: 00010286
RAX: 0000000000000075 RBX: ffff888033115620 RCX: ffffc90004989000
RDX: 0000000000000000 RSI: ffffffff81991b83 RDI: 0000000000000005
RBP: ffff888063ba2660 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: fffffffffffe4c68 R12: ffff88805d1e4c40
R13: ffff888033115634 R14: ffff888033115620 R15: ffff888063ba2660
FS: 00007f11c85376c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b330e3ff8 CR3: 000000004ebd8000 CR4: 00000000003526f0
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 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