🇰🇷 한글 설명
Linux 커널의 pds_core 모듈에서 debugfs_lookup 함수가 반환하는 dentry의 참조 횟수를 적절히 해제하지 않아 메모리 누수가 발생합니다. 또한 CONFIG_DEBUG_FS가 비활성화된 경우 에러 포인터를 잘못 처리하여 시스템 충돌(Crash)을 유발할 수 있는 결함이 수정되었습니다.
💡 쉬운 설명
시스템이 재시작될 때마다 메모리가 조금씩 낭비되어 결국 시스템이 느려지거나 멈출 수 있는 버그입니다. 특정 설정에서 잘못된 메모리 주소를 건드려 컴퓨터가 갑자기 꺼지는 문제도 포함되어 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
pds_core: fix debugfs_lookup dentry leak and error handling
debugfs_lookup() returns a dentry with an elevated reference count that
must be released with dput(). The current code discards the returned
dentry without calling dput(), causing a reference leak on every
firmware reset recovery.
Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup()
returns ERR_PTR(-ENODEV), not NULL. The current check passes for error
pointers and would call dput() on an invalid pointer, causing a crash.
📍 영향받는 시스템
pds_core 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 펌웨어 리셋 회복 과정을 반복 유도하여 메모리 고갈 또는 시스템 충돌 유발
🛡️ 대응 방법
pds_core의 debugfs_lookup 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인