🔍 CVE-2026-97955

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mana 네트워크 드라이버에서 XDP 프로그램 포인터 복구 실패로 인한 취약점이 발견되었습니다. 메모리 할당 실패 시 이전 프로그램 포인터를 복구하지 않아, 해제된 메모리 주소를 참조하게 되어 시스템 불안정이나 오류를 유발할 수 있습니다.

💡 쉬운 설명

네트워크 설정을 하던 중 메모리가 부족하면 시스템이 잘못된 메모리 주소를 기억하게 됩니다. 이로 인해 나중에 시스템이 엉뚱한 곳을 참조하여 오류가 발생하거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: mana: restore the XDP program pointer when pre-allocation fails mana_xdp_set() publishes the new program into apc->bpf_prog before it allocates anything, because mana_pre_alloc_rxbufs() sizes the buffers from it via mana_get_rxbuf_cfg(). When that allocation fails the function returns the error directly, skipping the err_dealloc_rxbuffs label which is the only place that restores the previous pointer. The attach is reported as failed, so the BPF core drops the reference it held for the caller and the program can be freed, while apc->bpf_prog still points at it. The next consumer of mana_xdp_get() - typically mana_chn_setxdp() from mana_alloc_queues() on the following ifup, or after a TX timeout reset - then calls bpf_prog_add() on freed memory. This is reachable from an ordinary "ip link set dev ethX xdp obj ..." whenever the per-queue RX buffer pre-allocation cannot be satisfied. Restore the previous program on that error path.

📍 영향받는 시스템

Linux kernel (mana network driver module)

⚔️ 공격 벡터

로컬 사용자가 'ip link set' 명령어를 통해 XDP 프로그램을 설정할 때 메모리 할당 실패를 유도하여 발생

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel