🔍 CVE-2026-80557

9.8
CVSS Score
CRITICAL
2026-08-26
2026-10-16 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 libceph 구성 요소에서 decode_watchers() 함수 내 경계 검사 누락으로 인한 Out-of-Bounds(OOB) 읽기 취약점이 발견되었습니다. 악의적인 OSD가 struct_len을 0으로 설정한 응답을 보낼 경우, 커널은 유효한 버퍼 범위를 벗어난 4바이트를 읽어 임의의 값을 watcher count로 사용하게 됩니다. 이는 메모리 손상이나 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

해커가 조작된 데이터를 보내면 컴퓨터의 핵심 부분인 커널이 허용되지 않은 메모리 영역을 읽어버리는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: libceph: fix OOB read in decode_watchers() via missing bounds check ceph_start_decoding() validates that struct_len bytes remain in the buffer after the encoding header, but accepts struct_len=0 as valid: ceph_decode_need(p, end, 0, bad) always passes. When a malicious or compromised OSD sends an obj_list_watch_response_t reply with struct_len=0, ceph_start_decoding() returns success with p == end, leaving zero bytes guaranteed for subsequent reads. The immediately following ceph_decode_32(p) in decode_watchers() has no preceding bounds check. With p == end this is a 4-byte read past the validated buffer boundary. The garbage value is then passed directly to kzalloc_objs() as the watcher count. The sibling function decode_watcher() already uses the safe variants (ceph_decode_copy_safe, ceph_decode_64_safe, ceph_decode_skip_32) after its own ceph_start_decoding() call. decode_watchers() is the only site that uses the bare variant, confirming an oversight. Fix by replacing ceph_decode_32(p) with ceph_decode_32_safe(p, end, *num_watchers, bad), consistent with the established pattern. Attacker model: a malicious or compromised OSD in a multi-tenant Ceph deployment (e.g. cloud) can trigger this against any kernel client that calls CEPH_OSD_OP_LIST_WATCHERS, without any further privileges beyond OSD session establishment. [ idryomov: trim changelog ]

📍 영향받는 시스템

Linux kernel (libceph module 사용 시스템)

⚔️ 공격 벡터

멀티테넌트 Ceph 환경에서 악의적이거나 탈취된 OSD가 CEPH_OSD_OP_LIST_WATCHERS 요청에 대해 조작된 응답을 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ceph_decode_32_safe() 함수가 적용되도록 조치

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel