Search Linux Wireless

Re: [PATCH] mac80211: fix NULL pointer dereference when ftrace is enabled

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

 



On Tue, 2010-01-26 at 15:58 +0800, Zhu Yi wrote:
> I got below kernel oops when I try to bring down the network interface if
> ftrace is enabled. The root cause is drv_ampdu_action() is passed with a
> NULL ssn pointer in the BA session tear down case. We need to check and
> avoid dereferencing it in trace entry assignment.

>  		__entry->tid = tid;
> -		__entry->ssn = *ssn;
> +		__entry->ssn = ssn ? *ssn : 0;
>  	),

Good catch, thanks.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux