🔍 CVE-2026-52925

5.5
CVSS Score
MEDIUM
2026-06-24
2026-11-06 17:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 VRF(Virtual Routing and Forwarding) 구성 요소에서 포트를 제거할 때 발생할 수 있는 Null Pointer Dereference(NPD) 취약점입니다. RCU 리더가 VRF 포트를 식별한 후 마스터 장치를 가져오는 과정에서 동기화가 부족하여, l3mdev 작업이 없는 장치를 참조할 때 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

네트워크 설정을 변경하는 과정에서 컴퓨터의 핵심 운영체제(커널)가 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 네트워크 포트를 VRF라는 가상 환경에서 제거할 때 발생하는 타이밍 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: vrf: Fix a potential NPD when removing a port from a VRF RCU readers that identified a net device as a VRF port using netif_is_l3_slave() assume that a subsequent call to netdev_master_upper_dev_get_rcu() will return a VRF device. They then continue to dereference its l3mdev operations. This assumption is not always correct and can result in a NPD [1]. There is no RCU synchronization when removing a port from a VRF, so it is possible for an RCU reader to see a new master device (e.g., a bridge) that does not have l3mdev operations. Fix by adding RCU synchronization after clearing the IFF_L3MDEV_SLAVE flag. Skip this synchronization when a net device is removed from a VRF as part of its deletion and when the VRF device itself is deleted. In the latter case an RCU grace period will pass by the time RTNL is released. [1] BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] RIP: 0010:l3mdev_fib_table_rcu (net/l3mdev/l3mdev.c:181) [...] Call Trace: <TASK> l3mdev_fib_table_by_index (net/l3mdev/l3mdev.c:201 net/l3mdev/l3mdev.c:189) __inet_bind (net/ipv4/af_inet.c:499 (discriminator 3)) inet_bind_sk (net/ipv4/af_inet.c:469) __sys_bind (./include/linux/file.h:62 (discriminator 1) ./include/linux/file.h:83 (discriminator 1) net/socket.c:1951 (discriminator 1)) __x64_sys_bind (net/socket.c:1969 (discriminator 1) net/socket.c:1967 (discriminator 1) net/socket.c:1967 (discriminator 1)) do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)

📍 영향받는 시스템

Linux Kernel (VRF 기능 사용 시)

⚔️ 공격 벡터

로컬 네트워크 설정 변경 권한을 가진 사용자가 VRF 포트를 제거하거나 변경하여 발생 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 RCU 동기화 로직을 적용해야 함

🔧 검증 코드

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

Shell / Script
uname -r

📊 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