🔍 CVE-2025-38018

7.5
CVSS Score
HIGH
2025-06-18
2026-07-30 06:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/tls 구성 요소에서 메모리 할당(alloc_page) 실패 시 frag_list를 NULL로 설정하여 발생하는 커널 패닉 취약점입니다. 이로 인해 tls_strp_read_sock 호출 시 NULL 포인터 역참조가 발생하여 시스템이 중단될 수 있습니다.

💡 쉬운 설명

컴퓨터가 데이터를 처리하기 위해 필요한 메모리를 빌려오지 못했을 때, 뒷정리를 제대로 하지 않아 시스템이 갑자기 멈춰버리는 문제입니다. 이 오류가 발생하면 운영체제 전체가 충돌하여 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/tls: fix kernel panic when alloc_page failed We cannot set frag_list to NULL pointer when alloc_page failed. It will be used in tls_strp_check_queue_ok when the next time tls_strp_read_sock is called. This is because we don't reset full_len in tls_strp_flush_anchor_copy() so the recv path will try to continue handling the partial record on the next call but we dettached the rcvq from the frag list. Alternative fix would be to reset full_len. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028 Call trace: tls_strp_check_rcv+0x128/0x27c tls_strp_data_ready+0x34/0x44 tls_data_ready+0x3c/0x1f0 tcp_data_ready+0x9c/0xe4 tcp_data_queue+0xf6c/0x12d0 tcp_rcv_established+0x52c/0x798

📍 영향받는 시스템

Linux Kernel (net/tls 모듈을 사용하는 시스템)

⚔️ 공격 벡터

메모리 부족 상황을 유도하거나 특수하게 조작된 네트워크 패킷을 전송하여 커널 패닉 유발

🛡️ 대응 방법

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

🔧 검증 코드

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

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