[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190514.154236.2269798493150074980.davem@davemloft.net>
Date: Tue, 14 May 2019 15:42:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: paulus@...ba.org, gnault@...hat.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] ppp: deflate: Fix possible crash in deflate_init
From: YueHaibing <yuehaibing@...wei.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@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> v2: also check ppp_deflate_draft registration
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists