From: "Ethan Tidmore" <ethantidmore06@gmail.com>
To: "Peter Zijlstra" <peterz@infradead.org>,
"Ethan Tidmore" <ethantidmore06@gmail.com>
Cc: <tglx@kernel.org>, <mpe@ellerman.id.au>, <cai@lca.pw>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched/core: Fix error pointer dereference
Date: Fri, 20 Feb 2026 08:19:28 -0600 [thread overview]
Message-ID: <DGJUS7RUL4M8.350S8HMZ6RU8W@gmail.com> (raw)
In-Reply-To: <20260220102047.GM1282955@noisy.programming.kicks-ass.net>
On Fri Feb 20, 2026 at 4:20 AM CST, Peter Zijlstra wrote:
> On Tue, Feb 17, 2026 at 12:06:33PM -0600, Ethan Tidmore wrote:
>> The function idle_thread_get() can return an error pointer and is not
>> checked for one. Add check for error pointer.
>>
>> Detected by Smatch:
>> kernel/cpu.c:911 finish_cpu() error:
>> 'idle' dereferencing possible ERR_PTR()
>
> How could this possibly happen?
>
Sorry about that, must be a false positive. I'll be more careful next
time.
Thanks,
ET
next prev parent reply other threads:[~2026-02-20 14:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 18:06 Ethan Tidmore
2026-02-20 10:20 ` Peter Zijlstra
2026-02-20 14:19 ` Ethan Tidmore [this message]
2026-02-26 5:18 ` Vishal Chourasia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DGJUS7RUL4M8.350S8HMZ6RU8W@gmail.com \
--to=ethantidmore06@gmail.com \
--cc=cai@lca.pw \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=peterz@infradead.org \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome