[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190227.124936.703358805911286675.davem@davemloft.net>
Date: Wed, 27 Feb 2019 12:49:36 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: sameo@...ux.intel.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH] net: nfc: Fix NULL dereference on nfc_llcp_build_tlv
fails
From: Yue Haibing <yuehaibing@...wei.com>
Date: Fri, 22 Feb 2019 15:37:58 +0800
> From: YueHaibing <yuehaibing@...wei.com>
>
> 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@...wei.com>
> 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@...wei.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists