In the Linux kernel, the following vulnerability has been resolved: riscv: Prevent NULL pointer dereference in machine_kexec_prepare() A NULL… (CVE-2026-72013)
A NULL pointer dereference vulnerability was identified and resolved in the Linux kernel's riscv architecture code within the machine_kexec_prepare() function. The issue occurs because a buffer pointer (image->segment[i].buf) can be NULL and is copied without validation, potentially leading to a kernel crash. This flaw arises from the interaction between ima_add_kexec_buffer() and kexec_add_buffer(), where a NULL buffer is introduced and not checked before memcpy is called. The vulnerability has been addressed by adding a check to prevent copying from a NULL pointer.
AI Analysis
Technical Summary
The Linux kernel riscv architecture contained a NULL pointer dereference vulnerability in machine_kexec_prepare(). Specifically, image->segment[i].buf could be NULL due to the way buffers are added via ima_add_kexec_buffer() and kexec_add_buffer(), but machine_kexec_prepare() attempted to copy this buffer without verifying its validity. This could lead to a kernel NULL pointer dereference. The fix involves adding a validation check before the memcpy operation to ensure the buffer is not NULL.
Potential Impact
This vulnerability can cause a NULL pointer dereference in the kernel, which typically results in a kernel panic or system crash. There is no indication of privilege escalation or arbitrary code execution from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by adding a check before copying the buffer to prevent NULL pointer dereference. Users should update their Linux kernel to a version that includes this fix once it is released. Patch status is not yet confirmed in this data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and patches.
In the Linux kernel, the following vulnerability has been resolved: riscv: Prevent NULL pointer dereference in machine_kexec_prepare() A NULL… (CVE-2026-72013)
Description
A NULL pointer dereference vulnerability was identified and resolved in the Linux kernel's riscv architecture code within the machine_kexec_prepare() function. The issue occurs because a buffer pointer (image->segment[i].buf) can be NULL and is copied without validation, potentially leading to a kernel crash. This flaw arises from the interaction between ima_add_kexec_buffer() and kexec_add_buffer(), where a NULL buffer is introduced and not checked before memcpy is called. The vulnerability has been addressed by adding a check to prevent copying from a NULL pointer.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel riscv architecture contained a NULL pointer dereference vulnerability in machine_kexec_prepare(). Specifically, image->segment[i].buf could be NULL due to the way buffers are added via ima_add_kexec_buffer() and kexec_add_buffer(), but machine_kexec_prepare() attempted to copy this buffer without verifying its validity. This could lead to a kernel NULL pointer dereference. The fix involves adding a validation check before the memcpy operation to ensure the buffer is not NULL.
Potential Impact
This vulnerability can cause a NULL pointer dereference in the kernel, which typically results in a kernel panic or system crash. There is no indication of privilege escalation or arbitrary code execution from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by adding a check before copying the buffer to prevent NULL pointer dereference. Users should update their Linux kernel to a version that includes this fix once it is released. Patch status is not yet confirmed in this data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and patches.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-55xj-694j-8fjq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72013"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b79bf8831d5395024ad
Added to database: 08/15/2026, 15:53:29 UTC
Last enriched: 08/15/2026, 17:10:05 UTC
Last updated: 08/15/2026, 18:53:09 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.