🔍 CVE-2025-37895

5.5
CVSS Score
MEDIUM
2025-05-20
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bnxt_en 드라이버에서 bnxt_init_chip() 오류 처리 경로의 결함이 수정되었습니다. 초기화되지 않은 DIM 작업에 대해 cancel_work_sync()가 호출되어 커널 경고(WARN_ON)가 발생할 수 있었습니다. BNXT_STATE_NAPI_DISABLED 비트를 초기화 시점에 설정하여 문제를 해결했습니다.

💡 쉬운 설명

네트워크 카드 드라이버가 초기화에 실패할 때 아직 준비되지 않은 작업을 정리하려다 커널이 경고를 띄우는 문제가 있었습니다. 이번 수정으로 초기화 실패 시 잘못된 정리 작업을 하지 않도록 바로잡혔습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix error handling path in bnxt_init_chip() WARN_ON() is triggered in __flush_work() if bnxt_init_chip() fails because we call cancel_work_sync() on dim work that has not been initialized. WARNING: CPU: 37 PID: 5223 at kernel/workqueue.c:4201 __flush_work.isra.0+0x212/0x230 The driver relies on the BNXT_STATE_NAPI_DISABLED bit to check if dim work has already been cancelled. But in the bnxt_open() path, BNXT_STATE_NAPI_DISABLED is not set and this causes the error path to think that it needs to cancel the uninitalized dim work. Fix it by setting BNXT_STATE_NAPI_DISABLED during initialization. The bit will be cleared when we enable NAPI and initialize dim work.

📍 영향받는 시스템

Broadcom NetXtreme-C/E(bnxt_en) 네트워크 드라이버를 사용하는 수정 전 Linux 커널 버전

⚔️ 공격 벡터

원격 공격 경로는 명확하지 않으며, 주로 드라이버 초기화 실패 상황에서 발생하는 커널 경고와 안정성 문제입니다.

🛡️ 대응 방법

배포판에서 제공하는 최신 Linux 커널 보안 업데이트를 적용하고 재부팅하십시오.

🔧 검증 코드

커널 버전이 해당 배포판의 수정된 패키지 버전 이상인지 확인하고, bnxt_en 모듈 정보가 출력되지 않으면 이 드라이버를 사용하지 않는 시스템이므로 영향이 없습니다.

Shell / Script
uname -r && (modinfo bnxt_en 2>/dev/null | grep -E '^(version|srcversion|filename)')

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel