Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-72013

UNSCOREDEPSS 7%

riscv: Prevent NULL pointer dereference in machine_kexec_prepare()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 6ad6954492697681ebcfc1beb0eb384406cd4b65; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < eadd0c2c76aee6a738f17f251434c77db3c606c8; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < d5b2752a17efc165793ae38f2c24b5ed9c04ffde; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f; 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97; 3ba83e46b591381e718007f55c9f831fd0cd7ee8; >= 5.15.47, < 5.15.212; …
  • Anyone running Linux 5.19

Vulnerability facts

Affected
Linux >= 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 6ad6954492697681ebcfc1beb0eb384406cd4b65; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < eadd0c2c76aee6a738f17f251434c77db3c606c8; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < d5b2752a17efc165793ae38f2c24b5ed9c04ffde; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f; 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97; 3ba83e46b591381e718007f55c9f831fd0cd7ee8; >= 5.15.47, < 5.15.212; …; Linux 5.19
Fixed in
Linux 606cc45e871e34b80a2f63874f069387a5b44176, Linux 6ad6954492697681ebcfc1beb0eb384406cd4b65, Linux 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f, Linux 5.15.212
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 6ad6954492697681ebcfc1beb0eb384406cd4b65; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < eadd0c2c76aee6a738f17f251434c77db3c606c8; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < d5b2752a17efc165793ae38f2c24b5ed9c04ffde; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f; 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97; 3ba83e46b591381e718007f55c9f831fd0cd7ee8; >= 5.15.47, < 5.15.212; …—cvelist
Linux5.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-72013. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72013.md
Affected: Linux >= 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161; >= b7fb4d78a6ade6026d9e5cf…
Fixed in: Linux 606cc45e871e34b80a2f63874f069387a5b44176, Linux 6ad6954492697681ebcfc1beb0eb384406cd4b65, Linux 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f, Linux 5.15.212

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-72013 being exploited?

There is no confirmed exploitation: CVE-2026-72013 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-72013?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-72013?

Linux >= 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 6ad6954492697681ebcfc1beb0eb384406cd4b65; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < eadd0c2c76aee6a738f17f251434c77db3c606c8; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < d5b2752a17efc165793ae38f2c24b5ed9c04ffde; >= b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f; 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97; 3ba83e46b591381e718007f55c9f831fd0cd7ee8; >= 5.15.47, < 5.15.212; …; Linux 5.19.

Is there a fix for CVE-2026-72013?

Yes. Fixed in Linux 606cc45e871e34b80a2f63874f069387a5b44176, Linux 6ad6954492697681ebcfc1beb0eb384406cd4b65, Linux 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f, Linux 5.15.212. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-72013?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors