USB: serial: digi_acceleport: fix write buffer corruption
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 7.8epss 0.2%
probabilidade de exploração
0.2%top 94% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/1243f120790042c2ac92e84e797dacc75fff4366https://git.kernel.org/stable/c/24ca1fea8f2753bf33e1d458ec1ae5d9b7796a65https://git.kernel.org/stable/c/2f296974acc279f05f284441bfe3064074958d11https://git.kernel.org/stable/c/5d9dc88bdf8897788b0eed57113e9eca7fd42ea9https://git.kernel.org/stable/c/699dfb6917503b3cda4d5da6941cf79c3c1b4c8bhttps://git.kernel.org/stable/c/a274b3794fe1852c3d9fe6d900b94053c0b03410https://git.kernel.org/stable/c/a3a13fdc53103b07335918e2cdeb465038a71725https://git.kernel.org/stable/c/e60e4873e9178da9f4f2674e4c2ff085d5a84f79