kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-72013 riscv: Prevent NULL pointer dereference in machine_kexec_prepare()

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15.47 이상 5.15.212 미만
    • 5.17.15 이상 5.18 미만
    • 5.18.4 이상 5.19 미만
    • 5.19

    해결 버전

    • 5.15.212 이상
    • 5.18 이상
    • 5.19 이상
    • 5.19 미만
    • 6.1.178 이상
    • 6.6.145 이상
    • 6.12.97 이상
    • 6.18.40 이상
    외 1개 구간 펼치기
    • 7.1.5 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의