diff options
| author | Johan Hovold <johan@kernel.org> | 2026-08-21 17:45:44 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-09-08 11:00:48 +0200 |
| commit | 63594e8ffe097bc0b7639936f33799a7653dded2 (patch) | |
| tree | 3b29b1a5481d981ea45dbf7ba764c8f366a5baee /include/linux | |
| parent | 33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b (diff) | |
USB: serial: fix dynamic id driver deregistration race
Only free the dynamic ids after having deregistered the driver and
removed the "new_id" attribute to avoid leaking any id added by a racing
write to the attribute.
Fixes: 93bacefc4cc0 ("USB serial: add dynamic id support to usb-serial core")
Cc: stable@vger.kernel.org # 2.6.21
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
