🔍 CVE-2025-68258

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 comedi multiq3 드라이버에서 설정 옵션을 제대로 검증하지 않아 발생하는 취약점입니다. 공격자가 인코더 서브디바이스의 채널 수를 비정상적으로 크게 설정할 경우, 드라이버 초기화 과정에서 과도한 루프가 실행되어 시스템 태스크가 타임아웃되고 차단될 수 있습니다.

💡 쉬운 설명

장치 설정값에 너무 큰 숫자를 입력하면 컴퓨터가 이를 처리하느라 수 분 동안 멈춰버리는 현상이 발생할 수 있습니다. 이는 시스템을 느리게 만들거나 응답 불능 상태로 만드는 일종의 서비스 거부(DoS) 공격에 이용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: comedi: multiq3: sanitize config options in multiq3_attach() Syzbot identified an issue [1] in multiq3_attach() that induces a task timeout due to open() or COMEDI_DEVCONFIG ioctl operations, specifically, in the case of multiq3 driver. This problem arose when syzkaller managed to craft weird configuration options used to specify the number of channels in encoder subdevice. If a particularly great number is passed to s->n_chan in multiq3_attach() via it->options[2], then multiple calls to multiq3_encoder_reset() at the end of driver-specific attach() method will be running for minutes, thus blocking tasks and affected devices as well. While this issue is most likely not too dangerous for real-life devices, it still makes sense to sanitize configuration inputs. Enable a sensible limit on the number of encoder chips (4 chips max, each with 2 channels) to stop this behaviour from manifesting. [1] Syzbot crash: INFO: task syz.2.19:6067 blocked for more than 143 seconds. ... Call Trace: <TASK> context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016 __mutex_lock_common kernel/locking/mutex.c:676 [inline] __mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760 comedi_open+0xc0/0x590 drivers/comedi/comedi_fops.c:2868 chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414 do_dentry_open+0x953/0x13f0 fs/open.c:965 vfs_open+0x3b/0x340 fs/open.c:1097 ...

📍 영향받는 시스템

Linux kernel (comedi multiq3 driver 포함 버전)

⚔️ 공격 벡터

COMEDI_DEVCONFIG ioctl 또는 open() 호출을 통해 조작된 설정 옵션 전달

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 인코더 칩 개수 제한(최대 4개)을 적용해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel