netlink: 8 bytes leftover after parsing attributes in process `syz.3.8174'. comedi comedi0: c6xdigio: I/O port conflict (0x4f2b,3) Oops: general protection fault, probably for non-canonical address 0xe900c8f73c1d0067: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x480667b9e0e80338-0x480667b9e0e8033f] CPU: 0 UID: 0 PID: 4293 Comm: syz.3.8174 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:kernfs_root+0xb5/0x2a0 fs/kernfs/kernfs-internal.h:79 Code: f5 00 00 00 e8 6c 07 5c ff 48 85 db 48 0f 44 dd e8 60 07 5c ff 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d6 01 00 00 48 8b 6b 78 e8 88 7a 31 09 31 ff 89 RSP: 0018:ffffc9000e0cf6e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 480667b9e0e802c3 RCX: ffffc9000e311000 RDX: 0900ccf73c1d0067 RSI: ffffffff825f0680 RDI: 480667b9e0e8033b RBP: ffffffff852b4e09 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 63206964656d6f63 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880442af800 FS: 0000000000000000(0000) GS:ffff8880974c4000(0063) knlGS:00000000f5516b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f74327b8 CR3: 000000006d5d4000 CR4: 0000000000352ef0 Call Trace: kernfs_remove_by_name_ns+0x2e/0x110 fs/kernfs/dir.c:1711 sysfs_remove_file include/linux/sysfs.h:777 [inline] driver_remove_file drivers/base/driver.c:201 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:197 remove_bind_files drivers/base/bus.c:605 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 comedi_device_detach_locked+0x12c/0xa50 drivers/comedi/drivers.c:207 comedi_device_detach+0x67/0xb0 drivers/comedi/drivers.c:215 comedi_device_attach+0x43d/0x900 drivers/comedi/drivers.c:1010 do_devconfig_ioctl+0x1b1/0x710 drivers/comedi/comedi_fops.c:872 comedi_unlocked_ioctl+0x165d/0x2f00 drivers/comedi/comedi_fops.c:2173 comedi_compat_ioctl+0x1d0/0x990 drivers/comedi/comedi_fops.c:3244 __do_compat_sys_ioctl fs/ioctl.c:696 [inline] __se_compat_sys_ioctl fs/ioctl.c:639 [inline] __ia32_compat_sys_ioctl+0x23f/0x370 fs/ioctl.c:639 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x3a0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7ff4579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f551655c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000040946400 RDX: 00000000800000c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kernfs_root+0xb5/0x2a0 fs/kernfs/kernfs-internal.h:79 Code: f5 00 00 00 e8 6c 07 5c ff 48 85 db 48 0f 44 dd e8 60 07 5c ff 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d6 01 00 00 48 8b 6b 78 e8 88 7a 31 09 31 ff 89 RSP: 0018:ffffc9000e0cf6e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 480667b9e0e802c3 RCX: ffffc9000e311000 RDX: 0900ccf73c1d0067 RSI: ffffffff825f0680 RDI: 480667b9e0e8033b RBP: ffffffff852b4e09 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 63206964656d6f63 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880442af800 FS: 0000000000000000(0000) GS:ffff8880975c4000(0063) knlGS:00000000f5516b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055676638d2c0 CR3: 000000006d5d4000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 00 00 add %al,(%rax) 2: e8 6c 07 5c ff call 0xff5c0773 7: 48 85 db test %rbx,%rbx a: 48 0f 44 dd cmove %rbp,%rbx e: e8 60 07 5c ff call 0xff5c0773 13: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1a: fc ff df 1d: 48 8d 7b 78 lea 0x78(%rbx),%rdi 21: 48 89 fa mov %rdi,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 d6 01 00 00 jne 0x208 32: 48 8b 6b 78 mov 0x78(%rbx),%rbp 36: e8 88 7a 31 09 call 0x9317ac3 3b: 31 ff xor %edi,%edi 3d: 89 .byte 0x89