Search Linux Wireless

Re: WARNING in __ieee80211_beacon_get

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

 



On Wed, 2023-08-16 at 15:39 +0200, Aleksandr Nogikh wrote:
> On Wed, Aug 16, 2023 at 10:09 AM Johannes Berg
> <johannes@xxxxxxxxxxxxxxxx> wrote:
> > 
> > Hi,
> > 
> > Yeah, I know this is old ... still happening though, so I've been
> > looking at it a bit.
> > 
> > > The issue was bisected to:
> > > 
> > > commit 7dfd8ac327301f302b03072066c66eb32578e940
> > > Author: Ramon Fontes <ramonreisfontes@xxxxxxxxx>
> > > Date:   Thu Oct 10 18:13:07 2019 +0000
> > > 
> > >     mac80211_hwsim: add support for OCB
> > 
> > I'm not sure that make sense, FWIW. There isn't even any OCB? The syz
> > script just contains a channel switch command.
> > 
> > > WARNING: CPU: 1 PID: 6900 at net/mac80211/tx.c:4875 __ieee80211_beacon_get+0xb59/0x1aa0 net/mac80211/tx.c:4875
> > 
> > I also can't reproduce this though.
> 
> Did you try to run the kernel attached in the assets?
> https://github.com/google/syzkaller/blob/master/docs/syzbot_assets.md#run-a-c-reproducer
> 
> I've just followed the instructions from there and the C repro did
> crash the kernel in ~20 seconds:
> 
> [   56.809692][    C1] ------------[ cut here ]------------
> [   56.810656][    C1] WARNING: CPU: 1 PID: 5358 at
> net/mac80211/tx.c:5011 __ieee80211_beacon_get+0x1495/0x16e0
> 

To be fair, I didn't, I figured the reproducer was simple enough to just
have a go at it with my own test infra.

Is there an easy way to rebuild the kernel for it?

johannes




[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