🇰🇷 한글 설명
Linux 커널의 nfc: trf7970a 드라이버에서 RX 이득(gain) 설정 실패 시 장치의 전원을 정상적으로 차단하지 못하는 취약점이 발견되었습니다. 이로 인해 초기화 과정에서 오류가 발생하더라도 장치가 켜진 상태로 남아 전력 소모나 리소스 불균형을 초래할 수 있습니다.
💡 쉬운 설명
NFC 칩을 작동시키려다 오류가 났을 때, 칩의 전원을 제대로 끄지 않고 그대로 두는 버그입니다. 이로 인해 기기의 배터리가 불필요하게 소모될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfc: trf7970a: power down on startup RX gain failure
trf7970a_startup() powers up the device before applying the optional RX
gain reduction. If the register read or write fails, it returns without
undoing that power-up. Probe's unwind only drops the separate regulator
references acquired by probe, leaving the additional VIN enable from
startup unbalanced. The system resume caller also has no power-down on
this error.
Call trf7970a_power_down() before returning the RX gain error to deassert
the enable GPIOs, release the startup VIN reference and restore the
powered-off state. Runtime PM has not been enabled yet, so the full
shutdown helper is not appropriate here. Preserve the original SPI error.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
📍 영향받는 시스템
Linux kernel (nfc: trf7970a driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 하드웨어 초기화 오류를 유도하여 전력 관리 문제를 일으키는 방식 (직접적인 원격 공격은 어려움)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.