🇰🇷 한글 설명
Linux 커널의 GFS2 파일 시스템에서 quota_init 과정 중 중복 스캔을 처리할 때 발생하는 문제입니다. PREEMPT_RT 환경에서 잠금(lock)을 보유한 상태로 잠들 수 있는 함수를 호출하여 시스템 오류를 유발할 수 있는 결함이 수정되었습니다.
💡 쉬운 설명
컴퓨터의 파일 관리 시스템이 데이터를 정리하는 과정에서 규칙을 어기고 잠시 멈추려다 시스템 오류를 일으킬 수 있는 버그입니다. 이 버그는 특정 실시간 운영 환경에서 시스템 불안정을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gfs2: fix quota init duplicate scan
gfs2_quota_init() checks for duplicate quota_change IDs while holding
qd_lock and the quota hash bucket bitlock. That path used
gfs2_qd_search_bucket(), which takes a lockref reference via
lockref_get_not_dead().
On PREEMPT_RT this may sleep, which is not allowed under the bucket
bitlock, triggering "sleeping function called from invalid context".
Use a no-ref bucket lookup in this path, then continue duplicate
handling without taking a lockref there.
Refactor gfs2_qd_search_bucket() to build on top of the no-ref helper
so lookup traversal stays in one place.
This patch fixes a bug reported by syzbot.
📍 영향받는 시스템
Linux kernel (GFS2 파일 시스템을 사용하는 PREEMPT_RT 커널 환경)
⚔️ 공격 벡터
직접적인 외부 공격보다는 특정 파일 시스템 작업 시 커널 패닉이나 시스템 불안정을 유발하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux