media: chips-media: wave5: Resume device before setting EOS flag
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a52e6f7923c17a672135b485ffd96fbd72f46267, Kernel 2215e55ee1e5e69ad53862d968360c5aa63dd3a7, Kernel 56c2c5ad35614ca5ae23838d6af5d7f59e3124dc and 4 more.
In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Resume device before setting EOS flag Setting the EOS flag talks to the firmware via send_firmware_command(), which accesses VPU registers. Both the STREAMOFF path (wave5_vpu_dec_job_abort()) and the V4L2_DEC_CMD_STOP path (wave5_vpu_dec_stop()) can run while the device is runtime suspended, so those register accesses hit powered-down hardware and the SoC raises an asynchronous SError, panicking the kernel: SError Interrupt on CPU3, code 0x00000000bf000000 -- SError send_firmware_command+0x2c/0x160 [wave5] wave5_vpu_dec_set_bitstream_flag+0x6c/0x80 [wave5] wave5_vpu_dec_update_bitstream_buffer+0x80/0xec [wave5] wave5_vpu_dec_job_abort+0x44/0xa0 [wave5] v4l2_m2m_cancel_job+0x110/0x19c [v4l2_mem2mem] v4l2_m2m_streamoff+0x24/0x140 [v4l2_mem2mem] Resume the device with pm_runtime_resume_and_get() around the EOS firmware command and release it with pm_runtime_put_autosuspend(), matching the runtime PM handling already done in wave5_vpu_dec_device_run().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9707a6254a8a6b978bde811a44fe07d86c229d1c <a52e6f7923c17a672135b485ffd96fbd72f46267, >=9707a6254a8a6b978bde811a44fe07d86c229d1c <2215e55ee1e5e69ad53862d968360c5aa63dd3a7, >=9707a6254a8a6b978bde811a44fe07d86c229d1c <56c2c5ad35614ca5ae23838d6af5d7f59e3124dc, >=9707a6254a8a6b978bde811a44fe07d86c229d1c <9c757d77a6eb58ca4a47cada5ab60451e6c2d247, =6.8 | a52e6f7923c17a672135b485ffd96fbd72f46267, 2215e55ee1e5e69ad53862d968360c5aa63dd3a7, 56c2c5ad35614ca5ae23838d6af5d7f59e3124dc, 9c757d77a6eb58ca4a47cada5ab60451e6c2d247 |
| linux-kernel: Kernel | >=6.19.0 <7.2.5, >=6.8.0 <6.12.117, >=6.13.0 <6.18.57 | 7.2.5, 6.12.117, 6.18.57 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket