CVE-2026-64548 in Linux
요약
\~에 의해 VulDB • 2026. 07. 28.
리눅스 커널에서 다음 취약점이 해결되었습니다:
bpf, sockmap: bpf_msg_push_data()에서 오버플로우되는 copy + len 거부
scatterlist 링이 가득 차 있거나 거의 가득 찬 상태일 때, bpf_msg_push_data()는 복사 폴백 경로로 진입하여 페이지 할당 크기에 대해 copy + len을 계산합니다. len은 arg3_type = ARG_ANYTHING인 BPF에서 제공되며 둘 다 u32 타입이므로, 조작된(len) 값의 합산 결과가 작은 값으로 래핑(wrap)될 수 있습니다. 이로 인해 너무 작은 할당이 수행되고 그 후 경계를 벗어난 memcpy(out-of-bounds memcpy)가 발생합니다.
BUG: unable to handle page fault for address: ffffed104089a402 Oops: Oops: 0000 [#1] SMP KASAN NOPTI
Call Trace: __asan_memcpy (mm/kasan/shadow.c:105) bpf_msg_push_data (net/core/filter.c:2852 net/core/filter.c:2788) bpf_prog_9ed8b5711920a7d7+0x2e/0x36 sk_psock_msg_verdict (net/core/skmsg.c:934) tcp_bpf_sendmsg (net/ipv4/tcp_bpf.c:421 net/ipv4/tcp_bpf.c:584) __sys_sendto (net/socket.c:2206) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
할당 전에 오버플로우 검사를 추가합니다.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.