All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: bianpan2016@163.com
Cc: allison@lohutok.net, gregkh@linuxfoundation.org,
	tglx@linutronix.de, rfontana@redhat.com,
	kstewart@linuxfoundation.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] NFC: fdp: fix incorrect free object
Date: Tue, 05 Nov 2019 18:32:18 -0800 (PST)	[thread overview]
Message-ID: <20191105.183218.1289105160253580168.davem@davemloft.net> (raw)
In-Reply-To: <1572942847-35209-1-git-send-email-bianpan2016@163.com>

From: Pan Bian <bianpan2016@163.com>
Date: Tue,  5 Nov 2019 16:34:07 +0800

> The address of fw_vsc_cfg is on stack. Releasing it with devm_kfree() is
> incorrect, which may result in a system crash or other security impacts.
> The expected object to free is *fw_vsc_cfg.
> 
> Signed-off-by: Pan Bian <bianpan2016@163.com>

Applied and queued up for -stable, thanks.

      reply	other threads:[~2019-11-06  2:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05  8:34 [PATCH] NFC: fdp: fix incorrect free object Pan Bian
2019-11-06  2:32 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191105.183218.1289105160253580168.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=allison@lohutok.net \
    --cc=bianpan2016@163.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rfontana@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.