[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201020171325.1a576d52@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 20 Oct 2020 17:13:25 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Defang Bo <bodefang@....com>
Cc: davem@...emloft.net, johan@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME
attribute in nfc_genl_fw_download()
On Mon, 19 Oct 2020 19:38:58 +0800 Defang Bo wrote:
> check that the NFC_ATTR_FIRMWARE_NAME attributes are provided by the netlink client prior to accessing them.This prevents potential unhandled NULL pointer
> dereference exceptions which can be triggered by malicious user-mode programs, if they omit one or both of these attributes. Just similar to commit <a0323b979f81>("nfc: Ensure presence of required attributes in the activate_target handler").
>
> Signed-off-by: Defang Bo <bodefang@....com>
Applied, thanks.
Powered by blists - more mailing lists