🔍 CVE-2025-21676

7.5
CVSS Score
HIGH
2025-01-31
2026-10-15 02:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fec 드라이버에서 page_pool_dev_alloc_pages 함수가 NULL을 반환할 경우 이를 적절히 처리하지 못하는 취약점입니다. 메모리 압박이 심한 상황에서 NULL 포인터를 참조하게 되어 시스템 크래시(Crash)가 발생할 수 있습니다.

💡 쉬운 설명

시스템의 메모리가 부족할 때 네트워크 장치가 데이터를 처리하려다 오류를 일으켜 컴퓨터가 갑자기 멈추거나 꺼질 수 있는 문제입니다. 메모리 할당에 실패했을 때 이를 무시하고 진행하려다 발생하는 현상입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: fec: handle page_pool_dev_alloc_pages error The fec_enet_update_cbd function calls page_pool_dev_alloc_pages but did not handle the case when it returned NULL. There was a WARN_ON(!new_page) but it would still proceed to use the NULL pointer and then crash. This case does seem somewhat rare but when the system is under memory pressure it can happen. One case where I can duplicate this with some frequency is when writing over a smbd share to a SATA HDD attached to an imx6q. Setting /proc/sys/vm/min_free_kbytes to higher values also seems to solve the problem for my test case. But it still seems wrong that the fec driver ignores the memory allocation error and can crash. This commit handles the allocation error by dropping the current packet.

📍 영향받는 시스템

Linux kernel (fec driver 사용 시스템)

⚔️ 공격 벡터

메모리 압박을 유도하여 시스템 크래시를 유발하는 DoS(서비스 거부) 공격 가능

🛡️ 대응 방법

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