CVE-2023-54238
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
30/12/2025
Última modificación:
30/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
mlx5: fix skb leak while fifo resync and push<br />
<br />
During ptp resync operation SKBs were poped from the fifo but were never<br />
freed neither by napi_consume nor by dev_kfree_skb_any. Add call to<br />
napi_consume_skb to properly free SKBs.<br />
<br />
Another leak was happening because mlx5e_skb_fifo_has_room() had an error<br />
in the check. Comparing free running counters works well unless C promotes<br />
the types to something wider than the counter. In this case counters are<br />
u16 but the result of the substraction is promouted to int and it causes<br />
wrong result (negative value) of the check when producer have already<br />
overlapped but consumer haven&#39;t yet. Explicit cast to u16 fixes the issue.



