{"id":"CVE-2026-143102","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:41.873","lastModified":"2026-12-03T10:17:41.873","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: kexec_file: Do not use CMA for images with a non-zero text_offset\n\nimage_load() adds text_offset to kernel_segment->mem and subtracts it\nfrom kernel_segment->memsz.  For CMA backed segments this breaks the\nload path: the payload is copied to page_address(cma), which is the CMA\nbase, while image->start is set to the adjusted address, so kexec jumps\ninto the middle of the kernel.  kimage_map_segment() has the same\nmismatch when a segment has been moved.\n\nThe adjusted memsz also breaks the release path: the CMA pages are\nfreed using segment->memsz >> PAGE_SHIFT, which is fewer than were\nallocated, leaking the tail of the allocation.\n\nBoth problems are specific to CMA segments, which are accessed through\npage_address(cma) and ignore segment->mem.  The normal load path uses\nsegment->mem, so the text_offset adjustment stays consistent there.\nKeep honoring text_offset, but load such images from regular memory by\nsetting image->no_cma: they lose the CMA contiguous allocation, but\nkeep working."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/arm64/kernel/kexec_image.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"07d24902977e4704fab8472981e73a0ad6dfa1fd","lessThan":"c4480730dd2c0555b4bd4845a1d5c98c70ced9ad","versionType":"git","status":"affected"},{"version":"07d24902977e4704fab8472981e73a0ad6dfa1fd","lessThan":"055b78143cb8d2cd4132dc7f8fd2563495b6f55e","versionType":"git","status":"affected"},{"version":"07d24902977e4704fab8472981e73a0ad6dfa1fd","lessThan":"18f2d01bfce99a885511c451cba95234eea190bc","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/arm64/kernel/kexec_image.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/055b78143cb8d2cd4132dc7f8fd2563495b6f55e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/18f2d01bfce99a885511c451cba95234eea190bc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4480730dd2c0555b4bd4845a1d5c98c70ced9ad","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}