diff options
| author | 2026-05-22 10:30:44 -0700 | |
|---|---|---|
| committer | 2026-06-06 21:05:16 -0700 | |
| commit | 8adf4289d945e8990e4336436a97da71d21d2cae (patch) | |
| tree | 079c3c7c93dbf2d9bd6d347969909990f9f36822 /tools/lib/python/kdoc/python_version.py | |
| parent | Input: ims-pcu - fix out-of-bounds read in ims_pcu_irq() debug logging (diff) | |
Input: ims-pcu - fix DMA mapping violation in line setup
In ims_pcu_line_setup(), the driver uses pcu->cmd_buf as a transfer
buffer for usb_control_msg(). However, pcu->cmd_buf is embedded in the
struct ims_pcu allocation, which violates DMA mapping rules regarding
cacheline alignment.
Use a heap-allocated buffer for the line coding data instead.
Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver")
Cc: stable@vger.kernel.org
Reported-by: Sashiko bot <sashiko-bot@kernel.org>
Assisted-by: Gemini:gemini-3.1-pro
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
