Messages in this thread | | | Date | Fri, 14 Jun 2019 08:48:44 -0700 (PDT) | Subject | Re: [PATCH] nfc: Ensure presence of required attributes in the deactivate_target handler | From | David Miller <> |
| |
From: Young Xiao <92siuyang@gmail.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@gmail.com>
Applied and queued up for -stable, thanks.
| |