USB: serial: digi_acceleport: fix write buffer corruption
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e60e4873e9178da9f4f2674e4c2ff085d5a84f79, Kernel 1243f120790042c2ac92e84e797dacc75fff4366, Kernel 24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: USB: serial: digi_acceleport: fix write buffer corruption The digi_write_inb_command() is supposed to wait for the write urb to become available or return an error, but instead it updates the transfer buffer and tries to resubmit the urb on timeout. To make things worse, for commands like break control where no timeout is used, the driver would corrupt the urb immediately due to a broken jiffies comparison (on 32-bit machines this takes five minutes of uptime to trigger due to INITIAL_JIFFIES). Fix this by adding the missing return on timeout and waiting indefinitely when no timeout has been specified as intended. This issue was (sort of) flagged by Sashiko when reviewing an unrelated change to the driver.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e60e4873e9178da9f4f2674e4c2ff085d5a84f79, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1243f120790042c2ac92e84e797dacc75fff4366, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2f296974acc279f05f284441bfe3064074958d11, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5d9dc88bdf8897788b0eed57113e9eca7fd42ea9, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <699dfb6917503b3cda4d5da6941cf79c3c1b4c8b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a274b3794fe1852c3d9fe6d900b94053c0b03410, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a3a13fdc53103b07335918e2cdeb465038a71725, =2.6.12 | e60e4873e9178da9f4f2674e4c2ff085d5a84f79, 1243f120790042c2ac92e84e797dacc75fff4366, 24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65, 2f296974acc279f05f284441bfe3064074958d11, 5d9dc88bdf8897788b0eed57113e9eca7fd42ea9, 699dfb6917503b3cda4d5da6941cf79c3c1b4c8b, a274b3794fe1852c3d9fe6d900b94053c0b03410, a3a13fdc53103b07335918e2cdeb465038a71725 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96, >=2.6.12 <5.10.261 | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket