CVE-2026-143102
not scored yetarm64: kexec_file: Do not use CMA for images with a non-zero text_offset
In the Linux kernel, the following vulnerability has been resolved:
arm64: kexec_file: Do not use CMA for images with a non-zero text_offset
image_load() adds text_offset to kernel_segment->mem and subtracts it
from kernel_segment->memsz. For CMA backed segments this breaks the
load path: the payload is copied to page_address(cma), which is the CMA
base, while image->start is set to the adjusted address, so kexec jumps
into the middle of the kernel. kimage_map_segment() has the same
mismatch when a segment has been moved.
The adjusted memsz also breaks the release path: the CMA pages are
freed using segment->memsz >> PAGE_SHIFT, which is fewer than were
allocated, leaking the tail of the allocation.
Both problems are specific to CMA segments, which are accessed through
page_address(cma) and ignore segment->mem. The normal load path uses
segment->mem, so the text_offset adjustment stays consistent there.
Keep honoring text_offset, but load such images from regular memory by
setting image->no_cma: they lose the CMA contiguous allocation, but
keep working.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 07d24902977e4704fab8472981e73a0ad6dfa1fd, < c4480730dd2c0555b4bd4845a1d5c98c70ced9ad; >= 07d24902977e4704fab8472981e73a0ad6dfa1fd, < 055b78143cb8d2cd4132dc7f8fd2563495b6f55e; >= 07d24902977e4704fab8472981e73a0ad6dfa1fd, < 18f2d01bfce99a885511c451cba95234eea190bc | c4480730dd2c0555b4bd4845a1d5c98c70ced9ad, 055b78143cb8d2cd4132dc7f8fd2563495b6f55e, 18f2d01bfce99a885511c451cba95234eea190bc |
| CVE List | Linux | Linux | = 6.17 |
References
- https://git.kernel.org/stable/c/055b78143cb8d2cd4132dc7f8fd2563495b6f55e
- https://git.kernel.org/stable/c/18f2d01bfce99a885511c451cba95234eea190bc
- https://git.kernel.org/stable/c/c4480730dd2c0555b4bd4845a1d5c98c70ced9ad
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)