mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] free_irq -- mei_me_probe error path frees an IRQ it never acquired
@ 2026-08-28  3:20 Farhad Alemi
  2026-08-28  5:33 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Farhad Alemi @ 2026-08-28  3:20 UTC (permalink / raw)
  To: Alexander Usyskin, Arnd Bergmann, Greg Kroah-Hartman; +Cc: falemi, linux-kernel

Hello,

As part of the kernel research at ASU's SEFCOM
lab, we hit the crash below. Crash reports can be found here:

  https://github.com/farhad-alemi/public_bug_reports/tree/main/130-mei_me-free_irq-never-acquired/

  genirq: Flags mismatch irq 0. 00000080 (mei_me) vs. 00215a00 (timer)
  mei_me 0000:00:01.0: request_threaded_irq failure. irq = 0
  Trying to free already-free IRQ 0
  WARNING: kernel/irq/manage.c:1879 at __free_irq
kernel/irq/manage.c:1879 [inline], CPU#1: kworker/u10:0/27
  WARNING: kernel/irq/manage.c:1879 at free_irq+0x292/0x8b0
kernel/irq/manage.c:2018, CPU#1: kworker/u10:0/27
  Workqueue: async async_run_entry_fn
  Call Trace:
   free_irq+0x292/0x8b0 kernel/irq/manage.c:2018
   mei_me_probe+0x672/0x820 drivers/misc/mei/pci-me.c:295
   pci_device_probe+0x461/0xa50 drivers/pci/pci-driver.c:489
   really_probe+0x267/0xaf0 drivers/base/dd.c:709
   driver_probe_device+0x4f/0x240 drivers/base/dd.c:901
   __driver_attach_async_helper+0x128/0x290 drivers/base/dd.c:1227

Our reproducer.c is available upon request.

Happy to test a patch if that would help.

Regards,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-28  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28  3:20 [BUG] free_irq -- mei_me_probe error path frees an IRQ it never acquired Farhad Alemi
2026-08-28  5:33 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®