Search Linux Wireless

Re: [PATCH] net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails

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

 



From: Yue Haibing <yuehaibing@xxxxxxxxxx>
Date: Fri, 22 Feb 2019 15:37:58 +0800

> From: YueHaibing <yuehaibing@xxxxxxxxxx>
> 
> KASAN report this:
 . ..
> nfc_llcp_build_tlv will return NULL on fails, caller should check it,
> otherwise will trigger a NULL dereference.
> 
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Fixes: eda21f16a5ed ("NFC: Set MIU and RW values from CONNECT and CC LLCP frames")
> Fixes: d646960f7986 ("NFC: Initial LLCP support")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied and queued up for -stable, thanks.



[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