Re: [PATCH] riscv: Fix a NULL pointer reference in machine_kexec_prepare
Tao Liu <[email protected]> Tue, 30 Jun 2026 12:23:41 +1200
| Newsgroups | org.kernel.vger.kernel-janitors,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAO7dBbW9s6uu3gHHF5QR=_HdqN9shEfYBH6roR814ZEAw392Jw@mail.gmail.com> |
Hi Markus, On Tue, Jun 30, 2026 at 1:00 AM Markus Elfring <[email protected]> wrote: > > > A NULL pointer reference issue is noticed in riscv's machine_kexec_prepare, > … > dereference? > > > … > > Fix this by simply adding a check before copy. > > How do you think about to add any tags (like “Fixes” and “Cc”) accordingly? Right, thanks for the suggestion. I will improve the commit message wording in v3. Thanks, Tao Liu > > See also: > * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc1#n145 > * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.2-rc1#n34 > > > Regards, > Markus >