총 16,344건
CVE-2026-98387
2026년 10월 14일In the Linux kernel, the following vulnerability has been resolved: s390/crypto: Fix skcipher_walk return code handling in aes_s390 The return codes from skcipher_walk_virt() were not properly checked before entering the processing loops in ecb_aes_crypt() and ctr_aes_crypt(). If skcipher_walk_virt() fails, the walk structure may be in an undefined state, and attempting to process data could lead to incorrect behavior or accessing uninitialized memory. Add proper return code checking to ensure correct handling of the walk initialization and walk advance and eventually return to the caller with that return code.
CVE-2026-98386
2026년 10월 14일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Use memset_io() to clear QLAFX00 request ring slot For QLAFX00 the request ring is ioremapped device I/O memory (ha->iobase + req_que_off), not DMA-coherent RAM, which is why the rest of the FX00 path accesses it through memcpy_toio() and the wrt_reg_* helpers. __qla2x00_alloc_iocbs() however zeroed the producer slot with a plain memset(). On architectures such as ARM64 a regular memset() may emit unaligned or block-zeroing instructions (e.g. DC ZVA) that are invalid on Device memory, leading to a synchronous external abort. Use memset_io() to clear the slot for QLAFX00, matching the I/O accessors used elsewhere on this ring. Other adapters keep the plain memset() on their DMA-coherent rings. The zero-fill is retained for FX00 because its IOCB builders (e.g. qlafx00_fxdisc_iocb()) copy only part of the entry and rely on the unused tail being pre-zeroed.
CVE-2026-62840
2026년 10월 14일Linux 커널의 검사 시점과 사용 시점(Time-of-check Time-of-use, toctou) 경쟁 조건으로 인해 권한이 있는 공격자가 로컬에서 권한 상승을 할 수 있다.
CVE-2026-98385
2026년 10월 12일Linux 커널에서 다음 취약점이 해결되었다: sched/cache: UAF 문제를 해결하기 위해 sched_cache_group을 mm에서 분리함 현재 sched 캐시 그룹화는 mm 단위로 이루어지며, 스케줄링 통계인 sched_cache_stat은 mm 구조체 내에 존재한다. 이는 스케줄링 통계의 생명 주기를 mm과 연동시킨다. account_mm_sched() 함수에서는 task->mm->sc_stat를 통해 스케줄링 통계에 접근한다. 그러나 한 CPU에서 작업이 mm을 전환하는 동안 다른 CPU가 account_mm_sched()를 실행하며 이미 해제된 이전 mm에 접근할 수 있다. 이 문제는 Hyunwoo가 KASAN 테스트를 수행하는 중 발견하였다: https://lore.kernel.org/lkml/apPb-Dr4nPYuHQOK@v4bel/ mm 해제 경로에서 rq 락을 추가로 획득하여 mm 접근을 직렬화하는 대신, sched_cache_stat을 mm_struct에서 분리하고 sched_cache_group으로 이름을 변경하여 자체 참조 카운팅으로 mm_struct와 별도로 생명 주기를 관리한다. 이를 통해 다음 패치에서는 task에서 직접 sched_cache_group에 접근하고, task가 연결될 때 참조 카운트를 증가시킨다. 이로써 account_mm_sched()가 다른 곳에서 실행되는 동안 작업이 새로운 mm으로 전환할 때, 오래되고 해제된 이전 mm 및 그 sched 캐시 통계에 접근하여 발생하는 해제 후 사용 문제를 방지한다. 이 구조 변경의 또 다른 이점은 향후 작업 그룹화를 단일 mm 주소 공간이 아닌 사용자 정의 그룹, cgroup, 쿠키 그룹, numa_group 등과 연동할 수 있는 유연성을 제공한다는 점이다. sched_cache_stat을 sched_cache_group으로 이름 변경하고 참조 카운트가 있는 객체로 전환하여 mm_struct에서 할당한다. 이제 mm_struct는 이 객체에 대한 포인터(sched_cache_grp)를 보유하며, 객체를 내장하지 않는다.
CVE-2026-98384
2026년 10월 9일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds read of sk_protocol in bpf_sock_destroy() sk_protocol lives in struct sock, not in struct sock_common. A timewait or request sock handed to bpf_sock_destroy() by the tcp iterator is neither, so reading sk->sk_protocol runs past the object: ================================================================== BUG: KASAN: slab-out-of-bounds in bpf_sock_destroy+0xc7/0xe0 Read of size 2 at addr ffff8881047d11b4 by task test_progs/428 Tainted: [W]=WARN Call Trace: <TASK> dump_stack_lvl+0x91/0xf0 print_report+0xd1/0x630 kasan_report+0xf3/0x130 __asan_report_load2_noabort+0x14/0x30 bpf_sock_destroy+0xc7/0xe0 bpf_prog_c3dd61f9d9cd9f37_iter_tcp6_timewait+0x9f/0xb7 bpf_iter_run_prog+0x538/0xde0 bpf_iter_tcp_seq_show+0x26b/0x4b0 bpf_seq_read+0x424/0x1210 vfs_read+0x197/0xe40 ksys_read+0x119/0x240 __x64_sys_read+0x72/0xc0 x64_sys_call+0x647/0x27e0 do_syscall_64+0xe5/0x610 entry_SYSCALL_64_after_hwframe+0x76/0x7e Only check sk_protocol on full socks. tcp_abort() already knows how to deal with TIME_WAIT and NEW_SYN_RECV socks. Also fix the comment, it never matched the code.
CVE-2026-98383
2026년 10월 9일Linux 커널에서 다음 취약점이 해결되었다: bpf: LWT_SEG6LOCAL에 대해 bpf_skb_pull_data()를 허용하지 않음 LWT_SEG6LOCAL 프로그램은 bpf_lwt_seg6_adjust_srh()로 캐시된 SRH를 무효화한 후 bpf_skb_pull_data()를 호출할 수 있다. 후자는 skb->head를 재할당할 수 있어, CPU별 SRH 포인터가 유효하지 않게 된다. 프로그램 실행 후 SRH 검증은 해당 포인터를 통해 쓰기를 수행한다. LWT_SEG6LOCAL 프로그램에 대해 bpf_skb_pull_data()를 허용하지 않아 검증기가 이 위험한 헬퍼 조합을 거부하도록 한다. 다른 LWT 프로그램 유형은 계속해서 lwt_out_func_proto()를 통해 헬퍼를 노출한다.
CVE-2026-98382
번역 확인 필요2026년 10월 9일Linux 커널에서 다음 취약점이 해결되었다: bpf: 다른 장치에서 dev-bound-only 프로그램 거부 __bpf_offload_dev_match()는 정확한 netdev 불일치 후에 offdev 포인터 비교로 대체된다. Bound-only 프로그램은 일반적으로 NULL offdev를 가지므로 관련 없는 netdev들이 동일하게 비교된다. offload-등록된 netdev에서 bound-only 프로그램은 실제 offdev를 상속받아 형제 포트와 일치할 수 있다. CAP_BPF 및 CAP_NET_ADMIN 권한을 가진 호출자는 bpf(BPF_LINK_CREATE)를 다른 대상 ifindex와 함께 사용하여 대상 드라이버의 xdp_buff에서 바운드 드라이버에 특화된 메타데이터 kfunc를 실행할 수 있다. tun에서 veth에 바운드된 프로그램을 실행하면 tun의 기본 스택 xdp_buff를 벗어나 veth_xdp_buff로 읽는다. Oops: 일반 보호 오류, 아마도 비정규 주소 때문 KASAN: 범위 [0x0000000000000010-0x0000000000000017] 내 널 포인터 역참조 RIP: 0010:veth_xdp_rx_timestamp (drivers/net/veth.c:1673) 호출 추적: ... tun_build_skb (drivers/net/tun.c:1739) tun_get_user (drivers/net/tun.c:1856) tun_chr_write_iter (drivers/net/tun.c:2091) vfs_write (fs/read_write.c:595 fs/read_write.c:687) ksys_write (fs/read_write.c:739) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) 커널 패닉 - 동기화하지 않음: 인터럽트에서 치명적 예외 발생 비오프로그램은 정확한 netdev 일치로 제한하고, 공유 offdev 대체는 진정한 오프로그램 다중 포트 프로그램에만 유지한다.
CVE-2026-98381
2026년 10월 9일Linux 커널에서 다음 취약점이 해결되었다: veth: 채널 크기 조정 중 XDP 프로그램 포인터 관리 veth_set_channels()는 제거된 RX 큐에 대해 XDP 리소스를 해제하지만 rq->xdp_prog를 초기화하지 않는다. 프로그램이 분리되거나 교체되면, 해당 큐들은 bpf_prog_put() 이후에도 이전 포인터를 유지한다. 이후 채널 증가 시 NAPI가 다시 활성화되고 해제된 프로그램이 실행될 수 있다. BUG: 주소에 대한 페이지 폴트 처리 불가: ffffc90000256048 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: veth_xdp_rcv_skb (include/linux/filter.h:779 include/net/xdp.h:696 drivers/net/veth.c:820) 호출 추적: veth_xdp_rcv (drivers/net/veth.c:941) veth_poll (drivers/net/veth.c:986) __napi_poll (net/core/dev.c:7787) net_rx_action (net/core/dev.c:7850 net/core/dev.c:8007) handle_softirqs (kernel/softirq.c:645) 커널 패닉 - 동기화 실패: 인터럽트 중 치명적 예외 발생
CVE-2026-98380
2026년 10월 9일In the Linux kernel, the following vulnerability has been resolved: net/sched: reject IDR error pointers when deleting actions tcf_action_delete() drops the reference held by its lookup before calling tcf_idr_delete_index() with the saved action index. An unlocked classifier can remove that action and reserve the same IDR slot with ERR_PTR(-EBUSY) in between. tcf_idr_delete_index() only checks the lookup result for NULL. It therefore treats the reservation as a tc_action and dereferences tcfa_bindcnt. A hardware execution breakpoint was used to schedule the interleaving without changing the kernel source. KASAN reported this decoded trace: BUG: KASAN: null-ptr-deref in tca_action_gd+0x5b9/0x1010 Read of size 4 at addr 0000000000000010 by task poc/150 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002 RIP: tca_action_gd+0x5c0/0x1010: arch_atomic_read at arch/x86/include/asm/atomic.h:23 raw_atomic_read at include/linux/atomic/atomic-arch-fallback.h:457 atomic_read at include/linux/atomic/atomic-instrumented.h:33 tcf_idr_delete_index at net/sched/act_api.c:766 tcf_action_delete at net/sched/act_api.c:1859 tcf_del_notify at net/sched/act_api.c:2014 tca_action_gd at net/sched/act_api.c:2064 R13: 0000000000000010 R15: fffffffffffffff0 Kernel panic - not syncing: Fatal exception R15 contains ERR_PTR(-EBUSY), and adding the tcfa_bindcnt offset produces the address in R13. With the guard applied, the same reproducer returned -ENOENT without a KASAN report or panic. Treat error pointers as absent and return -ENOENT.
CVE-2026-98379
2026년 10월 9일In the Linux kernel, the following vulnerability has been resolved: netfilter: ip6t_rpfilter: reject routes without inet6_dev ip6_route_lookup() can return an error-free route whose rt6i_idev is NULL. Lowering an external nexthop device's MTU below IPV6_MIN_MTU tears down its inet6_dev while fib6_ifdown() leaves routes using nexthop objects in the FIB. An unprivileged user can construct this state with rtnetlink in a private user and network namespace, then trigger a NULL dereference through an IPv6 rpfilter lookup: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000 KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: rpfilter_mt (net/ipv6/netfilter/ip6t_rpfilter.c:75) Call Trace: ip6t_do_table (net/ipv6/netfilter/ip6_tables.c:316) nf_hook_slow (net/netfilter/core.c:619) ipv6_rcv (net/ipv6/ip6_input.c:351) __netif_receive_skb_one_core (net/core/dev.c:6216) process_backlog (net/core/dev.c:6680) __napi_poll (net/core/dev.c:7739) net_rx_action (net/core/dev.c:7959) handle_softirqs (kernel/softirq.c:622) do_softirq.part.0 (kernel/softirq.c:523) __local_bh_enable_ip (kernel/softirq.c:450) __dev_queue_xmit (net/core/dev.c:4913) packet_sendmsg (net/packet/af_packet.c:3139) __sys_sendto (net/socket.c:2252) __x64_sys_sendto (net/socket.c:2259) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception in interrupt Reject routes without an inet6_dev immediately after lookup. Such routes are not eligible for reverse-path filtering, and the check protects all later rt6i_idev dereferences.
CVE-2026-98378
2026년 10월 9일리눅스 커널에서 다음 취약점이 해결되었다: bpf: 링크 반복자에서 미정 링크 건너뛰기 bpf_link_prime()는 anon_inode_getfile()이 성공하기 전과 bpf_link_settle()이 link->id에 ID를 게시하기 전 사이에 link_idr에 링크를 삽입한다. bpf_link_by_id()는 이러한 ID-제로 링크를 미정으로 처리하지만, 링크 반복자는 이 검사를 하지 않고 참조를 취한다. 만약 anon_inode_getfile()이 실패하면, 생성자는 ID를 제거하고 여전히 비공개인 링크를 직접 해제한다. 반복자는 고아 참조를 가지게 되고 다음 bpf_link_put() 호출이 해제된 메모리에 접근한다. bpf_link_get_curr_or_next()에서 ID-제로 항목을 bpf_link_by_id()와 마찬가지로 일시적인 것으로 처리한다. BUG: KASAN: slab-use-after-free in bpf_link_put 크기 8의 쓰기 작업, 작업 exp/384 호출 추적: bpf_link_put kernel/bpf/syscall.c:3372 bpf_link_seq_next kernel/bpf/link_iter.c:33 bpf_seq_read kernel/bpf/bpf_iter.c:158 vfs_read fs/read_write.c:572 ksys_read fs/read_write.c:716 do_syscall_64 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe arch/x86/entry/entry_64.S:121 커널 패닉 - 동기화하지 않음: KASAN: panic_on_warn 설정됨 ...
CVE-2026-98377
2026년 10월 9일In the Linux kernel, the following vulnerability has been resolved: vlan: require the MAC header to be present in __vlan_insert_inner_tag() __vlan_insert_inner_tag() only guarantees head room via skb_cow_head(), never that mac_len bytes of MAC header are present. Its ETH_HLEN wrappers - __vlan_insert_tag() under skb_vlan_push(), and vlan_insert_tag() under validate_xmit_vlan() on the generic transmit path - therefore rewrite the first 16 bytes at skb->data: a 12-byte memmove plus two 2-byte stores at +12 and +14. No caller supplies the bound, while the pop helpers use skb_ensure_writable()/pskb_may_pull(). An IFF_TUN device has hard_header_len == 0, so packet_snd() accepts a one-byte AF_PACKET/SOCK_RAW frame. The first vlan push only sets a hwaccel tag; the next - clsact "action vlan push" or bpf_skb_vlan_push() - enters the helper with skb->len still 1. The head comes from skbuff_small_head without __GFP_ZERO, so each push drags bytes from beyond skb->tail into the frame. After three the one-byte send leaves as 13 bytes carrying 11 bytes of uninitialised slab: 0000: 5a b3 62 12 80 88 ff ff 00 b3 62 12 81 `------------------------------' only 0x5a was sent; the rest is slab, here the top 56 bits of a linear-map address Require the MAC header the helper rewrites to be present, so such a frame is dropped rather than transmitted.
CVE-2026-98376
2026년 10월 9일Linux 커널에서 다음 취약점이 해결되었다: bpf: percpu 배열 내부 맵 교체를 위해 array_map_meta_equal 사용 percpu_array_map_ops.map_meta_equal은 max_entries를 비교하지 않는 일반적인 bpf_map_meta_equal()을 가리킨다. percpu 배열이 내부 맵으로 사용될 때, max_entries가 더 적은 맵으로 교체하면 이 검사를 우회할 수 있다. percpu_array_map_gen_lookup()이 원래 템플릿의 index_mask를 JIT 즉시 값으로 인라인하기 때문에, 교체된 맵에 대한 조회는 pptrs[]를 범위 밖에서 접근할 수 있다. percpu_array_map_ops.map_meta_equal을 이미 max_entries 동등성 검사를 시행하는 array_map_meta_equal()로 지정한다. 크기가 다른 percpu 배열 내부 맵으로 교체하는 것을 거부하는지 확인하는 자체 테스트를 추가한다.
CVE-2026-98375
2026년 10월 9일In the Linux kernel, the following vulnerability has been resolved: xen/netfront: drop RX packets with a short Ethernet header handle_incoming_queue() pulls pull_to bytes into the head before calling eth_type_trans(). pull_to is the length of the first RX slot, capped at RX_COPY_THRESHOLD, and that length comes from the backend. Nothing checks it against ETH_HLEN. If the first slot is shorter than ETH_HLEN and more slots follow, the head ends up shorter than an Ethernet header while skb->len is longer, and eth_type_trans() BUG()s in __skb_pull(). If the whole packet is shorter than ETH_HLEN, eth_type_trans() reads the header past the end of the data instead. Pull at least ETH_HLEN, and drop the packet if that fails, which also drops packets too short to hold an Ethernet header. This also checks the return value of the pull, which was ignored.
CVE-2026-98374
2026년 10월 7일Linux 커널에서 다음 취약점이 해결되었다: tcp: tcp_send_synack()에서 retransmit_skb_hint의 해제 후 사용(use-after-free) 수정 tcp_send_synack()가 재전송 큐의 맨 앞에 있는 복제된 SYN skb를 복사본으로 교체할 때, 원본을 tcp_rtx_queue_unlink_and_free()로 해제하고 tp->highest_sack만 복구한다. 그러나 tp->retransmit_skb_hint는 해제된 skbuff_fclone_cache 객체를 계속 가리킨다. 이 dangling 힌트는 tcp_verify_retransmit_hint()에서 읽히며 tcp_xmit_retransmit_queue()에서 rbtree 탐색의 시작점으로 사용된다. 권한 없는 TFO 클라이언트(sendmsg(MSG_FASTOPEN))가 공격자가 제공한 ICMP 단편화 필요 메시지로 힌트를 조작할 수 있으며, 이후 동시 열기(simultaneous open)가 조작된 SYN skb를 해제한다: BUG: KASAN: slab-use-after-free in tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316) Read of size 4 at addr ffff88800604d928 by task swapper/1/0 Call Trace: tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316) tcp_simple_retransmit (net/ipv4/tcp_input.c:3158) tcp_v4_err (net/ipv4/tcp_ipv4.c:587) 힌트를 복사본과 동기화한다.
CVE-2026-98373
2026년 10월 7일In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: preserve mremap address delta when skipping page tables move_hugetlb_page_tables() optimizes mremap() by advancing to the last entry in the page table when the source page table does not exist, either initially or after unsharing a PMD table. The common loop increment then steps to the first entry in the next page table. However, the code advances both the source and destination addresses to the last entries in their respective page tables, which is wrong. The destination address must be advanced only by the same amount as the source address. If the source and destination offsets within their page tables differ, the destination address can be advanced too far, causing follow-up issues. Fix this by advancing the destination address by the source advance distance. With a reproducer, we were able to trigger a kernel panic on x86-64. With this fix in place, we can no longer reproduce the issue.
CVE-2026-98372
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: fix stack OOB read in iptfs_skb_reset_frag_walk() iptfs_skb_reset_frag_walk() advances to the fragment containing @offset with an unbounded loop: while (offset >= walk->past + walk->frags[walk->fragi].len) walk->past += walk->frags[walk->fragi++].len; walk->fragi is advanced and walk->frags[walk->fragi] is dereferenced without ever checking fragi against walk->nr_frags. When the requested offset is at or beyond the total length spanned by the walk's fragments, fragi runs past nr_frags and off the end of the fixed-size on-stack frags[MAX_SKB_FRAGS + 1] array, reading out-of-bounds stack memory. The two callers behave differently: iptfs_skb_add_frags() already guards against this with if (!walk->nr_frags || offset >= walk->total + walk->initial_offset) return len; but iptfs_skb_can_add_frags() has no such guard and calls iptfs_skb_reset_frag_walk() unconditionally, so it performs the out-of-range walk. Its own "fragi < walk->nr_frags" bound check runs only afterwards, too late to prevent the read. This is reachable from the receive path: a crafted IP-TFS (AGGFRAG) payload delivered to an IPTFS SA drives iptfs_reassem_cont() -> iptfs_skb_can_add_frags() with an offset past the fragment total, e.g.: BUG: KASAN: stack-out-of-bounds in iptfs_skb_reset_frag_walk+0x235/0x250 Read of size 4 at addr ffff888008ad7210 by task repro/345 iptfs_skb_reset_frag_walk+0x235/0x250 net/xfrm/xfrm_iptfs.c:392 iptfs_skb_can_add_frags+0x155/0x310 net/xfrm/xfrm_iptfs.c:420 iptfs_reassem_cont+0xcf8/0x1140 net/xfrm/xfrm_iptfs.c:902 iptfs_input_ordered+0x552/0x670 net/xfrm/xfrm_iptfs.c:1280 iptfs_input+0x3d6/0xde0 net/xfrm/xfrm_iptfs.c:1741 xfrm_input+0x282f/0x6140 net/xfrm/xfrm_input.c:700 xfrm4_esp_rcv+0x93/0x120 net/ipv4/xfrm4_protocol.c:104 ip_rcv+0x278/0x2d0 net/ipv4/ip_input.c:612 Give iptfs_skb_can_add_frags() the same up-front guard that iptfs_skb_add_frags() already has, so the walk is never entered with an out-of-range offset. When it triggers, the caller falls back to the existing linearize-and-copy path, which is safe.
CVE-2026-98371
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: fix runt reassembly panic from short inner tot_len When the start of an inner packet is split across two outer packets such that fewer than 4 bytes land at the end of the first one, __input_process_payload() saves those bytes as a runt and skips the iplen/iphlen validation performed for in-place packets. When the continuation packet arrives, iptfs_reassem_cont() only requires the declared inner length to be >= sizeof(ra_runt) (6) before allocating the reassembly skb with that attacker-controlled length. However, __iptfs_iphlen() always returns the fixed minimum IP header size (20 for IPv4, 40 for IPv6), so for an inner IPv4 tot_len in [6, 19] the header-completion copy writes past the declared packet length, and the subsequent "ipremain -= copylen" underflows to ~4GB, leaving the payload copy length bounded only by blkoff (up to 64KB). At runtime the skb_put() tailroom check turns this into skb_over_panic(), i.e. an unprivileged kernel panic (DoS), reachable locally via userns+netns IPTFS SAs and remotely against IPTFS VPN gateways when the decrypted outer skb is linear (e.g. AF_PACKET taps, tun/tap delivery). Align the runt path with the normal path by requiring the declared inner length to cover at least the IP header size. This also subsumes the previous >= sizeof(ra_runt) check, since the minimum IP header is always larger than the runt buffer. This issue was found by the autokbug dynamic kernel fuzzer at Tencent Yunding Lab.
CVE-2026-98370
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: xfrm: fix compat ALLOCSPI request use-after-free xfrm_state_netlink() builds the ALLOCSPI response with dump_one_state(), which already calls alloc_compat() with the response skb and header. xfrm_alloc_userspi() then calls alloc_compat() again, but passes the original request skb and its header. For a compat request, the translator therefore interprets the 228-byte compat xfrm_userspi_info as the 232-byte native layout and reads four bytes past the declared payload. It also publishes the translated child through the request's frag_list. A multicast clone of the request shares skb_shared_info and can observe that child. xfrm_user_rcv_msg() frees it after the request handler returns, racing a compat receiver which may still be copying from it and resulting in a use-after-free. Remove the redundant conversion. The response keeps its correct compat translation from dump_one_state(), and no child is attached to the inbound request.
CVE-2026-98369
2026년 10월 6일Linux 커널에서 다음 취약점이 해결되었다: xfrm: xfrm_trans_reinject()에 누락된 rcu_read_lock(), skb_dst_force() 및 dev_hold() 추가 syzbot이 ip6_pkt_drop()에서 의심스러운 RCU 사용 경고를 보고하였다: WARNING: ip6_pkt_drop에서 의심스러운 RCU 사용 include/net/addrconf.h:389 의심스러운 rcu_dereference_check() 사용! 호출 추적: __in6_dev_get_safely include/net/addrconf.h:389 [인라인] ip6_pkt_drop+0x596/0x610 net/ipv6/route.c:4620 ip6_pkt_discard+0x1c/0x30 net/ipv6/route.c:4651 xfrm_trans_reinject+0x324/0x630 net/xfrm/xfrm_input.c:806 process_one_work kernel/workqueue.c:3322 [인라인] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 커밋 4f4920669d21("xfrm: 작업 큐를 통해 전송 모드 패킷 재주입")가 xfrm_trans_reinject를 태스크렛에서 작업 큐로 변환하면서, 재주입 루프가 소프트 IRQ 컨텍스트에서 실행되지 않게 되었다. 작업 큐 워커는 프로세스 컨텍스트에서 실행되며, CONFIG_PREEMPT_RCU 하에서 local_bh_disable()가 RCU 읽기 측 임계 구역에 진입하지 않는다. 완료 콜백(ip6_rcv_finish 등)은 RCU 읽기 잠금 하에서 실행되기를 기대하는데(경로 조회, l3mdev 조회 및 RCU 보호 데이터 구조 접근 수행), 작업 큐 컨텍스트에서 rcu_read_lock() 없이 호출하면 RCU lockdep 경고가 발생한다. 또한, xfrm_trans_queue_net()을 통해 작업 큐에 대기된 패킷은 참조 카운트가 없는(noref) dst 항목(예: ip_route_input_noref에서 유래)을 포함할 수 있다. 추가로, 네트디바이스 등록 해제 시 dst_dev_put()이 dst->dev를 blackhole_netdev로 교체하므로, dst 항목은 작업 큐에 대기 중일 때 skb->dev를 유지하지 않는다. 다음과 같이 문제를 수정하였다: 1. 호출자의 RCU 섹션 내에서 xfrm_trans_queue_net()에서 skb_dst_force(skb)를 호출하여 대기 전에 dst가 참조 카운트되도록 함. 2. 작업 큐 지연 기간 동안 skb->dev에 대해 dev_hold()/dev_put()로 참조를 유지하여 finish() 콜백 처리 중 skb->dev가 유효하도록 함. 3. xfrm_trans_reinject()에서 완료 콜백 호출 루프 주위에 rcu_read_lock()을 획득함.