Johan Hovold
fdb838efa3
USB: serial: suppress driver bind attributes
...
USB-serial drivers must not be unbound from their ports before the
corresponding USB driver is unbound from the parent interface so
suppress the bind and unbind attributes.
Unbinding a serial driver while it's port is open is a sure way to
trigger a crash as any driver state is released on unbind while port
hangup is handled on the parent USB interface level. Drivers for
multiport devices where ports share a resource such as an interrupt
endpoint also generally cannot handle individual ports going away.
Fixes: 1da177e4c3
("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Johan Hovold <johan@kernel.org >
2020-01-17 11:11:26 +01:00
..
2017-11-04 11:58:00 +01:00
2019-04-26 08:37:53 +02:00
2019-06-20 14:28:36 +02:00
2019-06-20 14:28:36 +02:00
2018-05-17 11:22:00 +02:00
2019-11-04 12:49:51 +01:00
2018-12-05 11:29:10 +01:00
2019-11-18 12:24:29 +01:00
2018-06-26 14:13:53 +02:00
2019-06-20 14:28:36 +02:00
2017-11-02 11:10:55 +01:00
2019-04-21 14:24:12 +02:00
2019-06-20 14:28:36 +02:00
2017-11-02 11:10:55 +01:00
2019-05-03 09:19:55 +02:00
2018-11-20 18:25:44 +01:00
2019-11-14 18:55:31 +01:00
2019-11-14 18:55:31 +01:00
2018-10-05 08:57:06 +02:00
2017-11-04 11:55:38 +01:00
2019-04-30 10:25:04 +02:00
2017-11-04 11:55:38 +01:00
2019-12-10 13:11:21 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:55:38 +01:00
2018-10-13 00:50:38 -04:00
2018-08-27 11:52:34 +02:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:55:38 +01:00
2019-06-20 14:28:36 +02:00
2019-04-26 08:38:00 +02:00
2017-11-04 11:55:38 +01:00
2019-11-21 14:39:41 +01:00
2019-06-20 14:28:36 +02:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-10-04 10:57:19 +02:00
2018-07-11 10:11:29 +02:00
2018-07-11 10:11:29 +02:00
2018-07-06 10:42:42 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 15:53:48 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:58:00 +01:00
2019-11-12 09:53:07 +01:00
2019-11-12 09:57:32 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:58:00 +01:00
2019-06-20 14:28:36 +02:00
2020-01-14 12:05:44 +01:00
2020-01-16 16:54:34 +01:00
2019-06-20 14:28:36 +02:00
2017-11-04 11:55:38 +01:00
2019-10-23 10:52:16 +02:00
2019-10-23 10:52:16 +02:00
2017-11-04 11:58:00 +01:00
2017-12-15 09:41:46 +01:00
2018-11-12 10:08:10 +01:00
2017-11-04 11:55:38 +01:00
2018-06-26 15:22:25 +02:00
2019-04-26 08:38:02 +02:00
2018-10-13 00:50:41 -04:00
2018-06-26 15:25:01 +02:00
2019-10-16 10:29:23 +02:00
2017-11-04 11:55:38 +01:00
2017-11-28 09:54:11 +01:00
2019-12-20 12:07:12 +01:00
2020-01-13 15:04:35 +01:00
2020-01-17 11:11:26 +01:00
2019-12-20 12:07:12 +01:00
2019-06-20 14:28:36 +02:00
2019-06-20 14:28:36 +02:00
2019-10-30 10:06:32 +01:00
2019-10-30 10:06:32 +01:00
2017-11-04 11:55:38 +01:00
2017-11-04 11:58:00 +01:00