From: David Miller <davem@davemloft.net>
To: yuehaibing@huawei.com
Cc: paulus@samba.org, gnault@redhat.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH v2] ppp: deflate: Fix possible crash in deflate_init
Date: Tue, 14 May 2019 15:42:36 -0700 (PDT) [thread overview]
Message-ID: <20190514.154236.2269798493150074980.davem@davemloft.net> (raw)
In-Reply-To: <20190514145532.21932-1-yuehaibing@huawei.com>
From: YueHaibing <yuehaibing@huawei.com>
Date: Tue, 14 May 2019 22:55:32 +0800
> BUG: unable to handle kernel paging request at ffffffffa018f000
...
> If ppp_deflate fails to register in deflate_init,
> module initialization failed out, however
> ppp_deflate_draft may has been regiestred and not
> unregistered before return.
> Then the seconed modprobe will trigger crash like this.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> v2: also check ppp_deflate_draft registration
Applied and queued up for -stable, thanks.
prev parent reply other threads:[~2019-05-14 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-14 7:43 [PATCH] " YueHaibing
2019-05-14 14:05 ` Guillaume Nault
2019-05-14 14:42 ` YueHaibing
2019-05-14 14:55 ` [PATCH v2] " YueHaibing
2019-05-14 15:34 ` Guillaume Nault
2019-05-14 22:42 ` 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=20190514.154236.2269798493150074980.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gnault@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=paulus@samba.org \
--cc=yuehaibing@huawei.com \
/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
all inboxes | Powered by JetHome®