총 16,344건
CVE-2026-98248
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: arm64: percpu: Fix LSE operations on {8,16}-bit types The assembly for __percpu_##name##_case_##sz() and __percpu_##name##_return_case_##sz() doesn't use the 'sfx' macro argument to form the LSE instruction. Without 'sfx', a W register argument will imply a 32-bit memory location, and consequently {8,16}-bit ops will erroneously read and write 32 bits of memory when the LSE instruction is used. Fix this by appending 'sfx' to 'op_lse' to LSE instruction. It is not necessary (and not valid) to append 'sfx' to 'op_llsc', as 'op_llsc' is a register-register operation which does not access memory (and does not take a size suffix).
CVE-2026-98247
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_codec: validate vendor codec count length The Read Local Supported Codecs parsers consume the variable-sized standard codec array before parsing the vendor codec count. Although the initial reply-size check includes a vendor count byte in the fixed layout, it does not guarantee that the byte remains after the standard codec array. If a controller reply ends immediately after that array, calculating the vendor codec array size reads vnd_codecs->num beyond the skb data. Use skb_pull_data() to validate and consume each codec header before using its count in both command variants.
CVE-2026-98246
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Serialize local codec list cleanup hci_dev_close_sync() clears hdev->local_codecs after releasing hdev->lock. Codec list additions and both traversals in sco_sock_getsockopt() use that lock, but the close path does not. A close and BT_CODEC query can therefore interleave as follows: hci_dev_close_sync() sco_sock_getsockopt() hci_dev_lock() fetch codec entry hci_codec_list_clear() kfree(entry) read entry->id The reader then accesses an entry which the close path has freed. KASAN BUG: KASAN: slab-use-after-free in sco_sock_getsockopt+0xfa0/0xfe0 Read of size 1 at addr ffff8881001c3450 Call Trace: sco_sock_getsockopt+0xfa0/0xfe0 do_sock_getsockopt+0x537/0x7b0 __sys_getsockopt+0xf2/0x170 Allocated by task 92: hci_codec_list_add.isra.0+0x2c/0x440 hci_read_codec_capabilities+0x224/0x590 hci_read_supported_codecs+0x2c2/0x640 Freed by task 92: kfree+0x131/0x3c0 hci_codec_list_clear+0xd8/0x160 hci_dev_close_sync+0x92a/0xfa0 Take hdev->lock around the clear operation at its existing point in the close path. This makes the clear wait for active readers and prevents a new traversal until the list is empty without changing teardown ordering.
CVE-2026-98245
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() mark_block_group_to_copy() iterates over the commit root with skip_locking=true. A concurrent transaction commit can swap and free the commit root during iteration, causing use-after-free when accessing extent buffers. Fix it by using path->need_commit_sem to protect the commit root search.
CVE-2026-98244
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: btrfs: clear free space tree creation state on rebuild failure btrfs_rebuild_free_space_tree() sets BTRFS_FS_CREATING_FREE_SPACE_TREE before rebuilding the free space tree. Several error paths return without clearing this flag. The transaction restart failure path can leave the flag set on a live filesystem, causing delayed reference processing to be skipped. Clear it on all free space tree rebuild failure paths. Keep BTRFS_FS_FREE_SPACE_TREE_UNTRUSTED set, since a failed rebuild leaves the free space tree untrusted. Callers must fall back to extent-tree caching.
CVE-2026-98243
2026년 10월 6일Linux 커널에서 다음 취약점이 해결되었다: dma-buf/dma-fence: 타임라인 및 드라이버 이름 v3에 대한 신호 비트 검사 수정 패치 "dma-buf: dma-fence: 잠재적 NULL 포인터 역참조 수정"은 ops 포인터가 해제되었을 때 발생할 수 있는 NULL 역참조를 방지하기 위해 신호 비트 대신 ops 포인터를 검사하도록 변경되었다. 문제는 ops 포인터가 release 콜백과 wait 콜백이 모두 구현되지 않은 경우에만 해제되는데, 많은 dma_fence 구현체에서는 아직 그렇지 않다는 점이다. 따라서 이러한 구현체들은 반환된 문자열의 신호 후 RCU 보호를 잃어 잠재적인 해제 후 사용(use after free)이 발생한다. NULL 역참조 방지와 반환된 문자열의 신호 후 RCU 보호를 모두 확보하기 위해 ops 포인터 검사에 신호 비트 검사를 추가하였다. v2: RCU 보호를 명시하고 신호 상태와 ops 포인터를 모두 검사하는 이유에 대한 주석 개선 v3: Philip이 제안한 일부 주석 개선 반영
CVE-2026-98242
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: dma-buf: Fix silent overflow for phys vec to sgt In case MMIO size is bigger than 4G and peer2peer DMA goes through host bridge, we trigger a code path that assigns the total linked IOVA (which is greater than 4G) to mapped_len. Previously, `mapped_len` was declared as 32-bit `unsigned int`. When accumulating `size_t` lengths, this leads to a silent wrap-around. This truncation causes truncated lengths to be passed to functions like `fill_sg_entry()`. Fix this by changing `mapped_len` to `size_t` (64-bit). While at it, fix similar potential overflow issues in `calc_sg_nents` by using `check_add_overflow()` for `nents` and using `unsigned int` for the loop iterator in `fill_sg_entry` to match.
CVE-2026-98241
2026년 10월 6일리눅스 커널에서 다음 취약점이 해결되었다: ipv6: xfrm: 로컬 오류 경로에서 전체 소켓 사용 xfrm6_local_rxpmtu()와 xfrm6_local_error()는 skb->sk를 항상 전체 IPv6 소켓을 가리키는 것처럼 역참조한다. 이는 보장되지 않는다. TCP SYN-ACK skb는 TCP_NEW_SYN_RECV request_sock가 소유할 수 있으며 출력 경로 자체는 전체 리스너에 의해 구동된다. 만약 재경로 지정이 더 낮은 MTU를 가진 IPv6 XFRM 터널 경로를 선택하면, 로컬 PMTU/오류 처리 경로가 이 콜백들을 호출할 때 해당 미니 소켓이 skb에 여전히 연결되어 있을 수 있다. 콜백들은 request socket을 전체 inet/IPv6 소켓으로 잘못 해석하여 inet_sock 또는 ipv6_pinfo 상태에 접근할 때 request_sock 할당 범위를 벗어나 읽을 수 있다. 두 콜백 모두에서 skb_to_full_sk()로 소유자를 확인하고 전체 소켓이 연결되어 있지 않으면 종료하도록 수정하였다. 이는 이미 skb_to_full_sk()로 전체 소켓을 처리하는 주변 XFRM IPv6 PMTU/오류 로직과 일치한다.
CVE-2026-98240
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net: ip_tunnel: initialize `options_len` before referencing options The following command triggers a kernel panic: ip link add d0 type dummy; ip link set d0 up ip route add 10.30.0.0/16 \ encap ip id 300 geneve_opts 4660:66:11223344 dev d0 memcpy: detected buffer overflow: 4 byte write of buffer size 0 kernel BUG at lib/string_helpers.c:1044! ... ip_tun_parse_opts.part.0.cold+0x10/0x10 ip_tun_build_state+0x116/0x2a0 On kernels built with GCC 15+ and `CONFIG_FORTIFY_SOURCE`, the fortified `memcpy()` got 0 sized destination with request of 4 bytes length: static int ip_tun_parse_opts_geneve(...) { ... attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA]; data_len = nla_len(attr); /* == 4 */ struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len; memcpy(opt->opt_data, nla_data(attr), data_len); /* ^^^^^^^^^^^^^ 0 since options_len is assigned afterwards */ Fixed by initializing the counter before the options are referenced. Matching what `tunnel_key_opts_set()` already does.
CVE-2026-98239
2026년 10월 6일Linux 커널에서 다음 취약점이 해결되었다: net: lan743x: RX 체크섬 해제 후 사용(use-after-free) 수정 lan743x_rx_process_buffer()는 첫 번째가 아닌 각 수신 버퍼를 헤드 skb의 frag_list에 추가한다. 마지막 디스크립터에서 lan743x_rx_trim_skb()는 헤드를 선형화하고 조각 skb 메타데이터를 해제한다. 체크섬 성공 경로는 여전히 마지막 조각을 가리키는 로컬 skb 포인터를 통해 ip_summed를 쓴다. 이는 패킷이 둘 이상의 수신 버퍼에 걸칠 때 해제 후 사용 쓰기를 발생시킨다. 대신 살아남은 헤드 skb에 ip_summed를 설정한다. 다중 버퍼 수신은 기존 링 항목이 보충될 때까지 이전 버퍼 크기를 유지하기 때문에 라이브 MTU 증가 후 발생할 수 있다. 두 개 버퍼 패킷으로 lan743x_rx_process_buffer()를 호출하는 KUnit 테스트는 이 변경 전에는 1바이트 KASAN 해제 후 사용 쓰기를 발생시켰다. 변경 후 동일한 테스트는 통과했다. 드라이버 객체는 W=1로도 빌드된다. 이 변경은 실제 LAN743x 하드웨어에서는 테스트되지 않았다.
CVE-2026-98238
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb() The netif index carried in the DPMAIF PIT header is five bits wide, but ccmni_inst[] only has room for NIC_DEV_MAX (21) entries. t7xx_ccmni_recv_skb() indexes the array without a bounds check, so indexes 21 to 31 read past it. The out-of-bounds value lands in the callback table that follows the array, which is never NULL, so the existing !ccmni check does not catch it and the driver dereferences whatever sits there as a struct t7xx_ccmni. Drop the skb when the index is out of range. Verified in a QEMU guest with a fault injector setting the netif index to 25: the unpatched driver reads a value past ccmni_inst[], which lands in the callback table, and dereferences it far enough to queue the skb. With this check the packet is dropped. Well-formed traffic on index 0 is unaffected. Changes in v2: none.
CVE-2026-98237
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net: wwan: mhi_wwan_mbim: guard against a cyclic NDP chain The NDP traversal in mhi_mbim_rx() only stops when wNextNdpIndex is zero. Nothing requires the offsets to advance, so a modem that points an NDP at itself, or at an earlier NDP, keeps the loop spinning forever on one CPU. Break out when the next NDP offset is not larger than the current one. Verified in a QEMU guest with a fault injector feeding the driver's receive callback an NTB whose single NDP points at itself: the unpatched driver spins in mhi_mbim_rx() with one CPU pinned at 100% and the thread never returns. With this check the loop terminates within one iteration. Changes in v2: move the non-increasing check to the wNextNdpIndex retrieval site, as suggested by Loic Poulain, instead of tracking the previous offset in a separate variable.
CVE-2026-98236
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net: wwan: mhi_wwan_mbim: check skb_copy_bits() return value mhi_mbim_rx() ignores the return value of skb_copy_bits() when it copies each datagram out of the NTB. The datagram offset and length come from the DPE, which is only checked to lie within the NTB itself, so a modem can point a datagram outside the received skb. The copy then fails and the freshly allocated skbn is passed to netif_rx() with its uninitialized contents still in place, leaking kernel heap memory into the network stack. Free the skb and account an error when the copy fails. Verified in a QEMU guest with a fault injector pointing a DPE outside the received NTB: the copy fails, and the unpatched driver hands the uninitialized skbn to the network stack (observed as "unknown protocol" on bytes that were never written). With this check the failed datagram is dropped and counted as an rx error. Changes in v2: factor the free-and-count sequence out into mhi_mbim_rx_drop(), shared with the unknown-protocol path, as suggested by Loic Poulain.
CVE-2026-98235
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: release tail references on DELACTION failure A batched RTM_DELACTION request takes a temporary reference on each action before attempting any deletion. tcf_action_delete() clears each processed slot and drops its temporary reference before attempting the deletion. If deletion fails, tca_action_gd() calls tcf_action_put_many() to release the remaining references, but its tcf_act_for_each_action() iterator stops at the first NULL slot. When a batch stops at an action bound to a filter, this leaks a reference on each subsequent action. A later delete of an unbound action can then return success without removing it from the IDR. Walk the full array in tcf_action_put_many() and skip NULL slots to release the references held on the unprocessed actions.
CVE-2026-98234
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net/sched: hhf: cap hh_flows_limit at change time hhf_change() stores TCA_HHF_HH_FLOWS_LIMIT with no upper bound. A huge hh_flows_limit lets each new heavy-hitter flow pass the hh_flows_current_cnt check in alloc_new_hh() and forces a fixed-size kzalloc(GFP_ATOMIC) per flow under spoofed traffic, for unbounded memory growth. Bound the attribute with NLA_POLICY_MAX() at 2*HH_FLOWS_CNT (the hhf_init() default) and report the rejected value via extack. The deprecated nested parse is kept: legacy tc does not set NLA_F_NESTED on TCA_OPTIONS. Configs relying on hh_limit above the default were relying on unbounded, unsafe behaviour and are not supported going forward. hhf_init() also ran hhf_change() before setting the default hh_flows_limit, so a user-supplied hh_limit at add time was clobbered back to 2048. Set the default before hhf_change() so the configured value sticks. This is a follow-up to commit eb56a495f59b ("net/sched: hhf: clamp quantum in change and init paths"), which bounded the quantum of the same qdisc; the hh_flows_limit bound is the remaining unbounded knob of that series' scope. Conditions to recreate the bug: CAP_NET_ADMIN in a user namespace; tc qdisc change dev X root hhf hh_limit 4294967295 succeeds and the value is echoed by tc qdisc show, unbounding heavy-hitter flow allocations; also tc qdisc add dev X root hhf hh_limit 500 stores 2048 instead of 500.
CVE-2026-98233
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: net/packet: clear RX owner on VNET header error Commit 61fad6816fc1 ("net/packet: tpacket_rcv: avoid a producer race condition") added rx_owner_map and made tpacket_rcv() claim a V1 or V2 ring slot before converting the virtio-net header. If the conversion fails, the drop path leaves the slot claimed. With a one-frame TPACKET_V2 ring, an unsupported UDP GSO packet leaves the only slot unavailable, so the ring also drops the next valid packet. Clear the ownership bit on this error path. TPACKET_V3 already clears its block state here.
CVE-2026-98232
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable() scsi_cdl_enable() uses length fields returned by MODE SENSE to locate the ATA feature mode page in a 64-byte stack buffer. A target can report a total length shorter than its mode header and block descriptors. The unsigned subtraction used for the MODE SELECT length can wrap, and the separately computed buf_data can point beyond buf. During automatic scan, enable is false, so the read-modify-write of buf_data[4] can clear the low two bits of a target-selected out-of-bounds stack byte. scsi_mode_select() can then copy up to 64 bytes from outside the buffer into the outgoing MODE SELECT payload, disclosing stack contents to the target. This is reachable while scanning a USB storage device that identifies as an ATA device and advertises CDL support. No filesystem mount or userspace access to the block device is required. On upstream commit cee9395acd80 ("Linux 7.3-rc1"), a build-specific, one-vCPU QEMU/Raw Gadget proof using QEMU-only multi-UDC allocator sampling executed a fixed proof command inside the guest and created a UID-0-owned marker during automatic enumeration, with KASLR and NX enabled. The issue was independently found during security research at Drivesec S.r.l. Cap the available length to the buffer size. Validate and consume the mode header and block descriptor lengths before using the page, and require the five bytes needed to access the CDL field.
CVE-2026-98231
2026년 10월 6일In the Linux kernel, the following vulnerability has been resolved: xfrm: serialize state GC with device state flush The deferred-device pass in xfrm_dev_state_flush() finds states under xfrm_state_dev_gc_lock, but drops the lock before calling xfrm_dev_state_free() because the driver callback may sleep. The device GC list does not hold an xfrm_state reference, so the state GC worker can destroy the same state concurrently. The race can proceed as follows: CPU 0 CPU 1 find x on the device GC list drop xfrm_state_dev_gc_lock read x->xso.dev xfrm_state_gc_destroy(x) xfrm_dev_state_free(x) xfrm_state_free(x) continue xfrm_dev_state_free(x) Both paths can invoke the driver callback and drop the device reference. CPU 0 can also access the xfrm_state after CPU 1 has freed it. KASAN reported: BUG: KASAN: slab-use-after-free in xfrm_dev_state_free+0x24c/0x2a0 Read of size 8 at addr ffff88810bbaa960 by task poc/102 Call Trace: xfrm_dev_state_free+0x24c/0x2a0 xfrm_dev_state_flush+0x353/0x400 xfrm_dev_event+0x26d/0x3a0 notifier_call_chain+0xc0/0x280 __dev_notify_flags+0x169/0x250 netif_change_flags+0xe7/0x160 dev_change_flags+0x96/0x220 devinet_ioctl+0x7f4/0x1880 Allocated by task 87: xfrm_state_alloc+0x1e/0x5c0 xfrm_add_sa+0xe7f/0x5820 xfrm_user_rcv_msg+0x4f3/0x940 Freed by task 57: kmem_cache_free+0xcb/0x3d0 xfrm_state_gc_task+0x4a8/0x650 process_one_work+0x63a/0x1070 Serialize xfrm_state destruction against the deferred-device pass with a mutex. Keep xfrm_state_dev_gc_lock limited to list operations and retain the existing callback and device-reference release ordering.
CVE-2026-98230
2026년 10월 6일Linux 커널에서 다음 취약점이 해결되었다: xfrm: state_cache 및 state_cache_input에 대해 hlist_del_init_rcu 사용 커밋 14acf9652e56("xfrm: __xfrm_state_delete에서 xfrm_state 리스트를 방어적으로 언해시")는 bydst/bysrc/byseq/byspi를 hlist_del_rcu()에서 hlist_del_init_rcu()로 변환하여 동일 객체에 대한 두 번째 __xfrm_state_delete() 호출이 LIST_POISON pprev를 통한 쓰기 대신 무작동(no-op)이 되도록 했다. 그러나 state_cache와 state_cache_input은 hlist_del_rcu()를 유지했다: - hlist_del_rcu()는 pprev = LIST_POISON2(널이 아님)로 남겨두어 hlist_unhashed()가 false를 반환한다. - hlist_del_init_rcu()는 pprev = NULL로 남겨두어 hlist_unhashed()가 true를 반환한다. 따라서 두 번째 __xfrm_state_delete()는 이미 삭제된 state_cache/state_cache_input 노드에서 __hlist_del()에 진입하여 LIST_POISON2를 통한 WRITE_ONCE(*pprev, next)를 수행하는데, 이는 슬랩이 재사용될 때 쓰기 해제 후 사용(write use-after-free)이다. 이 손상은 이후 hlist_for_each_entry_rcu 순회가 dangling next 포인터를 따라가게 하여 xfrm_input_state_lookup()에서 보고된 읽기 해제 후 사용(read use-after-free)을 발생시킬 수 있다. state_cache와 state_cache_input을 hlist_del_init_rcu()로 전환하여 다른 네 리스트와 일치시키고, 이로써 쓰기 해제 후 사용과 그로 인해 발생하는 읽기 해제 후 사용을 차단한다.
CVE-2026-98229
2026년 10월 6일리눅스 커널에서 다음 취약점이 해결되었다: xfrm: secpath가 재설정되기 전에 입력 상태 데이터를 저장함 xfrm_input()은 수신 측 처리를 계속하는 동안 현재 xfrm_state를 skb secpath에 저장한다. 일부 입력 경로는 xfrm_input()이 상태의 역참조를 완료하기 전에 해당 secpath를 재설정할 수 있다. VTI 및 XFRM 인터페이스와 같은 수신 콜백 사용자는 secpath를 재설정할 수 있다. VTI 수신 경로는 패킷이 네트워크 네임스페이스를 넘는지 확인하기 전에 secpath를 재설정하며, XFRM 인터페이스 경로는 네트워크 네임스페이스를 넘는 패킷에 대해서만 그렇게 한다. XFRM_MAX_DEPTH 오류 경로도 최종 드롭 콜백이 현재 상태의 프로토콜을 보고하기 전에 secpath를 재설정할 수 있다. secpath_reset()가 상태가 동시에 삭제되는 동안 마지막 상태 참조를 해제하면, xfrm_input()은 transport_finish()를 선택하거나 드롭 콜백 프로토콜을 보고할 때 해제된 상태를 여전히 역참조할 수 있다. 상태가 여전히 유효할 때 상태 프로토콜을 스택에 저장하고, transport_finish()에는 이미 저장된 주소 패밀리를 사용한다. 초기 XFRM_STATE_ACQ 상태는 타입이 없으므로 nexthdr를 프로토콜로 유지한다. 이는 모든 수신 패킷에 추가 상태 참조를 추가하지 않고도 기존 드롭 경로 폴백을 유지하면서 재설정 후 상태 역참조를 방지한다.