summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-08-21 17:45:45 +0200
committerJohan Hovold <johan@kernel.org>2026-09-08 11:00:48 +0200
commit646e5b28b4fdbc1b828a2398d6ced2c1dd308a46 (patch)
tree9c66819a6a49bbe590b1a55effa77120d9b35848 /tools/lib/python/kdoc/python_version.py
parent63594e8ffe097bc0b7639936f33799a7653dded2 (diff)
downloadlinux-next-646e5b28b4fdbc1b828a2398d6ced2c1dd308a46.tar.gz
linux-next-646e5b28b4fdbc1b828a2398d6ced2c1dd308a46.zip
USB: serial: fix driver deregistration order
USB serial driver modules register one driver for the USB bus and one or more drivers for the ports on the USB serial bus. When unloading a driver module, the USB driver must be deregistered before the USB serial bus drivers so that I/O is stopped before unbinding the ports to avoid use-after-free in completion handlers accessing port data. Note that the "new_id" attributes must first be removed to prevent new ids from being added and triggering a probe of the USB driver after it has been deregistered. Fixes: 765e0ba62613 ("usb-serial: new API for driver registration") Cc: stable@vger.kernel.org # 3.4 Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions