🔍 CVE-2025-39949

7.8
CVSS Score
HIGH
2025-10-04
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 qed 드라이버에서 펌웨어가 과도하게 많은 GRC 요소를 반환할 경우, 할당된 버퍼 범위를 초과하여 데이터를 쓰는 버퍼 오버플로 취약점이 존재합니다. 이로 인해 커널 페이지 요청 오류가 발생하며 시스템이 커널 패닉 상태에 빠질 수 있습니다.

💡 쉬운 설명

장치 드라이버가 데이터를 저장할 공간보다 더 많은 정보를 받으려고 시도하다가 시스템이 멈추는 문제입니다. 마치 작은 그릇에 너무 많은 물을 부어 넘치게 만들어 컴퓨터 전체가 꺼지는 것과 같습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: qed: Don't collect too many protection override GRC elements In the protection override dump path, the firmware can return far too many GRC elements, resulting in attempting to write past the end of the previously-kmalloc'ed dump buffer. This will result in a kernel panic with reason: BUG: unable to handle kernel paging request at ADDRESS where "ADDRESS" is just past the end of the protection override dump buffer. The start address of the buffer is: p_hwfn->cdev->dbg_features[DBG_FEATURE_PROTECTION_OVERRIDE].dump_buf and the size of the buffer is buf_size in the same data structure. The panic can be arrived at from either the qede Ethernet driver path: [exception RIP: qed_grc_dump_addr_range+0x108] qed_protection_override_dump at ffffffffc02662ed [qed] qed_dbg_protection_override_dump at ffffffffc0267792 [qed] qed_dbg_feature at ffffffffc026aa8f [qed] qed_dbg_all_data at ffffffffc026b211 [qed] qed_fw_fatal_reporter_dump at ffffffffc027298a [qed] devlink_health_do_dump at ffffffff82497f61 devlink_health_report at ffffffff8249cf29 qed_report_fatal_error at ffffffffc0272baf [qed] qede_sp_task at ffffffffc045ed32 [qede] process_one_work at ffffffff81d19783 or the qedf storage driver path: [exception RIP: qed_grc_dump_addr_range+0x108] qed_protection_override_dump at ffffffffc068b2ed [qed] qed_dbg_protection_override_dump at ffffffffc068c792 [qed] qed_dbg_feature at ffffffffc068fa8f [qed] qed_dbg_all_data at ffffffffc0690211 [qed] qed_fw_fatal_reporter_dump at ffffffffc069798a [qed] devlink_health_do_dump at ffffffff8aa95e51 devlink_health_report at ffffffff8aa9ae19 qed_report_fatal_error at ffffffffc0697baf [qed] qed_hw_err_notify at ffffffffc06d32d7 [qed] qed_spq_post at ffffffffc06b1011 [qed] qed_fcoe_destroy_conn at ffffffffc06b2e91 [qed] qedf_cleanup_fcport at ffffffffc05e7597 [qedf] qedf_rport_event_handler at ffffffffc05e7bf7 [qedf] fc_rport_work at ffffffffc02da715 [libfc] process_one_work at ffffffff8a319663 Resolve this by clamping the firmware's return value to the maximum number of legal elements the firmware should return.

📍 영향받는 시스템

Linux kernel (qed/qede/qedf drivers)

⚔️ 공격 벡터

악의적인 펌웨어가 과도한 GRC 요소를 반환하도록 유도하여 커널 메모리 오버플로 유발

🛡️ 대응 방법

펌웨어가 반환하는 요소의 수를 최대 허용 범위 내로 제한하도록 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel