USB: serial: io_edgeport: cap received transmit credits
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: io_edgeport: cap received transmit credits
The interrupt-status packet reports transmit credits returned by the
device. edge_interrupt_callback() adds the 16-bit value to txCredits
without checking maxTxCredits.
edge_write() uses txCredits minus the software FIFO count as the amount
of data that fits. Since the FIFO is allocated with maxTxCredits bytes,
txCredits exceeding maxTxCredits can cause OOB write in ring buffer.
Cap accumulated credits at maxTxCredits. Conforming devices should never
hit the cap.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1e47d8228b8767c8ac722aedb388f70adeeda43dhttps://git.kernel.org/stable/c/64b687f9694777754285d489abbefa3784bc78dahttps://git.kernel.org/stable/c/cbe00048b69d67c8a78293cb7681b4c9963b26c7https://git.kernel.org/stable/c/ee57992c053a6d395e98ced2d4c9cc3b42d8c27ahttps://git.kernel.org/stable/c/faaddd811c5099f11a5f52e68a6b31a5898cda4f