🔍 CVE-2025-68209

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mlx5 드라이버에서 CQ(Completion Queue) 생성 시 기본값이 잘못 설정되어 발생하는 취약점입니다. 폴링 전용 커널 CQ가 잘못된 설정으로 인해 EQ 인터럽트를 호출하게 되면, 사용자용 CQ를 위한 함수를 실행하려 시도하다가 Null Pointer Exception을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제어하는 소프트웨어의 설정 오류로 인해, 시스템이 잘못된 명령을 처리하려다 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 상황에서 시스템이 예상치 못한 동작을 수행하여 안정성을 해칠 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mlx5: Fix default values in create CQ Currently, CQs without a completion function are assigned the mlx5_add_cq_to_tasklet function by default. This is problematic since only user CQs created through the mlx5_ib driver are intended to use this function. Additionally, all CQs that will use doorbells instead of polling for completions must call mlx5_cq_arm. However, the default CQ creation flow leaves a valid value in the CQ's arm_db field, allowing FW to send interrupts to polling-only CQs in certain corner cases. These two factors would allow a polling-only kernel CQ to be triggered by an EQ interrupt and call a completion function intended only for user CQs, causing a null pointer exception. Some areas in the driver have prevented this issue with one-off fixes but did not address the root cause. This patch fixes the described issue by adding defaults to the create CQ flow. It adds a default dummy completion function to protect against null pointer exceptions, and it sets an invalid command sequence number by default in kernel CQs to prevent the FW from sending an interrupt to the CQ until it is armed. User CQs are responsible for their own initialization values. Callers of mlx5_core_create_cq are responsible for changing the completion function and arming the CQ per their needs.

📍 영향받는 시스템

Linux kernel (mlx5 driver 사용 시스템)

⚔️ 공격 벡터

특정 하드웨어 인터럽트 조건(EQ interrupt)을 유도하여 커널의 Null Pointer Exception을 발생시키는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 mlx5_core_create_cq의 기본값 수정 사항을 반영해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel