CVE-2026-89963

powerpc/kexec_file: Fix null-ptr-def in extra size calculation

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

powerpc/kexec_file: Fix null-ptr-def in extra size calculation

A static Sashiko AI review identified a potential NULL pointer dereference in kexec_extra_fdt_size_ppc64().

On platforms without any reserved memory regions, get_reserved_memory_ranges() can return 0 while leaving 'rmem' unallocated as NULL. Passing it directly leads to a kernel panic when evaluating 'rmem->nr_ranges'.

Add a NULL check for 'rmem' to prevent this crash.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0d3ff067331ef84e7e7f49537d768881042ed5ba to before 11ef1c2a5dbe0bd8c1345f59bab7331d352f02cfAffected
  • 0d3ff067331ef84e7e7f49537d768881042ed5ba to before df45337587db21c502fe5251d3bcc7887428f4fbAffected
  • 0d3ff067331ef84e7e7f49537d768881042ed5ba to before 4ff3d9fd71c7bc2fc81afdac1970d9c55a5c0deaAffected
  • 0d3ff067331ef84e7e7f49537d768881042ed5ba to before 761eda315a6e1fda3e8e2185b28430771fb1ac29Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.