🇰🇷 한글 설명
Linux 커널의 cachefiles 모듈에서 오류 경로 처리 시 inode의 in-use 플래그를 해제하지 않는 문제가 해결되었습니다. 이로 인해 cachefiles_open_file()에서는 같은 인덱스 키를 가진 이후 쿠키 조회 시 'Inode already in use' 경고가 발생할 수 있었고, cachefiles_create_tmpfile()에서는 플래그 누수가 발생했습니다.
💡 쉬운 설명
리눅스 커널의 파일 캐시 기능에서 오류가 난 뒤 파일 사용 표시가 정리되지 않는 문제가 있었습니다. 이 때문에 나중에 같은 파일을 다시 열 때 이미 사용 중이라는 잘못된 경고가 나올 수 있었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cachefiles: unmark inode in use in error path
Unmark inode in use if error encountered. If the in-use flag leakage
occurs in cachefiles_open_file(), Cachefiles will complain "Inode
already in use" when later another cookie with the same index key is
looked up.
If the in-use flag leakage occurs in cachefiles_create_tmpfile(), though
the "Inode already in use" warning won't be triggered, fix the leakage
anyway.
📍 영향받는 시스템
cachefiles 기능을 사용하는 Linux 커널 (수정된 커널 버전 이전의 여러 배포판 커널)
⚔️ 공격 벡터
원격 공격 경로는 명확하지 않으며, 주로 캐시 오류 상황에서 발생하는 서비스 안정성 및 자원 관리 결함에 해당합니다 (CVSS 5.5, 로컬 조건 필요).
🛡️ 대응 방법
수정이 포함된 최신 Linux 커널로 업데이트하고, 배포판 보안 권고에 따라 커널을 재부팅합니다.
🔧 검증 코드
커널 버전이 배포판의 수정 버전 이상인지 확인하고, cachefiles 모듈이 로드되어 있지 않다면 이 취약점의 영향은 제한적입니다 (로드되어 있다면 패키지 업데이트 여부를 확인).
uname -r; lsmod | grep cachefiles; grep -i cachefiles /proc/filesystems 2>/dev/null