[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190507.121550.257256216928661084.davem@davemloft.net>
Date: Tue, 07 May 2019 12:15:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] taprio: add null check on sched_nest to avoid
potential null pointer dereference
From: Colin King <colin.king@...onical.com>
Date: Sun, 5 May 2019 22:50:19 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The call to nla_nest_start_noflag can return a null pointer and currently
> this is not being checked and this can lead to a null pointer dereference
> when the null pointer sched_nest is passed to function nla_nest_end. Fix
> this by adding in a null pointer check.
>
> Addresses-Coverity: ("Dereference null return value")
> Fixes: a3d43c0d56f1 ("taprio: Add support adding an admin schedule")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists