🔍 CVE-2022-48637

7.8
CVSS Score
HIGH
2024-04-28
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bnxt 드라이버에서 PTP 워커로 skb(소켓 버퍼) 소유권을 넘긴 후에도 이를 계속 사용하려 할 때 발생하는 Use-After-Free(UAF) 취약점입니다. 작업 완료 후 skb가 해제될 수 있음에도 불구하고 코드가 이를 참조하여 메모리 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터가 이미 사용이 끝나서 버린 메모리 조각을 실수로 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bnxt: prevent skb UAF after handing over to PTP worker When reading the timestamp is required bnxt_tx_int() hands over the ownership of the completed skb to the PTP worker. The skb should not be used afterwards, as the worker may run before the rest of our code and free the skb, leading to a use-after-free. Since dev_kfree_skb_any() accepts NULL make the loss of ownership more obvious and set skb to NULL.

📍 영향받는 시스템

bnxt 네트워크 드라이버를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특정 네트워크 트래픽 처리 과정에서 메모리 해제 후 참조를 유도하는 로컬 또는 원격 공격

🛡️ 대응 방법

bnxt 드라이버의 UAF 취약점이 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

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