{"cve":"CVE-2026-72013","nvd":{"published":"2026-08-15T06:21:00.033","modified":"2026-08-17T06:17:58.763","status":"Received","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Prevent NULL pointer dereference in machine_kexec_prepare()\n\nA NULL pointer dereference issue is noticed in riscv's\nmachine_kexec_prepare(), where image->segment[i].buf might be NULL and\ncopied unchecked.\n\nThe NULL buf comes from ima_add_kexec_buffer(), where kbuf is added by\nkexec_add_buffer(), but kbuf.buffer is NULL, then it is copied without\na check in machine_kexec_prepare():\n\n  kexec_file_load\n    -> kimage_file_alloc_init()\n       -> kimage_file_prepare_segments()\n          -> ima_add_kexec_buffer()\n             -> kexec_add_buffer()\n    -> machine_kexec_prepare()\n       -> memcpy()\n\nAddress this by adding a check before the data copy attempt.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/606cc45e871e34b80a2f63874f069387a5b44176","https://git.kernel.org/stable/c/6ad6954492697681ebcfc1beb0eb384406cd4b65","https://git.kernel.org/stable/c/81bbcff0c053c4f5c711c31a9b72fc492bd96c3f","https://git.kernel.org/stable/c/b5f92cc4e24a298bf390b0b189a4b888c0900161","https://git.kernel.org/stable/c/c462e15497dc40abe369b3be7a2c91ac5d1be6f9"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:48:17.459049833+00:00"},"epss":{"cve":"CVE-2026-72013","score":0.00215,"percentile":0.11861,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}