[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5a984b5c-7994-4671-8397-df7780e40c0c@web.de>
Date: Mon, 30 Dec 2024 08:25:39 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Charles Han <hanchunchao@...pur.com>, linux-pm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Alyssa Rosenzweig <alyssa@...enzweig.io>, Hector Martin <marcan@...can.st>,
Marc Zyngier <maz@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
Sven Peter <sven@...npeter.dev>, Viresh Kumar <viresh.kumar@...aro.org>
Cc: LKML <linux-kernel@...r.kernel.org>, asahi@...ts.linux.dev
Subject: Re: [PATCH] cpufreq: apple-soc: Fix possible null-ptr-deref for
cpufreq_cpu_get_raw()
> cpufreq_cpu_get_raw() may return NULL if the cpu is not in
CPU?
> policy->cpus cpu mask and it will cause null pointer dereference.
…
Would the summary phrase “Prevent null pointer dereference in apple_soc_cpufreq_get_rate()”
be a bit nicer here?
Regards,
Markus
Powered by blists - more mailing lists