kcve.ai취약점 정보 · 내 서버 확인

CVE-2026-68435 LoongArch: Fix address space mismatch in kexec command line lookup

설명

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix address space mismatch in kexec command line lookup When searching the loaded segments for the "kexec" command line marker, the kexec_load(2) path (file_mode == 0) passes the user-space segment buffer straight to strncmp() through a bogus (char __user *) cast. This dereferences a user pointer in kernel context, which is wrong and is flagged by sparse: arch/loongarch/kernel/machine_kexec.c:84:51: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const * @@ got char [noderef] __user * Here copy the marker-sized prefix of each segment into a small on-stack buffer with copy_from_user() before comparing, and skip segments that fault. The subsequent copy_from_user() that stages the full command line into the safe area is left unchanged.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 6.1

    해결 버전

    • 6.1 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.42 이상
    • 7.1.6 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의