WARNING: proc registration bug in unregister_irq_proc (2)

Status: upstream: reported on 2026/07/25 22:42
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+690d666eb12fca6e1e61@syzkaller.appspotmail.com
First crash: 56d, last: 17h19m
✨ AI Jobs (6)
ID Workflow Result Correct Bug Created Started Finished Revision Error
54735bc9 assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/07/14 00:21 2026/07/14 00:21 2026/07/14 00:21 2130f682
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
3e50fb3d assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/06/27 01:50 2026/06/27 01:50 2026/06/27 01:50 7ff32d8b
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
6e86188c assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/06/18 09:32 2026/06/18 09:32 2026/06/18 09:32 b62b3ded
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
49b8cbcf assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/06/14 00:05 2026/06/14 00:05 2026/06/14 00:05 4f06757f
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
7d265d24 assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/06/12 00:03 2026/06/12 00:03 2026/06/12 00:03 d93a6ab6
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
a26d5efa assessment-security 💥 WARNING: proc registration bug in unregister_irq_proc (2) 2026/06/10 06:13 2026/06/10 06:13 2026/06/10 06:13 34dab4be
dashboard requested TargetOS "linux" TargetArch "386", but agent does not support it
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING: proc registration bug in unregister_irq_proc (2) 4 (5) 2026/07/28 19:09
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: proc registration bug in unregister_irq_proc kernel -1 1 191d 187d 0/29 auto-obsoleted due to no activity on 2026/04/25 11:10

Sample crash report:
------------[ cut here ]------------
remove_proc_entry: removing non-empty directory 'irq/20', leaking at least 'comedi_parport'
WARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747, CPU#0: syz.2.574/8069
Modules linked in:
CPU: 0 UID: 0 PID: 8069 Comm: syz.2.574 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:remove_proc_entry+0x4f5/0x610 fs/proc/generic.c:747
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 c7 00 00 00 48 8d 3d 29 5d 6c 0e 49 8b 95 d0 00 00 00 48 c7 c6 80 00 ea 8b <67> 48 0f b9 3a e9 2a fe ff ff e8 dc c0 4d ff 48 8d 7d 18 48 b8 00
RSP: 0018:ffffc9000678f780 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffff88804b52d25c
RDX: ffff88801c7005dc RSI: ffffffff8bea0080 RDI: ffffffff9128fc70
RBP: ffff88804b52d238 R08: ffff88804b52c85c R09: ffffed10096a5a33
R10: ffff88804b52d19b R11: 0000000000000000 R12: ffff88804b52d180
R13: ffff88801c700500 R14: ffff88804b52c838 R15: dffffc0000000000
FS:  00007fa5462886c0(0000) GS:ffff8880d5ddc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13e40b5fd0 CR3: 000000002a13e000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 unregister_irq_proc+0x206/0x2a0 kernel/irq/proc.c:406
 free_desc+0x89/0x330 kernel/irq/irqdesc.c:482
 irq_free_descs kernel/irq/irqdesc.c:874 [inline]
 irq_free_descs+0x84/0xc0 kernel/irq/irqdesc.c:865
 irq_domain_free_irqs+0x46a/0x5c0 kernel/irq/irqdomain.c:1917
 mp_unmap_irq+0xf8/0x130 arch/x86/kernel/apic/io_apic.c:1061
 acpi_unregister_gsi_ioapic+0x40/0x60 arch/x86/kernel/acpi/boot.c:722
 acpi_unregister_gsi+0x25/0x40 arch/x86/kernel/acpi/boot.c:751
 acpi_pci_irq_disable+0x275/0x360 drivers/acpi/pci_irq.c:517
 pcibios_disable_device arch/x86/pci/common.c:706 [inline]
 pcibios_disable_device+0x89/0xb0 arch/x86/pci/common.c:703
 do_pci_disable_device+0x9f/0x100 drivers/pci/pci.c:2170
 pci_disable_device+0x130/0x270 drivers/pci/pci.c:2206
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 unbind_store+0xf8/0x110 drivers/base/bus.c:244
 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125
 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:0x7fa54539de99
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:00007fa546288028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa545625fa0 RCX: 00007fa54539de99
RDX: 000000000000000c RSI: 0000200000001100 RDI: 0000000000000005
RBP: 00007fa545433eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa545626038 R14: 00007fa545625fa0 R15: 00007ffe154e93f8
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 fc                	add    %bh,%ah
   2:	ff                   	lcall  (bad)
   3:	df 48 89             	fisttps -0x77(%rax)
   6:	fa                   	cli
   7:	48 c1 ea 03          	shr    $0x3,%rdx
   b:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   f:	0f 85 c7 00 00 00    	jne    0xdc
  15:	48 8d 3d 29 5d 6c 0e 	lea    0xe6c5d29(%rip),%rdi        # 0xe6c5d45
  1c:	49 8b 95 d0 00 00 00 	mov    0xd0(%r13),%rdx
  23:	48 c7 c6 80 00 ea 8b 	mov    $0xffffffff8bea0080,%rsi
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	e9 2a fe ff ff       	jmp    0xfffffe5e
  34:	e8 dc c0 4d ff       	call   0xff4dc115
  39:	48 8d 7d 18          	lea    0x18(%rbp),%rdi
  3d:	48                   	rex.W
  3e:	b8                   	.byte 0xb8

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/28 17:42 upstream 62cc90241548 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/27 08:08 upstream 4235cb24ec1e 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/26 18:49 upstream 3dab139d4795 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/26 16:43 upstream 3dab139d4795 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/26 04:43 upstream 3dab139d4795 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/26 02:16 upstream 3dab139d4795 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/25 22:41 upstream 3dab139d4795 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/25 13:06 upstream 0ce37745d4bf 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/07/25 11:14 upstream 0ce37745d4bf 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in unregister_irq_proc
2026/08/04 04:14 upstream 848acc8ffe1b 9451e17e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in unregister_irq_proc
2026/08/02 13:31 upstream 2d2338c93da7 e611ffe1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in unregister_irq_proc
2026/07/30 19:04 upstream 11028ab62899 abc81b93 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in unregister_irq_proc
2026/07/25 07:47 upstream 0ce37745d4bf 4a865b71 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in unregister_irq_proc
2026/06/09 04:11 upstream 2d3090a8aeb5 656e94c6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in unregister_irq_proc
* Struck through repros no longer work on HEAD.