diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2026-11-10 17:20:29 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-11-10 17:20:29 +0800 |
| commit | b7000844b374a1ab75f0cc561f1d4d321cd6eeb0 (patch) | |
| tree | aa6ac046bcb8c50af1cb71a07192633494df7a24 /include/linux/debugobjects.h | |
| parent | 09d28f8d47ce8fd8ac8da34e46abe560e48804e2 (diff) | |
LoongArch: kexec_file: Fix a modified cmdline leak
machine_kexec_prepare() copies it to KEXEC_CMDLINE_ADDR and overwrites
the pointer. Free the heap buffer after the copy here.
Cc: stable@vger.kernel.org
Fixes: d162feec6b6e ("LoongArch: Add preparatory infrastructure for kexec_file")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
