GHSA-55XJ-694J-8FJQ
Vulnerability from github – Published: 2026-08-15 06:32 – Updated: 2026-08-15 06:32
VLAI
Details
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": [],
"aliases": [
"CVE-2026-72013"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-15T06:21:00Z",
"severity": null
},
"details": "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\u0027s\nmachine_kexec_prepare(), where image-\u003esegment[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 -\u003e kimage_file_alloc_init()\n -\u003e kimage_file_prepare_segments()\n -\u003e ima_add_kexec_buffer()\n -\u003e kexec_add_buffer()\n -\u003e machine_kexec_prepare()\n -\u003e memcpy()\n\nAddress this by adding a check before the data copy attempt.",
"id": "GHSA-55xj-694j-8fjq",
"modified": "2026-08-15T06:32:09Z",
"published": "2026-08-15T06:32:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72013"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/606cc45e871e34b80a2f63874f069387a5b44176"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6ad6954492697681ebcfc1beb0eb384406cd4b65"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/81bbcff0c053c4f5c711c31a9b72fc492bd96c3f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b5f92cc4e24a298bf390b0b189a4b888c0900161"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c462e15497dc40abe369b3be7a2c91ac5d1be6f9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d5b2752a17efc165793ae38f2c24b5ed9c04ffde"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/eadd0c2c76aee6a738f17f251434c77db3c606c8"
}
],
"schema_version": "1.4.0",
"severity": []
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…