🔍 CVE-2024-49851

5.5
CVSS Score
MEDIUM
2024-10-21
2026-10-15 01:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 TPM 드라이버에서 명령 전송 실패 시 준비된 TPM 공간이 정리되지 않아 transient handle이 누수되는 문제입니다. 장치 종료 시 추가 명령이 없으면 이 handle들이 해제되지 않아 리소스 누수가 발생합니다.

💡 쉬운 설명

컴퓨터의 보안 칩(TPM)과 통신하는 과정에서 실패하면 사용 중이던 임시 자원이 제대로 정리되지 않아 누적됩니다. 반복되면 시스템 리소스가 부족해져 성능 저하나 서비스 거부가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tpm: Clean up TPM space after command failure tpm_dev_transmit prepares the TPM space before attempting command transmission. However if the command fails no rollback of this preparation is done. This can result in transient handles being leaked if the device is subsequently closed with no further commands performed. Fix this by flushing the space in the event of command transmission failure.

📍 영향받는 시스템

Linux kernel 전 버전 (TPM 드라이버 사용하는 시스템)

⚔️ 공격 벡터

로컬 공격자가 TPM 명령 실패를 의도적으로 유발하여 handle 누수를 반복 발생시킴

🛡️ 대응 방법

Linux 커널 패치 적용 (tpm_dev_transmit에 실패 시 space flush 로직 추가)

🔧 검증 코드

tpm_dev_transmit 함수의 실패 처리 부분에 flush 로직이 있는지 확인합니다. 패치 적용 여부를 소스 코드 검증으로 확인할 수 있습니다.

Shell / Script
grep -r 'tpm_dev_transmit' /usr/src/linux*/drivers/char/tpm/ 2>/dev/null | head -5

📊 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