Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1673092 > unrolled thread

Re: [PATCH] nfc: Ensure presence of required attributes in the activate_target netlink handler

Started bySamuel Ortiz <sameo@linux.intel.com>
First post2017-06-23 00:30 +0200
Last post2017-06-23 00:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] nfc: Ensure presence of required attributes in the  activate_target netlink handler Samuel Ortiz <sameo@linux.intel.com> - 2017-06-23 00:30 +0200

#1673092 — Re: [PATCH] nfc: Ensure presence of required attributes in the activate_target netlink handler

FromSamuel Ortiz <sameo@linux.intel.com>
Date2017-06-23 00:30 +0200
SubjectRe: [PATCH] nfc: Ensure presence of required attributes in the activate_target netlink handler
Message-ID<tViLT-2eG-1@gated-at.bofh.it>
Hi Mateusz,

On Wed, May 24, 2017 at 12:42:26PM +0200, Mateusz Jurczyk wrote:
> Check that the NFC_ATTR_TARGET_INDEX and NFC_ATTR_PROTOCOLS 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: Mateusz Jurczyk <mjurczyk@google.com>
> ---
>  net/nfc/netlink.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.

Cheers,
Samuel.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web