Plugging devices that declare more LEDs than it is known to to input-leds causes kernel warnings and soft lockups

Solution In Progress - Updated -

Issue

After plugging the device that declares more LEDs than it is known to the input-leds driver, the following warning may appear:

kernel: WARNING: CPU: 2 PID: 32742 at drivers/input/input-leds.c:115 input_leds_connect+0x276/0x280

After unplugging or unbinding (through the sysfs interface) such a device, a soft lockup may occur:

kernel: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [command:1234]
…
kernel: RIP: 0010:[<ffffffffaaaa32dd>]  [<ffffffffaaaa32dd>] lock_timer_base.isra.34+0x4d/0x50

Environment

  • Red Hat Enterprise Linux 7.5
  • seen with the following USB devices:
    • Ultimarc IPAC
    • External HDD Western Digital
    • Imation-IronKey

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.