🔍 CVE-2025-38709

5.5
CVSS Score
MEDIUM
2025-09-04
2026-11-05 22:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 loop 장치에서 독점 소유자가 있는 경우 블록 크기가 업데이트되는 것을 방지하지 못하는 취약점입니다. 파일 시스템이 마운트된 상태에서 loop 장치의 블록 크기가 변경되면 슈퍼블록의 정보와 불일치가 발생하여 커널 경고 및 시스템 혼란을 야기할 수 있습니다.

💡 쉬운 설명

컴퓨터의 가상 저장 장치를 사용 중일 때, 누군가 몰래 저장 장치의 기본 단위 크기를 바꿔버리는 문제입니다. 이로 인해 데이터 읽기/쓰기 과정에서 오류가 발생하거나 시스템이 불안정해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: loop: Avoid updating block size under exclusive owner Syzbot came up with a reproducer where a loop device block size is changed underneath a mounted filesystem. This causes a mismatch between the block device block size and the block size stored in the superblock causing confusion in various places such as fs/buffer.c. The particular issue triggered by syzbot was a warning in __getblk_slow() due to requested buffer size not matching block device block size. Fix the problem by getting exclusive hold of the loop device to change its block size. This fails if somebody (such as filesystem) has already an exclusive ownership of the block device and thus prevents modifying the loop device under some exclusive owner which doesn't expect it.

📍 영향받는 시스템

Linux Kernel (loop device 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 마운트된 loop 장치의 블록 크기를 강제로 변경 시도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel