Search Linux Wireless

Re: [PATCH] mac80211: Fix kernel panic due to use of txq after free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bhagavathi Perumal S <bperumal@xxxxxxxxxxxxxx> writes:

> The txq of vif is added to active_txqs list for ATF TXQ scheduling
> in the function ieee80211_queue_skb(), but it was not properly removed
> before freeing the txq object. It was causing use after free of the txq
> objects from the active_txqs list, result was kernel panic
> due to invalid memory access.
>
> Fix kernel invalid memory access by properly removing txq object
> from active_txqs list before free the object.
>
> Signed-off-by: Bhagavathi Perumal S <bperumal@xxxxxxxxxxxxxx>

Nice catch, thanks!

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>

This should probably have a fixes tag:

Fixes: 1866760096bf ("mac80211: Add TXQ scheduling API")

-Toke



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux