[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1512250753010.2084@localhost6.localdomain6>
Date: Fri, 25 Dec 2015 07:54:48 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Herbert Xu <herbert@...dor.apana.org.au>
cc: kbuild-all@...org, Dmitry Vyukov <dvyukov@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
syzkaller <syzkaller@...glegroups.com>,
Kostya Serebryany <kcc@...gle.com>,
Alexander Potapenko <glider@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Sasha Levin <sasha.levin@...cle.com>,
Kees Cook <keescook@...gle.com>
Subject: Re: crypto: algif_skcipher - Require setkey before accept(2)
Lines 766, 767 don't look correct at all.
julia
On Thu, 24 Dec 2015, kbuild test robot wrote:
> In-Reply-To: <20151224093902.GA8235@...dor.apana.org.au>
>
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> Hi Herbert,
>
> [auto build test WARNING on crypto/master]
> [also build test WARNING on next-20151223]
> [cannot apply to v4.4-rc6]
>
> url: https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-algif_skcipher-Require-setkey-before-accept-2/20151224-174142
> base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git master
> :::::: branch date: 63 minutes ago
> :::::: commit date: 63 minutes ago
>
> >> crypto/algif_skcipher.c:767:18-21: ERROR: reference preceded by free on line 766
>
> git remote add linux-review https://github.com/0day-ci/linux
> git remote update linux-review
> git checkout 7f3e28b295bcfeb7fba928af15780f1bb3051430
> vim +767 crypto/algif_skcipher.c
>
> 7f3e28b2 Herbert Xu 2015-12-24 760 tfm = kzalloc(sizeof(*tfm), GFP_KERNEL);
> 7f3e28b2 Herbert Xu 2015-12-24 761 if (!tfm)
> 7f3e28b2 Herbert Xu 2015-12-24 762 return ERR_PTR(-ENOMEM);
> 7f3e28b2 Herbert Xu 2015-12-24 763
> 7f3e28b2 Herbert Xu 2015-12-24 764 tfm->skcipher = crypto_alloc_skcipher(name, type, mask);
> 7f3e28b2 Herbert Xu 2015-12-24 765 if (IS_ERR(tfm->skcipher)) {
> 7f3e28b2 Herbert Xu 2015-12-24 @766 kfree(tfm);
> 7f3e28b2 Herbert Xu 2015-12-24 @767 return ERR_CAST(tfm->skcipher);
> 7f3e28b2 Herbert Xu 2015-12-24 768 }
> 7f3e28b2 Herbert Xu 2015-12-24 769
> 7f3e28b2 Herbert Xu 2015-12-24 770 return tfm;
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists