CVE-2026-72013
publishedriscv: Prevent NULL pointer dereference in machine_kexec_prepare()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4211742f0f9e083188f4f0ada00d6eeeef31b7c7 to < 606cc45e871e34b80a2f63874f069387a5b44176 · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < c462e15497dc40abe369b3be7a2c91ac5d1be6f9 · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < b5f92cc4e24a298bf390b0b189a4b888c0900161 · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < 6ad6954492697681ebcfc1beb0eb384406cd4b65 · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < eadd0c2c76aee6a738f17f251434c77db3c606c8 · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < d5b2752a17efc165793ae38f2c24b5ed9c04ffde · b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f · 3ca8a07f141fd8eec347a82bdfa4b94164f2bb97 · 3ba83e46b591381e718007f55c9f831fd0cd7ee8 · 5.15.47 to < 5.15.212 · 5.17.15 to < 5.18 · 5.18.4 to < 5.19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 5.15.212 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1117 | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1123 | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1123 | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1123 | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1122 | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1122 | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1122 | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1111-ibm | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1114-oracle | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8879-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1117-aws | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1118-gcp | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1122-azure-fde | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1123-azure | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-195-lowlatency | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-195-lowlatency-64k | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-198-generic-64k | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-198-generic-lpae | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1117-aws | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1122-azure-fde | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1123-azure | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-195-lowlatency | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1118 | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1118 | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1111-ibm | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-1114-oracle | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8879-1 |
| Ubuntu | focal | linux-headers-5.15.0-1117-aws | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-1118-gcp | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-headers-5.15.0-1122-azure-fde | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-1123-azure | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-195-lowlatency | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-195-lowlatency-64k | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-198-generic-64k | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-headers-5.15.0-198-generic-lpae | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-198 | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-198 | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-198 | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1111 | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1111 | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-5.15.0-198-generic-lpae | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1111-ibm | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1114-oracle | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8879-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1117-aws | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1118-gcp | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1122-azure-fde | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1123-azure | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-195-lowlatency | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-195-lowlatency-64k | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-198-generic-64k | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1112 | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1112 | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1112 | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-195 | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-195 | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-195 | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1111-ibm | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-1114-oracle | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8879-1 |
| Ubuntu | focal | linux-modules-5.15.0-1117-aws | Advisory build | 5.15.0-1117.124~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-1118-gcp | Advisory build | 5.15.0-1118.128~20.04.1 | USN-8878-1 |
| Ubuntu | focal | linux-modules-5.15.0-1122-azure-fde | Advisory build | 5.15.0-1122.131~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-1123-azure | Advisory build | 5.15.0-1123.132~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-195-lowlatency | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-195-lowlatency-64k | Advisory build | 5.15.0-195.205~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-198-generic | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-198-generic-64k | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-5.15.0-198-generic-lpae | Advisory build | 5.15.0-198.208~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1111-ibm | Advisory build | 5.15.0-1111.115~20.04.1 | USN-8875-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1112-intel-iotg | Advisory build | 5.15.0-1112.118~20.04.1 | USN-8875-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4211742f0f9e083188f4f0ada00d6eeeef31b7c7 to < 606cc45e871e34b80a2f63874f069387a5b44176 (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < c462e15497dc40abe369b3be7a2c91ac5d1be6f9 (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < b5f92cc4e24a298bf390b0b189a4b888c0900161 (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < 6ad6954492697681ebcfc1beb0eb384406cd4b65 (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < eadd0c2c76aee6a738f17f251434c77db3c606c8 (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < d5b2752a17efc165793ae38f2c24b5ed9c04ffde (affected · git)b7fb4d78a6ade6026d9e5cf438c2a46ab962e032 to < 81bbcff0c053c4f5c711c31a9b72fc492bd96c3f (affected · git)3ca8a07f141fd8eec347a82bdfa4b94164f2bb97 (affected · git)3ba83e46b591381e718007f55c9f831fd0cd7ee8 (affected · git)5.15.47 to < 5.15.212 (affected · semver)5.17.15 to < 5.18 (affected · semver)5.18.4 to < 5.19 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)5.15.212 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- 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
- https://git.kernel.org/stable/c/d5b2752a17efc165793ae38f2c24b5ed9c04ffde
- https://git.kernel.org/stable/c/eadd0c2c76aee6a738f17f251434c77db3c606c8
Provider assertions
1Linux · cna
riscv: Prevent NULL pointer dereference in machine_kexec_prepare()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0bec4313c80526c573b5a1628671a206ef72113e891ecf0b142d2bb4fa21240b
- Ingested
- 23 Sep 2026, 09:29:55 UTC
- Source record
- Official CVE record