WARNING in pci_scan_single_device (2)

Status: upstream: reported C repro on 2026/01/21 00:08
Subsystems: pci
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+87bb32e345aa80c0554b@syzkaller.appspotmail.com
First crash: 192d, last: 10h30m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
e52034f7 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ✅ WARNING in pci_scan_single_device (2) 2026/05/22 07:10 2026/05/22 07:10 2026/05/22 07:55 70ae9b03

			
		
Discussions (3)
Title Replies (including bot) Last reply
[PATCH v2 1/2] PCI: Handle dev_set_name() failure in pci_setup_device() 1 (1) 2026/07/26 09:31
[PATCH] PCI: Handle dev_set_name() failure in pci_setup_device() 1 (1) 2026/07/25 10:47
[syzbot] [pci?] WARNING in pci_scan_single_device (2) 0 (3) 2026/07/25 10:06
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in pci_scan_single_device pci -1 1 425d 421d 0/29 auto-obsoleted due to no activity on 2025/09/06 17:08
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/07/25 10:06 24m rihyeon8648@gmail.com patch upstream OK log

Sample crash report:
 </TASK>
pci (null): [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint
pci (null): BAR 4 [io  0xc0e0-0xc0ff]
------------[ cut here ]------------
ret < 0
WARNING: drivers/pci/probe.c:2768 at pci_device_add+0x133b/0x1810 drivers/pci/probe.c:2768, CPU#1: syz.0.17/5936
Modules linked in:
CPU: 1 UID: 0 PID: 5936 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:pci_device_add+0x133b/0x1810 drivers/pci/probe.c:2768
Code: e5 04 83 e0 8f 09 e8 88 83 c8 00 00 00 e9 28 f4 ff ff e8 18 a3 ae fc 90 0f 0b 90 90 0f 0b 90 e9 0e f7 ff ff e8 06 a3 ae fc 90 <0f> 0b 90 e9 7e fa ff ff e8 f8 a2 ae fc 90 0f 0b 90 e9 11 fa ff ff
RSP: 0018:ffffc900037a7928 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffffffea RCX: ffffffff855bb419
RDX: ffff888025a72540 RSI: ffffffff855bb99a RDI: ffff888025a72540
RBP: ffff88801c2e9000 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffffea R11: 0000000000000000 R12: ffff888022e6f028
R13: ffff888022e6f000 R14: 0000000000000001 R15: ffff888022e92000
FS:  0000555591741500(0000) GS:ffff8880d5ede000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055af1cf515a8 CR3: 000000003dca4000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 pci_scan_single_device drivers/pci/probe.c:2792 [inline]
 pci_scan_single_device+0x1d0/0x240 drivers/pci/probe.c:2778
 pci_scan_slot+0x1c9/0x7c0 drivers/pci/probe.c:2875
 pci_scan_child_bus_extend+0x6b/0x7b0 drivers/pci/probe.c:3094
 pci_scan_child_bus drivers/pci/probe.c:3207 [inline]
 pci_rescan_bus+0x18/0x40 drivers/pci/probe.c:3498
 rescan_store+0xfb/0x130 drivers/pci/pci-sysfs.c:473
 bus_attr_store+0x74/0xb0 drivers/base/bus.c:172
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe44799de99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffce5639058 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe447c25fa0 RCX: 00007fe44799de99
RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004
RBP: 00007ffce56390c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe447c25fac R14: 00007fe447c25fa0 R15: 00007fe447c25fa0
 </TASK>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/24 22:30 upstream 48a5a7ab8d6a 4a865b71 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pci_scan_single_device
2026/07/24 22:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b66b0005b6ce 05b26a28 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in pci_scan_single_device
2026/06/11 20:07 upstream 9716c086c8e8 d93a6ab6 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in pci_scan_single_device
2026/03/24 04:02 upstream c369299895a5 baf8bf12 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in pci_scan_single_device
2026/01/17 00:04 upstream 983d014aafb1 d1b870e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in pci_scan_single_device
2026/07/28 08:51 upstream 62cc90241548 45ae1df4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/28 01:26 upstream 62cc90241548 45ae1df4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/27 14:16 upstream f5098b6bae76 1f273138 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/27 13:49 upstream f5098b6bae76 1f273138 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/27 11:58 upstream f5098b6bae76 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pci_scan_single_device
2026/07/26 23:28 upstream 4235cb24ec1e 492bab15 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/26 18:05 upstream 3dab139d4795 492bab15 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/25 05:10 upstream 48a5a7ab8d6a 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pci_scan_single_device
2026/07/24 22:37 upstream 48a5a7ab8d6a dd737a83 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/24 22:01 upstream 48a5a7ab8d6a 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pci_scan_single_device
2026/07/24 16:53 upstream 48a5a7ab8d6a dd737a83 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pci_scan_single_device
2026/07/27 08:00 upstream 4235cb24ec1e 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in pci_scan_single_device
2026/07/25 03:43 upstream 48a5a7ab8d6a 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in pci_scan_single_device
2026/07/26 23:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 365f9c7a6b81 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in pci_scan_single_device
2026/07/24 21:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b66b0005b6ce 05b26a28 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in pci_scan_single_device
* Struck through repros no longer work on HEAD.