🔍 CVE-2025-38405

7.5
CVSS Score
HIGH
2025-07-25
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nvmet 구성 요소에서 메타데이터가 포함된 명령을 처리할 때 kmalloc-128 슬랩 메모리가 지속적으로 누수되는 취약점이 발견되었습니다. bio_init을 사용한 인라인 bio에 대해 bio_uninit을 호출하지 않아 bio->bi_integrity 메모리가 해제되지 않는 것이 원인입니다.

💡 쉬운 설명

컴퓨터의 저장 장치를 관리하는 소프트웨어에서 사용한 메모리를 제대로 돌려주지 않아 메모리가 계속 쌓이는 문제가 있습니다. 이 문제가 지속되면 시스템의 메모리가 부족해져 성능이 떨어지거나 시스템이 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak of bio integrity If nvmet receives commands with metadata there is a continuous memory leak of kmalloc-128 slab or more precisely bio->bi_integrity. Since commit bf4c89fc8797 ("block: don't call bio_uninit from bio_endio") each user of bio_init has to use bio_uninit as well. Otherwise the bio integrity is not getting free. Nvmet uses bio_init for inline bios. Uninit the inline bio to complete deallocation of integrity in bio.

📍 영향받는 시스템

Linux kernel (nvmet 구성 요소를 사용하는 시스템)

⚔️ 공격 벡터

메타데이터가 포함된 특정 명령을 nvmet에 전송하여 메모리 누수를 유도

🛡️ 대응 방법

커널 패치를 적용하여 bio_uninit 호출이 포함된 최신 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel