🔍 CVE-2022-49044

7.8
CVSS Score
HIGH
2025-02-26
2026-08-13 00:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 dm-integrity 구성 시 tag_size가 실제 digest size보다 작게 설정될 경우 메모리 오염이 발생할 수 있는 취약점입니다. 이로 인해 데이터 무결성 검증 과정에서 ic->recalc_tags 배열의 범위를 벗어난 쓰기 작업이 수행되어 시스템 메모리가 손상될 수 있습니다.

💡 쉬운 설명

데이터가 변조되었는지 확인하는 기능에서 설정 오류가 발생하면, 컴퓨터의 중요한 메모리 영역을 잘못 건드려 시스템을 망가뜨릴 수 있는 문제입니다. 이는 잘못된 설정값 때문에 데이터 검증 도구가 정해진 공간보다 더 많은 데이터를 쓰려고 할 때 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dm integrity: fix memory corruption when tag_size is less than digest size It is possible to set up dm-integrity in such a way that the "tag_size" parameter is less than the actual digest size. In this situation, a part of the digest beyond tag_size is ignored. In this case, dm-integrity would write beyond the end of the ic->recalc_tags array and corrupt memory. The corruption happened in integrity_recalc->integrity_sector_checksum->crypto_shash_final. Fix this corruption by increasing the tags array so that it has enough padding at the end to accomodate the loop in integrity_recalc() being able to write a full digest size for the last member of the tags array.

📍 영향받는 시스템

dm-integrity 모듈을 사용하는 Linux Kernel 버전

⚔️ 공격 벡터

dm-integrity 설정 시 tag_size를 digest size보다 작게 구성하여 메모리 오염 유도

🛡️ 대응 방법

dm-integrity의 tags 배열 크기를 충분히 확보하여 메모리 오염을 방지하는 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인

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