🔍 CVE-2026-80999

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Realtek DSA 드라이버에서 리셋 GPIO 제어 시 sleep이 불가능한 함수를 사용하여 경고가 발생하는 취약점입니다. I2C I/O 확장기처럼 대기(sleep)가 필요한 컨트롤러를 사용할 경우 시스템 경고가 발생할 수 있습니다.

💡 쉬운 설명

하드웨어를 초기화할 때 시스템이 잠시 멈춰도 되는 상황임에도 불구하고, 멈추면 안 되는 방식으로 명령을 내려서 오류 경고가 발생하는 문제입니다. 이로 인해 특정 하드웨어 환경에서 드라이버가 정상적으로 작동하지 않거나 경고 메시지가 출력될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: dsa: realtek: use gpiod_set_value_cansleep for reset GPIO rtl83xx_reset_assert() and rtl83xx_reset_deassert() are only called from the probe path, which may sleep and is not timing-critical. When the reset GPIO is provided by a sleeping controller such as an I2C I/O expander, gpiod_set_value() warns: WARNING: drivers/gpio/gpiolib.c:4030 at gpiod_set_value+0x44/0x80, CPU#1: kworker/u16:4/61 Hardware name: B&O MAP CA33 Rev f (UNKNOWN) (DT) Workqueue: events_unbound deferred_probe_work_func pc : gpiod_set_value+0x44/0x80 lr : rtl83xx_probe+0x1d8/0x3a0 Call trace: gpiod_set_value+0x44/0x80 (P) rtl83xx_probe+0x1d8/0x3a0 realtek_mdio_probe+0x24/0xa0 mdio_probe+0x38/0x78 really_probe+0xc4/0x3e0 __driver_probe_device+0x15c/0x1b8 driver_probe_device+0xb4/0x120 __device_attach_driver+0xb8/0x1a0 bus_for_each_drv+0x88/0xf0 __device_attach+0xa0/0x1d8 device_initial_probe+0x54/0x68 bus_probe_device+0x38/0xa0 deferred_probe_work_func+0xb8/0x120 process_one_work+0x184/0x4e8 worker_thread+0x188/0x308 kthread+0x130/0x150 ret_from_fork+0x10/0x20 Switch both helpers to gpiod_set_value_cansleep() so such a reset GPIO can be used without triggering the warning. The reset GPIO has been driven with the non-sleeping gpiod_set_value() since the driver was added in v4.19. The call has since been refactored across several files - from realtek-smi.c / realtek-mdio.c into the common rtl83xx.c module and then into the rtl83xx_reset_assert() and rtl83xx_reset_deassert() helpers (both in v6.9). This patch therefore applies as-is only to kernels that carry those helpers (v6.9+); older stable kernels need the same gpiod_set_value_cansleep() conversion at the corresponding open-coded call sites.

📍 영향받는 시스템

Linux kernel v4.19 이상 (v6.9 미만은 개별 코드 수정 필요, v6.9 이상은 해당 헬퍼 함수 포함)

⚔️ 공격 벡터

Local/Physical (하드웨어 드라이버 초기화 과정에서의 소프트웨어 로직 오류로, 직접적인 원격 공격 벡터는 낮음)

🛡️ 대응 방법

gpiod_set_value() 호출을 sleep이 가능한 gpiod_set_value_cansleep()으로 교체하는 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 패치가 적용된 버전(v6.9 이상 또는 패치된 안정화 버전)인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel