Description
In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix ioctl hangup race The tty ioctls can race with hangup and end up calling into a tty driver for a device that is already gone or powered down. Serialise the callbacks using the tty port mutex and add the missing checks to make sure the port has not been hung up before accessing port driver data or hardware. This specifically avoids dereferencing a NULL-pointer if a device is disconnected during lengthy break signalling. Note that TIOCGICOUNT and TIOCMIWAIT do not access port driver data or hardware and are therefore not affected by the race.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f34d7a5b7010b82fe97da95496b9971435530062 to < c7ef25e96dc3f808eb891bbbd43b6a682846eb0caffectedf34d7a5b7010b82fe97da95496b9971435530062 to < 98f0a25134bfce44ebd1db0341fa0e8603ff276daffectedf34d7a5b7010b82fe97da95496b9971435530062 to < 3a728adbed9fd822f99a9d9c5ebad5c3b565ba4aaffectedf34d7a5b7010b82fe97da95496b9971435530062 to < 24d6edb6bd7f7a9e6cee2f8fe435781daab8aa0faffectedf34d7a5b7010b82fe97da95496b9971435530062 to < ae0da9a5c1ca95c20cc5feffd511ce6eae75924eaffectedf34d7a5b7010b82fe97da95496b9971435530062 to < 4597ddd6168ae2a4123404e5f0871f1070dc7773affectedf34d7a5b7010b82fe97da95496b9971435530062 to < 7912a95d1345c77d8d63b530b00c118700b78abdaffectedf34d7a5b7010b82fe97da95496b9971435530062 to < ae0e61d95677efa778379853e495d748e6efbf95affected
Linux Linux
Default version status: affected
2.6.26affected0 to < 2.6.26unaffected5.10.273 to ≤ 5.10.*unaffected5.15.224 to ≤ 5.15.*unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c7ef25e96dc3f808eb891bbbd43b6a682846eb0c ↗
- https://git.kernel.org/stable/c/98f0a25134bfce44ebd1db0341fa0e8603ff276d ↗
- https://git.kernel.org/stable/c/3a728adbed9fd822f99a9d9c5ebad5c3b565ba4a ↗
- https://git.kernel.org/stable/c/24d6edb6bd7f7a9e6cee2f8fe435781daab8aa0f ↗
- https://git.kernel.org/stable/c/ae0da9a5c1ca95c20cc5feffd511ce6eae75924e ↗
- https://git.kernel.org/stable/c/4597ddd6168ae2a4123404e5f0871f1070dc7773 ↗
- https://git.kernel.org/stable/c/7912a95d1345c77d8d63b530b00c118700b78abd ↗
- https://git.kernel.org/stable/c/ae0e61d95677efa778379853e495d748e6efbf95 ↗