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].
Overview
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.
- Published
- 8/15/2026
- Last modified
- 8/17/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 4211742f0f9e083188f4f0ada00d6eeeef31b7c7, < 606cc45e871e34b80a2f63874f069387a5b44176 | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < c462e15497dc40abe369b3be7a2c91ac5d1be6f9 | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < b5f92cc4e24a298bf390b0b189a4b888c0900161 | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 6ad6954492697681ebcfc1beb0eb384406cd4b65 | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < eadd0c2c76aee6a738f17f251434c77db3c606c8 | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < d5b2752a17efc165793ae38f2c24b5ed9c04ffde | Verify advisory | Source |
Linux Linux | ≥ b7fb4d78a6ade6026d9e5cf438c2a46ab962e032, < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f | Verify advisory | Source |
Linux Linux | 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97 | Verify advisory | Source |
Linux Linux | 3ba83e46b591381e718007f55c9f831fd0cd7ee8 | Verify advisory | Source |
Linux Linux | ≥ 5.15.47, < 5.15.212 | Verify advisory | Source |
Linux Linux | ≥ 5.17.15, < 5.18 | Verify advisory | Source |
Linux Linux | ≥ 5.18.4, < 5.19 | Verify advisory | Source |
Linux Linux | 5.19 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.