🔍 CVE-2026-45977

5.5
CVSS Score
MEDIUM
2026-05-27
2026-06-16 02:40
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fbnic 드라이버에서 teardown 과정과 fw_log 쓰기 함수 간의 레이스 컨디션 취약점이 발견되었습니다. 초기화 및 해제 순서의 오류로 인해 이미 해제되었거나 NULL이 된 변수를 참조하여 데이터 경합이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 정리하는 과정에서 데이터 기록 기능이 먼저 꺼지지 않아, 이미 사라진 데이터를 쓰려고 시도하다가 시스템 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 동작이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fbnic: close fw_log race between users and teardown Fixes a theoretical race on fw_log between the teardown path and fw_log write functions. fw_log is written inside fbnic_fw_log_write() and can be reached from the mailbox handler fbnic_fw_msix_intr(), but fw_log is freed before IRQ/MBX teardown during cleanup, resulting in a potential data race of dereferencing a freed/null variable. Possible Interleaving Scenario: CPU0: fbnic_fw_msix_intr() // Entry fbnic_fw_log_write() if (fbnic_fw_log_ready()) // true ... preempt ... CPU1: fbnic_remove() // Entry fbnic_fw_log_free() vfree(log->data_start); log->data_start = NULL; CPU0: continues, walks log->entries or writes to log->data_start The initialization also has an incorrect order problem, as the fw_log is currently allocated after MBX setup during initialization. Fix the problems by adjusting the synchronization order to put initialization in place before the mailbox is enabled, and not cleared until after the mailbox has been disabled.

📍 영향받는 시스템

Linux kernel (fbnic driver 포함 버전)

⚔️ 공격 벡터

로컬 사용자가 특정 타이밍에 드라이버를 제거하거나 조작하여 레이스 컨디션을 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 초기화 및 해제 순서 수정

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 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