CVE Catalog

CVE-2026-72013

Low risk· EPSS 11%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.21%

11th percentile - higher than 11% of all known CVEs

Summary

In the Linux kernel for RISC-V, there is a NULL pointer dereference vulnerability in machine_kexec_prepare(). The pointer image->segment[i].buf can be NULL and is copied without a check, potentially causing a system crash.

Risk Assessment

An attacker with local access can cause a denial of service by preparing a kexec image with a NULL buffer.

Recommendation

Apply a Linux kernel update that includes the fix adding a check before data copy in machine_kexec_prepare().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: riscv: Prevent NULL pointer dereference in machine_kexec_prepare() A NULL pointer dereference issue is noticed in riscv's machine_kexec_prepare(), where image->segment[i].buf might be NULL and copied unchecked. The NULL buf comes from ima_add_kexec_buffer(), where kbuf is added by kexec_add_buffer(), but kbuf.buffer is NULL, then it is copied without a check in machine_kexec_prepare(): kexec_file_load -> kimage_file_alloc_init() -> kimage_file_prepare_segments() -> ima_add_kexec_buffer() -> kexec_add_buffer() -> machine_kexec_prepare() -> memcpy() Address this by adding a check before the data copy attempt.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS