Linux Kernel Heap-Based Buffer Overflow Vulnerability
Linux kernel의 Filesystem Context 기능에 있는 legacy_parse_param 함수가 제공된 매개변수의 길이를 검증하는 방식에서 힙 기반 버퍼 오버플로 결함이 발견되었습니다. Filesystem Context API를 지원하지 않아 레거시 처리 방식으로 대체되는 파일 시스템을 열 수 있는 권한 없는 로컬 사용자는 권한 없는 사용자 네임스페이스가 활성화된 경우 이 결함을 이용해 시스템에서 자신의 권한을 상승시킬 수 있습니다. 그렇지 않은 경우에는 네임스페이스 내 CAP_SYS_ADMIN 권한이 필요합니다.
Linux kernel의 Filesystem Context 기능에 있는 legacy_parse_param 함수가 제공된 매개변수의 길이를 검증하는 방식에서 힙 기반 버퍼 오버플로 결함이 발견되었습니다. Filesystem Context API를 지원하지 않아 레거시 처리 방식으로 대체되는 파일 시스템을 열 수 있는 권한 없는 로컬 사용자는 권한 없는 사용자 네임스페이스가 활성화된 경우 이 결함을 이용해 시스템에서 자신의 권한을 상승시킬 수 있습니다. 그렇지 않은 경우에는 네임스페이스 내 CAP_SYS_ADMIN 권한이 필요합니다.
한국어 설명은 영문 원문을 기준으로 제공됩니다. 제품명·버전·보안 식별자는 아래 원문과 함께 확인할 수 있습니다.
영문 원문 보기
A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.
영향 제품·버전
제품 Linux Kernel
영향 버전 Linux Kernel 8.4, >= 5.1 < 5.4.173, >= 5.5 < 5.10.93, >= 5.11 < 5.15.16, >= 5.16 < 5.16.2
수정 버전 Linux Kernel 5.4.173, 5.10.93, 5.15.16, 5.16.2
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
조치 기한: 2024.09.11
해당사항 확인방법
Linux Kernel의 현재 전체 버전이 공식 영향 범위(Linux Kernel 8.4, >= 5.1 < 5.4.173, >= 5.5 < 5.10.93, >= 5.11 < 5.15.16, >= 5.16 < 5.16.2)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Kernel 5.4.173, 5.10.93, 5.15.16, 5.16.2 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.
필드별 과거 원문을 추정하지 않습니다. 각 시점의 현재 값과 공식 출처를 대조해 변경 여부를 확인하세요.
기술 정보
CVSS 벡터 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-190, CWE-191
KEV 등록일 2024.08.21
랜섬웨어 캠페인 사용 미확인
CISA 비고 This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2; https://nvd.nist.gov/vuln/detail/CVE-2022-0185