Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5d9dc88bdf8897788b0eed57113e9eca7fd42ea9; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2f296974acc279f05f284441bfe3064074958d11; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e60e4873e9178da9f4f2674e4c2ff085d5a84f79; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 699dfb6917503b3cda4d5da6941cf79c3c1b4c8b; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a274b3794fe1852c3d9fe6d900b94053c0b03410; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1243f120790042c2ac92e84e797dacc75fff4366; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a3a13fdc53103b07335918e2cdeb465038a71725; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.96 through 6.12.*; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5d9dc88bdf8897788b0eed57113e9eca7fd42ea9
- https://git.kernel.org/stable/c/2f296974acc279f05f284441bfe3064074958d11
- https://git.kernel.org/stable/c/e60e4873e9178da9f4f2674e4c2ff085d5a84f79
- https://git.kernel.org/stable/c/699dfb6917503b3cda4d5da6941cf79c3c1b4c8b
- https://git.kernel.org/stable/c/a274b3794fe1852c3d9fe6d900b94053c0b03410
- https://git.kernel.org/stable/c/1243f120790042c2ac92e84e797dacc75fff4366
- https://git.kernel.org/stable/c/a3a13fdc53103b07335918e2cdeb465038a71725
- https://git.kernel.org/stable/c/24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65
ADP enrichment
No English description supplied.
No references supplied.