Re: [syzbot] INFO: task hung in nfc_rfkill_set_block

From
Magnus Leatti <hidden>
Date
2026-11-12 09:02:39
Also in
lkml, oe-linux-nfc
Hi,

This looks like the device_lock vs rfkill_global_mutex inversion
fixed by 1ab526d97a57 ("net: nfc: fix deadlock between
nfc_unregister_device and rfkill_fop_write"). That fix credited a
different syzbot report, so this one was never linked to it.

I ran the C reproducer for 600 s per kernel, x86_64 under QEMU/KVM:

  1ab526d97a57^  hung task report at 91 s (rfkill_sync_work in
                 nfc_dev_down, nfc_unregister_device in
                 rfkill_unregister)
  1ab526d97a57   no hang
  9d66f26fefac   no hang (mainline)

#syz fix: net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write

Thanks,
Magnus
Thread (1 message) 1 message, 1 author, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help