🔍 CVE-2026-46183

7.8
CVSS Score
HIGH
2026-05-28
2026-06-11 03:01
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 DAMON sysfs 구현에서 사용자 공간이 접근 가능한 경로 문자열의 할당 해제 시 잠금 부재로 인해 사용자 후 할당(UAF) 취약점이 발생합니다. 이는 잠금 없이 직접 읽기 및 쓰기가 가능하여 이미 해제된 메모리를 읽을 수 있게 만듭니다.

💡 쉬운 설명

시스템의 특정 설정 파일을 읽고 쓰는 과정에서 메모리 정리 시기가 맞지 않아 오류가 발생할 수 있는 결함이 있습니다. 공격자는 이 틈을 타 시스템의 불안정한 메모리 상태에 접근하여 악용할 가능성이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lock damon_sysfs_quot_goal->path can be read and written by users, via DAMON sysfs 'path' file. It can also be indirectly read, for the parameters {on,off}line committing to DAMON. The reads for parameters committing are protected by damon_sysfs_lock to avoid the sysfs files being destroyed while any of the parameters are being read. But the user-driven direct reads and writes are not protected by any lock, while the write is deallocating the path-pointing buffer. As a result, the readers could read the already freed buffer (user-after-free). Note that the user-reads don't race when the same open file is used by the writer, due to kernfs's open file locking. Nonetheless, doing the reads and writes with separate open files would be common. Fix it by protecting both the user-direct reads and writes with damon_sysfs_lock.

📍 영향받는 시스템

Linux kernel (DAMON sysfs-schemes 모듈)

⚔️ 공격 벡터

로컬 또는 원격에서 DAMON sysfs 'path' 파일을 통해 직접 읽기/쓰기 수행

🛡️ 대응 방법

커널 패치 적용 및 damon_sysfs_lock을 사용하여 읽기/쓰기 작업 보호

🔧 검증 코드

출력된 커널 버전이 취약한 버전인지 패치 노트를 통해 확인해야 합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel