🇰🇷 한글 설명
Linux 커널의 qcom-geni 시리얼 드라이버에서 PM runtime 활성화 시 작업이 차단되는 결함이 발견되었습니다. 이로 인해 Qualcomm RB1 보드와 같은 특정 플랫폼에서 부팅 중 시리얼 사용이 불가능해지거나 시스템이 멈추는 현상이 발생합니다.
💡 쉬운 설명
컴퓨터의 전원 관리 기능을 켜려고 시도하다가 시스템이 명령을 처리하지 못하고 멈춰버리는 문제입니다. 이 때문에 특정 기기에서 부팅이 제대로 되지 않거나 통신 장치를 사용할 수 없게 됩니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
serial: qcom-geni: Fix blocked task
Revert commit 1afa70632c39 ("serial: qcom-geni: Enable PM runtime for
serial driver") and its dependent commit 86fa39dd6fb7 ("serial:
qcom-geni: Enable Serial on SA8255p Qualcomm platforms") because the
first one causes regression - hang task on Qualcomm RB1 board (QRB2210)
and unable to use serial at all during normal boot:
INFO: task kworker/u16:0:12 blocked for more than 42 seconds.
Not tainted 6.17.0-rc1-00004-g53e760d89498 #9
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u16:0 state:D stack:0 pid:12 tgid:12 ppid:2 task_flags:0x4208060 flags:0x00000010
Workqueue: async async_run_entry_fn
Call trace:
__switch_to+0xe8/0x1a0 (T)
__schedule+0x290/0x7c0
schedule+0x34/0x118
rpm_resume+0x14c/0x66c
rpm_resume+0x2a4/0x66c
rpm_resume+0x2a4/0x66c
rpm_resume+0x2a4/0x66c
__pm_runtime_resume+0x50/0x9c
__driver_probe_device+0x58/0x120
driver_probe_device+0x3c/0x154
__driver_attach_async_helper+0x4c/0xc0
async_run_entry_fn+0x34/0xe0
process_one_work+0x148/0x290
worker_thread+0x2c4/0x3e0
kthread+0x118/0x1c0
ret_from_fork+0x10/0x20
The issue was reported on 12th of August and was ignored by author of
commits introducing issue for two weeks. Only after complaining author
produced a fix which did not work, so if original commits cannot be
reliably fixed for 5 weeks, they obviously are buggy and need to be
dropped.
📍 영향받는 시스템
Qualcomm RB1 (QRB2210) 보드 및 qcom-geni 시리얼 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
직접적인 외부 공격 벡터는 없으나, 시스템 가용성을 저해하는 서비스 거부(DoS) 형태의 결함입니다.
🛡️ 대응 방법
문제가 된 PM runtime 관련 커밋(1afa70632c39, 86fa39dd6fb7)을 되돌린(Revert) 최신 커널 패치를 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 문제가 해결된 패치가 포함된 최신 버전인지 확인합니다.