[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1604072232120.27368@cbobk.fhfr.pm>
Date: Thu, 7 Apr 2016 22:33:13 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
cc: jeyu@...hat.com, Josh Poimboeuf <jpoimboe@...hat.com>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>, live-patching@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] livepatch: robustify klp_register_patch() API error
checking
On Thu, 7 Apr 2016, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@...e.cz>
>
> Commit 425595a7fc20 ("livepatch: reuse module loader code to write
> relocations") adds a possibility of dereferncing pointers supplied by the
> consumer of the livepatch API before sanity (NULL) checking them (patch
> and patch->mod).
>
> Spotted by smatch tool.
>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
Acked-by: Jessica Yu <jeyu@...hat.com>
Pushed out. Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists