🔍 CVE-2026-68441

0.0
CVSS Score
UNKNOWN
2026-08-12
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/sched 구성 요소에서 qdisc 필터 체인에 연결된 TC 필터가 TC_ACT_REDIRECT를 반환할 때, 리다이렉트 동작이 무시되고 패킷이 정상적으로 큐에 삽입되는 취약점이 발견되었습니다. 이로 인해 eBPF를 통한 패킷 리다이렉션 기능이 의도대로 작동하지 않고 패킷이 유실되거나 잘못된 경로로 전달될 수 있습니다.

💡 쉬운 설명

네트워크 패킷을 특정 경로로 돌려보내라는 명령이 내려졌음에도 불구하고, 시스템이 이를 무시하고 원래 가려던 길로 패킷을 계속 보내버리는 문제입니다. 이로 인해 네트워크 보안 정책이나 트래픽 제어가 제대로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/sched: Handle TC_ACT_REDIRECT from qdisc filter chains When a TC filter attached to a qdisc filter chain returns TC_ACT_REDIRECT (ex: via an eBPF program calling bpf_redirect() or an act_bpf action), the redirect was silently lost i.e no qdisc classify function handled TC_ACT_REDIRECT, so the packet fell through the switch and was enqueued normally instead of being redirected. This has been broken since bpf_redirect() was introduced for TC in commit 27b29f63058d ("bpf: add bpf_redirect() helper"). We got lucky for a long time because bpf_net_context was a per-CPU variable that was always available. commit 401cb7dae813 ("net: Reference bpf_redirect_info via task_struct on PREEMPT_RT.") turned bpf_net_context into a task_struct member that is only set up by explicit callers. Without a caller setting it up, bpf_redirect() itself crashes with a NULL pointer dereference in bpf_net_ctx_get_ri(). However, even with bpf_net_context available, TC_ACT_REDIRECT from qdisc filter chains cannot be honored without adding skb_do_redirect() calls to every qdisc classify function, which would require changes across net/sched/. Isolate it to ebpf core where it belongs. Instead, add a tcf_classify_qdisc() inline helper in pkt_cls.h, as a wrapper around tcf_classify() for use by qdisc classify functions and tcf_qevent_handle(). When the classify verdict is TC_ACT_REDIRECT, the wrapper converts it to TC_ACT_SHOT, dropping the packet rather than letting it continue silently. Dropping is preferred over letting the packet through because the user immediately sees packet loss. Silently passing the packet through would hide the problem and leave the user wondering why their redirect is not working. The clsact fast path, tc_run() continues to call tcf_classify() directly and is unaffected: TC_ACT_REDIRECT is returned as-is and handled by sch_handle_egress/ingress() calling skb_do_redirect() as before.

📍 영향받는 시스템

bpf_redirect() 도입 이후부터 해당 패치가 적용되기 전까지의 Linux 커널 버전

⚔️ 공격 벡터

eBPF 프로그램을 이용한 네트워크 트래픽 제어 시도 시 리다이렉션 명령 무력화

🛡️ 대응 방법

해당 취약점이 해결된 최신 Linux 커널 버전으로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel