🔍 CVE-2026-64429

5.5
CVSS Score
MEDIUM
2026-07-25
2026-09-03 18:32
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Spreadtrum EIC 컨트롤러에서 인터럽트 시작 경로 중 잘못된 잠금 메커니즘을 사용하는 취약점이 발견되었습니다. PREEMPT_RT 환경에서 일반 spinlock_t가 수면 가능한 잠금으로 동작하면서, 잠들 수 없는 컨텍스트에서 수면 함수가 호출되어 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 부품인 커널이 작업을 처리할 때, 잠들면 안 되는 중요한 순간에 실수로 잠들 수 있는 명령을 사용하여 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 이를 해결하기 위해 잠들지 않는 특수한 잠금 방식을 사용하도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gpio: eic-sprd: use raw_spinlock_t in the irq startup path sprd_eic_irq_unmask() enables the GPIO IRQ and then updates controller state through sprd_eic_update(), which takes sprd_eic->lock with spin_lock_irqsave(). The callback can be reached from irq_startup() while setting up a requested IRQ. That path is not sleepable, but on PREEMPT_RT a regular spinlock_t becomes a sleeping lock. This issue was found by our static analysis tool and then manually reviewed against the current tree. The grounded PoC kept the request_threaded_irq() -> __setup_irq() -> irq_startup() -> sprd_eic_irq_unmask() -> sprd_eic_update() carrier and used the original spin_lock_irqsave(&sprd_eic->lock) edge. Lockdep BUG: sleeping function called from invalid context hardirqs last disabled at ... __setup_irq.constprop.0 ... [vuln_msv] sprd_rt_spin_lock_irqsave+0x1c/0x30 [vuln_msv] sprd_eic_update.constprop.0+0x48/0x90 [vuln_msv] sprd_eic_irq_unmask.constprop.0+0x35/0x50 [vuln_msv] __setup_irq.constprop.0+0xd/0x30 [vuln_msv] Convert the Spreadtrum EIC controller lock to raw_spinlock_t. The locked section only serializes MMIO register updates and does not contain sleepable operations, so keeping it non-sleeping is appropriate for the irqchip callbacks.

📍 영향받는 시스템

Linux kernel (Spreadtrum EIC driver 사용 시스템, 특히 PREEMPT_RT 패치 적용 환경)

⚔️ 공격 벡터

로컬 공격자가 특정 인터럽트 요청(request_threaded_irq)을 유도하여 커널 패닉 또는 시스템 불안정을 유발할 수 있음

🛡️ 대응 방법

Spreadtrum EIC 컨트롤러의 잠금을 raw_spinlock_t로 변경한 최신 Linux 커널로 업데이트

🔧 검증 코드

현재 커널 버전과 커널 모듈 내에 sprd_eic 관련 드라이버가 포함되어 있는지 확인합니다.

Shell / Script
uname -a && grep -r 'sprd_eic' /lib/modules/$(uname -r)/kernel/

📊 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