🔍 CVE-2026-72118

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-19 17:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bcm CAN 드라이버에서 두 개의 CPU가 동시에 CAN 프레임을 처리할 때 발생하는 데이터 레이스(Data Race) 취약점입니다. 통계 데이터 업데이트 과정에서 원자적 연산(Atomic operations)을 사용하지 않아 통계 수치가 부정확해지거나 잘못된 계산 결과가 발생할 수 있습니다.

💡 쉬운 설명

여러 개의 CPU가 동시에 데이터를 처리할 때, 통계 숫자를 기록하는 과정에서 서로 충돌이 발생하여 숫자가 꼬이는 문제입니다. 이로 인해 시스템의 통계 정보가 실제와 다르게 나타나거나 잘못된 수치가 표시될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: bcm: fix CAN frame rx/tx statistics KCSAN detected a data race within the bcm_rx_handler() when two CAN frames have been simultaneously received and processed in a single rx op by two different CPUs. Use atomic operations with (signed) long data types to access the statistics in the hot path to fix the KCSAN complaint. Additionally simplify the update and check of statistics overflow by using the atomic operations in separate bcm_update_[rx|tx]_stats() functions. The rx variant runs under bcm_rx_update_lock to prevent races when resetting the two rx counters; the tx variant runs under bcm_tx_lock and only needs to guard its own counter's overflow. As the rx path resets its values already at LONG_MAX / 100, there is no conflict between the two locking domains (bcm_rx_update_lock vs. bcm_tx_lock) even for ops that use both paths. The rx statistics update and the frames_filtered update in bcm_rx_changed() were previously performed in two separate bcm_rx_update_lock sections. For an rx op subscribed on all interfaces (ifindex == 0), bcm_rx_handler() can run concurrently on different CPUs, so a counter reset by one CPU between these two sections could leave frames_filtered larger than frames_abs on another CPU, producing a bogus (even negative) reduction percentage in procfs. Update the statistics in the same critical section as bcm_rx_changed() to close this gap, which also removes the now unneeded extra lock/unlock pair around the traffic_flags calculation.

📍 영향받는 시스템

Linux kernel (bcm CAN driver 포함 버전)

⚔️ 공격 벡터

로컬 시스템에서 특정 CAN 프레임을 동시에 다량으로 수신하여 데이터 레이스를 유도하는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 원자적 연산 및 잠금 메커니즘을 적용해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel