syzbot


BUG: corrupted list in device_pm_remove

Status: auto-obsoleted due to no activity on 2023/02/02 17:18
Reported-by: syzbot+9e5d7d65c4e1489ac53e@syzkaller.appspotmail.com
First crash: 561d, last: 561d

Sample crash report:
audit: type=1804 audit(1664990286.222:136): pid=30211 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir148439401/syzkaller.A9wlCp/972/bus" dev="sda1" ino=16070 res=1
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:51!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 30227 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51
Code: e8 25 43 f7 ff 0f 0b 48 89 f1 48 c7 c7 a0 e2 b3 88 4c 89 e6 e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff 0f 0b
RSP: 0018:ffff888049c67928 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff8880911fa7b0 RCX: 0000000000000000
RDX: 00000000000195f1 RSI: ffffffff814dff01 RDI: ffffed100938cf17
RBP: ffff8880911fa7b0 R08: 0000000000000054 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808f9146f0
R13: ffff8880a7f34830 R14: ffffed101223f552 R15: ffff88823a4c8e18
FS:  00007f77fdec9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000009abfb000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_init include/linux/list.h:159 [inline]
 device_pm_remove+0x4f/0x300 drivers/base/power/main.c:148
 device_del+0x401/0xaf0 drivers/base/core.c:2343
 hci_conn_del_sysfs+0xdc/0x180 net/bluetooth/hci_sysfs.c:78
 hci_conn_cleanup+0x24b/0x550 net/bluetooth/hci_conn.c:128
 hci_conn_del+0x2a0/0x780 net/bluetooth/hci_conn.c:611
 hci_conn_hash_flush+0x19c/0x260 net/bluetooth/hci_conn.c:1513
 hci_dev_do_close+0x6bc/0x1020 net/bluetooth/hci_core.c:1687
 hci_rfkill_set_block+0xe7/0x160 net/bluetooth/hci_core.c:2121
 rfkill_set_block+0x1f9/0x540 net/rfkill/core.c:353
 rfkill_fop_write+0x250/0x4a0 net/rfkill/core.c:1249
IPVS: ftp: loaded support on port[0] = 21
 __vfs_write+0xf7/0x770 fs/read_write.c:485
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f77ff5555a9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f77fdec9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f77ff676f80 RCX: 00007f77ff5555a9
RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00007f77ff5b0580 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec48298ff R14: 00007f77fdec9300 R15: 0000000000022000
Modules linked in:
---[ end trace a8dfbaa49b4e5723 ]---
RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51
Code: e8 25 43 f7 ff 0f 0b 48 89 f1 48 c7 c7 a0 e2 b3 88 4c 89 e6 e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff 0f 0b
RSP: 0018:ffff888049c67928 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff8880911fa7b0 RCX: 0000000000000000
RDX: 00000000000195f1 RSI: ffffffff814dff01 RDI: ffffed100938cf17
RBP: ffff8880911fa7b0 R08: 0000000000000054 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808f9146f0
R13: ffff8880a7f34830 R14: ffffed101223f552 R15: ffff88823a4c8e18
FS:  00007f77fdec9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffae4dccfc0 CR3: 000000009abfb000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/05 17:18 linux-4.19.y 3f8a27f9e27b 267e3bb1 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in device_pm_remove
* Struck through repros no longer work on HEAD.