Linux bluetooth development
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Loic Poulain <loic.poulain@intel.com>
Cc: marcel@holtmann.org, johan.hedberg@gmail.com,
	gustavo@padovan.org, linux-bluetooth@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCHv2] Bluetooth: Ignore H5 non-link packets in non-active state
Date: Mon, 23 Jun 2014 11:54:52 -0400	[thread overview]
Message-ID: <20140623155452.GA19203@kroah.com> (raw)
In-Reply-To: <1403538164-11505-1-git-send-email-loic.poulain@intel.com>

On Mon, Jun 23, 2014 at 05:42:44PM +0200, Loic Poulain wrote:
> When detecting a non-link packet, h5_reset_rx() frees the Rx skb.
> Not returning after that will cause the upcoming h5_rx_payload()
> call to dereference a now NULL Rx skb and trigger a kernel oops.
> 
> Signed-off-by: Loic Poulain <loic.poulain@intel.com>
> ---
>  v2: commit message update (pointer deref)
> 
>  drivers/bluetooth/hci_h5.c | 1 +
>  1 file changed, 1 insertion(+)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>

  reply	other threads:[~2014-06-23 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23 15:42 [PATCHv2] Bluetooth: Ignore H5 non-link packets in non-active state Loic Poulain
2014-06-23 15:54 ` Greg KH [this message]
2014-06-23 15:54 ` Marcel Holtmann

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=20140623155452.GA19203@kroah.com \
    --to=greg@kroah.com \
    --cc=gustavo@padovan.org \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=loic.poulain@intel.com \
    --cc=marcel@holtmann.org \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox