dma_ip_drivers icon indicating copy to clipboard operation
dma_ip_drivers copied to clipboard

engine_status_dump buffer overflow

Open dmitrym1 opened this issue 11 months ago • 0 comments

In function engine_status_dump() there is char buffer[256]. If engine status is 0xFFFFFFFF, which means all possible flags, calling engine_status_dump() causes buffer overflow and kernel crash. This is impossible in normal conditions and could only be triggered by another problem. But function engine_status_dump() is a diagnostic function and thus should not lead to crash even if input makes no sense. The problem could be fixed by increasing buffer size.

dmitrym1 avatar Jan 17 '25 13:01 dmitrym1