🇰🇷 한글 설명
Linux 커널의 audit 모듈에서 audit_del_rule() 함수 호출 시 RCU 가시적 필터 목록에서 규칙을 제거하기 전에 메모리를 먼저 해제하여 발생하는 Use-After-Free 취약점입니다. 규칙이 삭제되는 동안 다른 프로세스가 해당 메모리에 접근할 수 있어 시스템 불안정성이나 권한 상승을 초래할 수 있습니다.
💡 쉬운 설명
시스템의 기록을 남기는 기능에서 규칙을 삭제할 때, 사용 중인 데이터를 먼저 지워버려서 발생하는 오류입니다. 이로 인해 컴퓨터가 갑자기 멈추거나 해커가 시스템 권한을 가로챌 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
audit: fix potential use-after-free in audit_del_rule()
`audit_del_rule()` destroys `e->rule.exe` via `audit_remove_mark_rule()`
before unlinking the rule from RCU-visible filter lists and waiting for a
grace period. Concurrent readers in `audit_filter()` and
`audit_filter_rules()` still dereference `e->rule.exe`, while the fsnotify
mark can be freed on an independent lifetime path. This creates a
use-after-free window during rule deletion.
Fix this by unlinking the rule from the RCU-visible lists and invoking
`synchronize_rcu()` before calling `audit_remove_mark_rule()` (and other
rule removal helpers). This ensures that all existing RCU readers have
exited the critical section before any underlying resources are destroyed.
📍 영향받는 시스템
Linux Kernel (audit 모듈 사용 버전)
⚔️ 공격 벡터
동시성 제어 미흡을 이용한 Race Condition 공격을 통해 메모리 참조 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux