Linux kernel의 copy_page_to_iter_pipe 및 push_pipe 함수에서 새로운 pipe buffer 구조체의 "flags" 멤버가 적절히 초기화되지 않아 이전 값이 남아 있을 수 있는 방식에서 결함이 발견되었습니다. 권한이 없는 로컬 사용자는 이 결함을 이용해 읽기 전용 파일을 기반으로 하는 page cache의 페이지에 쓰고, 이를 통해 시스템에서 권한을 상승시킬 수 있습니다.
Linux kernel의 copy_page_to_iter_pipe 및 push_pipe 함수에서 새로운 pipe buffer 구조체의 "flags" 멤버가 적절히 초기화되지 않아 이전 값이 남아 있을 수 있는 방식에서 결함이 발견되었습니다. 권한이 없는 로컬 사용자는 이 결함을 이용해 읽기 전용 파일을 기반으로 하는 page cache의 페이지에 쓰고, 이를 통해 시스템에서 권한을 상승시킬 수 있습니다.
한국어 설명은 영문 원문을 기준으로 제공됩니다. 제품명·버전·보안 식별자는 아래 원문과 함께 확인할 수 있습니다.
영문 원문 보기
A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.
영향 제품·버전
제품 Linux Kernel
영향 버전 Linux Kernel 5.17 rc6, >= 5.8 < 5.10.102, >= 5.15 < 5.15.25, >= 5.16 < 5.16.11, 35, 8.0, 8.2, 8.4, 8, 8.1, 4.0, 4.4.10.2, < 2.0, <= 12.4.2-02044
수정 버전 Linux Kernel 5.10.102, 5.15.25, 5.16.11, 2.0