RBP: 00007f8395a37f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8395c26038 R14: 00007f8395c25fa0 R15: 00007ffe2af83918 kobject: kobject_add_internal failed for 0000:00:05.0 (error: -12 parent: pci0000:00) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1089 at drivers/pci/probe.c:2712 pci_device_add+0x126f/0x1600 drivers/pci/probe.c:2712 Modules linked in: CPU: 1 UID: 0 PID: 1089 Comm: syz.2.237 Not tainted syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:pci_device_add+0x126f/0x1600 drivers/pci/probe.c:2712 Code: f9 ff ff e9 77 f9 ff ff e8 4e 8e 97 fe 0f 0b 4c 8b 6c 24 30 e9 9f f9 ff ff e8 3d 8e 97 fe 0f 0b e9 6e fc ff ff e8 31 8e 97 fe <0f> 0b e9 64 fd ff ff 49 8d 8f 09 0b 00 00 80 e1 07 38 c1 0f 8c 1e RSP: 0018:ffffc9000fa9f800 EFLAGS: 00010246 RAX: ffffffff82f1dbff RBX: 00000000fffffff4 RCX: 0000000000080000 RDX: ffffc90002eb7000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000fa9f8f0 R08: ffff888120128103 R09: 1ffff11024025020 R10: dffffc0000000000 R11: ffffed1024025021 R12: ffff88810ee73028 R13: ffff888120128320 R14: dffffc0000000000 R15: ffff888120128b08 FS: 00007f83969336c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a50dfd397 CR3: 0000000130a16000 CR4: 00000000003526b0 Call Trace: pci_scan_single_device+0x520/0x710 drivers/pci/probe.c:2731 pci_scan_slot+0x1e6/0x680 drivers/pci/probe.c:2814 pci_scan_child_bus_extend+0x95/0x8b0 drivers/pci/probe.c:3033 pci_scan_child_bus drivers/pci/probe.c:3147 [inline] pci_rescan_bus+0x1d/0x40 drivers/pci/probe.c:3438 rescan_store+0xcd/0x150 drivers/pci/pci-sysfs.c:463 bus_attr_store+0x91/0xb0 drivers/base/bus.c:172 sysfs_kf_write+0x13e/0x160 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x765/0xfd0 fs/read_write.c:684 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f83959a8f19 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:00007f8396933028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8395c25fa0 RCX: 00007f83959a8f19 RDX: 0000000000000001 RSI: 0000200000000180 RDI: 0000000000000007 RBP: 00007f8395a37f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8395c26038 R14: 00007f8395c25fa0 R15: 00007ffe2af83918 ---[ end trace 0000000000000000 ]--- pci 0000:00:05.0: BAR 0 [mem 0xc0000000-0xc07fffff]: assigned ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1089 at fs/sysfs/file.c:579 sysfs_create_bin_file+0x16a/0x330 fs/sysfs/file.c:579 Modules linked in: CPU: 0 UID: 0 PID: 1089 Comm: syz.2.237 Tainted: G W syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:sysfs_create_bin_file+0x16a/0x330 fs/sysfs/file.c:579 Code: 08 48 89 df e8 97 bc ce ff 48 83 3b 00 44 89 74 24 14 74 22 e8 17 fe 74 ff 49 c7 c6 a0 8f 39 86 e9 80 00 00 00 e8 06 fe 74 ff <0f> 0b b8 ea ff ff ff e9 46 01 00 00 49 8d 7d 28 48 89 f8 48 c1 e8 RSP: 0018:ffffc9000fa9f940 EFLAGS: 00010246 RAX: ffffffff82146dc2 RBX: 1ffff1102402501f RCX: 0000000000080000 RDX: ffffc90002eb7000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000fa9f9f0 R08: ffffc9000fa9f7d7 R09: 0000000000000000 R10: ffffc9000fa9f7c0 R11: fffff52001f53efb R12: 1ffff92001f53f2c R13: ffff888107311680 R14: ffff8881201280c8 R15: dffffc0000000000 FS: 00007f83969336c0(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f34ce84d10 CR3: 0000000130a16000 CR4: 00000000003526b0 Call Trace: pci_create_attr+0x33c/0x580 drivers/pci/pci-sysfs.c:1253 pci_create_resource_files drivers/pci/pci-sysfs.c:1285 [inline] pci_create_sysfs_dev_files+0xd5/0x1e0 drivers/pci/pci-sysfs.c:1559 pci_bus_add_device+0x68/0x1f0 drivers/pci/bus.c:345 pci_bus_add_devices+0x98/0x1c0 drivers/pci/bus.c:401 pci_rescan_bus+0x30/0x40 drivers/pci/probe.c:3440 rescan_store+0xcd/0x150 drivers/pci/pci-sysfs.c:463 bus_attr_store+0x91/0xb0 drivers/base/bus.c:172 sysfs_kf_write+0x13e/0x160 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x765/0xfd0 fs/read_write.c:684 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f83959a8f19 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:00007f8396933028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8395c25fa0 RCX: 00007f83959a8f19 RDX: 0000000000000001 RSI: 0000200000000180 RDI: 0000000000000007 RBP: 00007f8395a37f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8395c26038 R14: 00007f8395c25fa0 R15: 00007ffe2af83918 ---[ end trace 0000000000000000 ]--- Oops: general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7] CPU: 0 UID: 0 PID: 1089 Comm: syz.2.237 Tainted: G W syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:__device_attach+0xb2/0x3c0 drivers/base/dd.c:1005 Code: 8d 66 68 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 80 86 9a fe 4d 8b 2c 24 4d 8d a5 d0 00 00 00 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 dd 02 00 00 41 0f b6 1c 24 89 de 83 e6 01 RSP: 0018:ffffc9000fa9f9c0 EFLAGS: 00010202 RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff85abd4a7 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000fa9f940 RBP: ffffc9000fa9fa68 R08: ffffc9000fa9f947 R09: 1ffff92001f53f28 R10: dffffc0000000000 R11: fffff52001f53f29 R12: 00000000000000d0 R13: 0000000000000000 R14: ffff8881201280c8 R15: 0000000000000000 FS: 00007f83969336c0(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f34ce84d10 CR3: 0000000130a16000 CR4: 00000000003526b0 Call Trace: device_attach+0x1b/0x40 drivers/base/dd.c:1072 pci_bus_add_device+0x11f/0x1f0 drivers/pci/bus.c:378 pci_bus_add_devices+0x98/0x1c0 drivers/pci/bus.c:401 pci_rescan_bus+0x30/0x40 drivers/pci/probe.c:3440 rescan_store+0xcd/0x150 drivers/pci/pci-sysfs.c:463 bus_attr_store+0x91/0xb0 drivers/base/bus.c:172 sysfs_kf_write+0x13e/0x160 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x765/0xfd0 fs/read_write.c:684 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f83959a8f19 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:00007f8396933028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8395c25fa0 RCX: 00007f83959a8f19 RDX: 0000000000000001 RSI: 0000200000000180 RDI: 0000000000000007 RBP: 00007f8395a37f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8395c26038 R14: 00007f8395c25fa0 R15: 00007ffe2af83918 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0xb2/0x3c0 drivers/base/dd.c:1005 Code: 8d 66 68 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 80 86 9a fe 4d 8b 2c 24 4d 8d a5 d0 00 00 00 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 dd 02 00 00 41 0f b6 1c 24 89 de 83 e6 01 RSP: 0018:ffffc9000fa9f9c0 EFLAGS: 00010202 RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff85abd4a7 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000fa9f940 RBP: ffffc9000fa9fa68 R08: ffffc9000fa9f947 R09: 1ffff92001f53f28 R10: dffffc0000000000 R11: fffff52001f53f29 R12: 00000000000000d0 R13: 0000000000000000 R14: ffff8881201280c8 R15: 0000000000000000 FS: 00007f83969336c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa32cbf82f8 CR3: 0000000130a16000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 8d 66 68 lea 0x68(%rsi),%esp 3: 4c 89 e0 mov %r12,%rax 6: 48 c1 e8 03 shr $0x3,%rax a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) e: 74 08 je 0x18 10: 4c 89 e7 mov %r12,%rdi 13: e8 80 86 9a fe call 0xfe9a8698 18: 4d 8b 2c 24 mov (%r12),%r13 1c: 4d 8d a5 d0 00 00 00 lea 0xd0(%r13),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 dd 02 00 00 jne 0x313 36: 41 0f b6 1c 24 movzbl (%r12),%ebx 3b: 89 de mov %ebx,%esi 3d: 83 e6 01 and $0x1,%esi