[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190614.084844.694799483519239073.davem@davemloft.net>
Date: Fri, 14 Jun 2019 08:48:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: 92siuyang@...il.com
Cc: sameo@...ux.intel.com, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nfc: Ensure presence of required attributes in the
deactivate_target handler
From: Young Xiao <92siuyang@...il.com>
Date: Fri, 14 Jun 2019 15:13:02 +0800
> Check that the NFC_ATTR_TARGET_INDEX attributes (in addition to
> NFC_ATTR_DEVICE_INDEX) 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.
>
> Signed-off-by: Young Xiao <92siuyang@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists