CVE-2024-50190 Information
Description
In the Linux kernel the following vulnerability has been resolved:
ice: fix memleak in ice_init_tx_topology()
Fix leak of the FW blob (DDP pkg).
Make ice_cfg_tx_topo() const-correct so ice_init_tx_topology() can avoid copying whole FW blob. Copy just the topology section and only when needed. Reuse the buffer allocated for the read of the current topology.
This was found by kmemleak with the following trace for each PF:
[
Constify ice_cfg_tx_topo() @buf parameter. This cascades further down to few more functions.
Reference
https://git.kernel.org/stable/c/43544b4e30732c3d88f423252281915d5bc739b6 https://git.kernel.org/stable/c/c188afdc36113760873ec78cbc036f6b05f77621
Share on: