Details

[Home]

Issue of the Implementation # L0230

Brief

libertas: Add spinlock to avoid race condition

Detailed Description

A socket buffer is written to priv->current_skb with a spin_lock protection. In the other function the field current_skb is cleaned. There is no protection used. The corresponding handlers are activated at the same time in and then may be executed simultaneously.

Component

linux-kernel 4.7

Accepted

https://lkml.org/lkml/2016/6/7/299
commit

Status

Fixed in v4.8-rc1

List of traces

Error trace 1

[Home]