🇰🇷 한글 설명
Linux 커널의 io_uring 내 IORING_OP_SPLICE 작업에서 Use-After-Free 취약점이 발견되었습니다. 특정 파일에 io_splice를 호출할 때 nsproxy 참조 카운터가 잘못 관리되어 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 메모리 관리 규칙을 어기는 오류가 발견되었습니다. 공격자가 이를 악용하면 시스템의 권한을 탈취하거나 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
There exists a use-after-free vulnerability in the Linux kernel through io_uring and the IORING_OP_SPLICE operation. If IORING_OP_SPLICE is missing the IO_WQ_WORK_FILES flag, which signals that the operation won't use current->nsproxy, so its reference counter is not increased. This assumption is not always true as calling io_splice on specific files will call the get_uts function which will use current->nsproxy leading to invalidly decreasing its reference counter later causing the use-after-free vulnerability. We recommend upgrading to version 5.10.160 or above
📍 영향받는 시스템
Linux kernel (io_uring 및 IORING_OP_SPLICE 사용 환경)
⚔️ 공격 벡터
특정 파일을 대상으로 IORING_OP_SPLICE 작업을 수행하여 메모리 참조 카운터를 조작하는 방식
🛡️ 대응 방법
Linux 커널을 버전 5.10.160 이상으로 업그레이드하십시오.
🔧 검증 코드
출력된 커널 버전이 5.10.160 미만인지 확인하여 취약 여부를 판단합니다.