In qlcnic_alloc_rx_skb(), when dma_map_single() fails, skb is freed
immediately. And skb could be freed again. This issue could allow a
local attacker to crash the system due to a use-after-free flaw.
Signed-off-by: Ma Ke <redacted>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 1 +
1 file changed, 1 insertion(+)
From: Simon Horman <horms@kernel.org> Date: 2023-09-15 05:45:50
On Wed, Sep 13, 2023 at 06:41:19PM +0800, Ma Ke wrote:
quoted hunk
In qlcnic_alloc_rx_skb(), when dma_map_single() fails, skb is freed
immediately. And skb could be freed again. This issue could allow a
local attacker to crash the system due to a use-after-free flaw.
Signed-off-by: Ma Ke <redacted>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 1 +
1 file changed, 1 insertion(+)