Files
Linux/drivers/misc
Johan Hovold d9d1232b48 misc: bcm-vk: fix tty registration race
Make sure to set the tty class-device driver data before registering the
tty to avoid having a racing open() dereference a NULL pointer.

Fixes: 91ca10d6fa ("misc: bcm-vk: add ttyVK support")
Cc: [email protected]      # 5.12
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-09-21 16:17:15 +02:00
..
…
…
…
2021-08-27 16:22:26 +02:00
…
…
…
…
…
…
…
…
…
…