총 15,720건
CVE-2026-139297
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let an extension reach further into the context than its target How large the context of a raw tracepoint, tracepoint or syscall program is depends on what the program is attached to, or is run with. bpf_probe_register(), perf_event_set_bpf_prog() and the test runs compare that with max_ctx_offset of the program. An extension of the program, or of one of its global functions, gets the same context. How far it reaches is noted in its own max_ctx_offset, which nobody looks at. On a tracepoint with one argument it reads the stack behind the arguments, in a test run the memory behind the context, or from NULL if there is none: BUG: KASAN: stack-out-of-bounds in bpf_prog_954b5d2051843629_ts28_ext_far+0x7e/0x113 Read of size 8 at addr ffffc90000def7b8 by task ts28/104 BUG: KASAN: slab-out-of-bounds in bpf_prog_954b5d2051843629_ts28_ext_far+0x7e/0x113 Read of size 8 at addr ffff88810712c3e8 by task ts28/104 Refuse to attach an extension that reaches further than the program which it extends. A program that leaves the context to its extensions has to touch as much of it as they do.
CVE-2026-139296
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Keep values of a dead owner for sleepable programs bpf_local_storage_destroy() frees the elements of an owner behind a plain RCU grace period, on the ground that no program can refer to an owner that goes away. But the pointer that bpf_task_storage_get() and its like return stays valid for the verifier after the program has released the owner, or has left the bpf_rcu_read_lock() section it had the owner from. A sleepable program is in no RCU read side critical section, so it can write to the value after the owner has died and the element was freed: BUG: KASAN: slab-use-after-free in _copy_from_user+0x42/0xa0 Write of size 8 at addr ffff8880074404a8 by task lsuaf/55 Free the element behind an RCU Tasks Trace grace period if sleepable code may use the map. A program that a map is bound to was loaded, and counted in map->sleepable_refcnt, before it got a value from the live owner, and stays counted until a grace period behind its last run. A program can also get at a storage map by a lookup in an outer map. Then only the outer map is counted, its programs can come after the inner map was put into it, and can hold on to the inner map after it was taken out. So note in a map that it has been an inner map, and treat it like one with sleepable users from then on. The same goes for what the special fields of the value hold. The page of a uptr has to stay pinned, and a kptr which the program stores after the owner has died has to be released. Leave the fields, and the smap that it takes to free them, to bpf_selem_free_trace_rcu(), as bpf_selem_unlink() does. bpf_local_storage_map_free() waits for that callback, and leaves smap alone if it comes across such an element. Elements of such maps now wait for sleepable programs that are running when their owner dies. Other maps are freed as before.
CVE-2026-139295
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Keep the symbols of a program until it has ended When the last reference to a program goes, __bpf_prog_put_noref() takes its symbols out of the kallsyms tree and frees its line info at once, and waits for the grace periods only with the rest. But the program may still be running: the link or the array it was called from is gone, the call is not over. search_bpf_extables() finds the exception table of a program by its symbol. A load that faults, and that the table is there to fix up, is fatal from then on: Oops: general protection fault, probably for non-canonical address 0xdead0000000006f8: 0000 [#1] SMP NOPTI RIP: 0010:0xffffffffc06008f6 It takes a program that is detached and closed on one CPU while it runs on another. Unwinders and bpf_prog_find_from_stack() do not know the program any more either, and the stack dump of a BPF stream reads the freed line info. Free the line info behind the grace periods the program needs, as it is done with the BTF that its text comes from. Remove the symbols in bpf_prog_free_deferred(), which runs behind them as well. The symbols are looked up under rcu_read_lock(), so the images and the program itself are freed one more grace period later. All that the program refers to is released when it was before.
CVE-2026-139294
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Use the socket of a sk_lookup test run under RCU bpf_sk_lookup_assign() accepts only sockets which are freed by RCU, and takes no reference. bpf_prog_test_run_sk_lookup() looks at sk_reuseport of the selected socket and generates its cookie, which is a write, behind bpf_test_timer_leave(), that is outside of the RCU read side critical section in which the program ran. If the socket is closed in the meantime it may be gone. Do both before the section ends.
CVE-2026-139293
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: bpf, cpumap: 대기열의 프레임의 디바이스를 보유한다 다른 CPU로 리다이렉트된 프레임은 cpumap 엔트리의 큐에서 plain 포인터로부터의 디바이스를 기다리고 있으며, generic XDP의 skb->dev에서 오는 skb가 있다. 그 디바이스를 아무 것도 보유하지 않는다. 닫히고 등록 해제되면 NAPI 및 RCU를 기다리지만, 엔트리의 kthread는 기다리지 않는다. 만약 kthread가 그보다 늦게 도착하면, 해당 CPU가 더 높은 우선순위를 가진 무언가로 바빠서, 이미 해제된 디바이스에 대해 skb를 만들어 스택에 전달한다: BUG: KASAN: use-after-free in dev_gro_receive+0x1f51/0x2b30 Read of size 8 at addr ffff88800a7340b0 by task cpumap/1/map:1/54 큐의 각 엔트리에 대해 디바이스에 대한 참조를 유지한다. kthread는 배치의 끝에서 그것을 제거할 수 없으며, GRO 노드가 skb를 더 오래 유지할 수 있기 때문이다. 큐가 비게 되면 GRO를 완전히 flush하는 시점에 디바이스를 기록하고 이후에도 약 2048개 정도를 기록한 경우에 한해 참조를 제거한다. 큐에 프레임이 걸려 있는 디바이스는 이제 kthread가 그들에 도달할 때만 등록 해제된다. 그 사이에 RTNL은 보류되지 않지만, 디바이스가 네트워크 네임스페이스와 함께 사라지면 모든 네임스페이스의 정리가 대기한다.
CVE-2026-139292
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Let bpf_dynptr_write() mark a global function The caller of a global function loses its packet pointers if the function may change packet data. That is found out by a scan for calls of the helpers which bpf_helper_changes_pkt_data() lists. bpf_dynptr_write() is not on the list, because it depends on the type of the dynptr: check_helper_call() looks at it. The scan cannot do that, and so a global function which makes a dynptr from the skb, or gets one as an argument, and writes through it counts as harmless. The write can reallocate the head of the skb, and the caller goes on with pointers into the old one, which has been freed. Let every call of bpf_dynptr_write() mark the function, as a tail call does. The same mark decides whether a program may replace a function.
CVE-2026-139291
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Don't take a dynptr argument for a local dynptr A global function is verified on its own. A dynptr which it gets as an argument is assumed to be of type BPF_DYNPTR_TYPE_LOCAL, but the callers may pass one of any type, that of an skb for example. The type decides whether a write through the dynptr invalidates packet pointers, and whether a slice of it is invalidated together with them. Inside of the function neither happens. It can take a packet pointer from its context argument, or a slice from the dynptr, write through the dynptr and go on using the pointer, although the write may have reallocated the head of the skb. Assume the type of an skb dynptr instead. Nothing becomes forbidden for the dynptr itself, and a clone inherits the caution. The dynptr which the callback of bpf_user_ringbuf_drain() gets is known to be local, and stays so.
CVE-2026-139290
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Follow the head if an skb is written from a slice The source of bpf_dynptr_write() may be a slice of the skb which is written to, that is a pointer into its head. bpf_dynptr_copy() does it by itself for a copy inside of one skb, if the source is linear and the destination is not. __bpf_skb_store_bytes() and __bpf_skb_meta_store_bytes() make the skb writable first. If that reallocates the head, the source points to the old one, and freed memory is copied into the packet. The offsets in the head do not change when it is reallocated here. Move the source along with the head.
CVE-2026-139289
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Free unpublished port statistics after initial-read failure An initial port counter read can fail after allocating its statistics buffer and wrapper. Free these both allocations.
CVE-2026-139288
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: RDMA/rxe: rxe_rcv()에서 조기 탈출로 종료되기 전에 pkt->qp를 클리어 rxe_rcv()는 drop 레이블에서 pkt->qp를 해제하려고 시도하지만, 조기 goto 경로 두 곳에서 pkt->qp가 초기화되지 않은 상태로 남아 있습니다: if (unlikely(skb->len < RXE_BTH_BYTES)) goto drop; if (rxe_chk_dgid(rxe, skb) < 0) goto drop; pkt->opcode = bth_opcode(pkt); pkt->psn = bth_psn(pkt); pkt->qp = NULL; <- 위의 goto들보다 나중에 설정됩니다 ... drop: if (pkt->qp) rxe_put(pkt->qp); pkt는 skb->cb 내부를 가리키며, 이 시점에서 rxe은 이를 소유하지 않습니다. 네트워크 스택이 해당 공간을 자체 상태에 사용하기 때문입니다. IPv6의 경우, ip6_rcv_core()가 inet6_skb_parm을 memset하고 난 뒤 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); 를 오프셋 14에 기록하므로 cb + 8에 해당하는(pkt->qp가 저장되는 위치)이 모든 IPv6 패킷에 대해 0x0006000000000000으로 읽히게 됩니다. 포트 4791로 보내지는 페이로드가 BTH보다 짧은 모든 IPv6 다그램은 첫 번째 goto를 타고 drop 레이블에 도달하므로, rxe_put()가 0x0006000000000150에서 refcount_dec_and_test()를 실행하고 커널이 비정상 주소에서 패닉합니다: 일반 보호 오류, 아마도 비표준 주소 0x0006000000000150: 0000 [#1] PREEMPT SMP RIP: 0010:__rxe_put+0x.../... Call Trace: <IRQ> rxe_rcv+0x.../... [rdma_rxe] rxe_udp_encap_recv+0x.../... [rdma_rxe] udp_queue_rcv_one_skb ... Kernel panic - not syncing: Fatal exception in interrupt 문제는 softirq에서 발생하므로 panic_on_oops=0이라도 패닉이 발생하고, panic=0일 때는 전원 주기까지 머신이 멈춥니다. 원격 송신자는 UDP 빈 datagram 하나만 포트 4791로 보내면 되며 RDMA 연결, GID 또는 다른 상태는 관여하지 않으며 rxe 소켓은 init_net에서 바인딩되어 있습니다. IPv4는 영향받지 않습니다: ip_rcv_core()가 inet_skb_parm 전체를 memset하기 때문이며, 이 경우 pkt->qp 슬롯은 0입니다. 해결: 첫 번째 조기 종료 이전에 pkt->qp를 클리어합니다. pkt->qp은 hdr_check() 및 rxe_rcv_mcast_pkt()에 의해서만 참조 소유 값을 할당받는데, 이들은 이 지점 이후에 실행되므로 drop 레이블의 put은 균형을 유지합니다. 정렬 순서는 드라이버가 병합될 때부터 안전하지 못했습니다: 두 개의 조기 goto는 8700e3e7c485 이후의 모든 버전에서 pkt->qp = NULL보다 앞서 있습니다. 테스트 방법: 이 코드를 포함한 6.2 공급업체 트리에서 드라이버를 빌드하고 실행했으며, 포트 4791로 0바이트 IPv6 패킷 하나가 위의 패닉을 재현했습니다(해당 트리는 UDP 헤더를 rxe_udp_encap_recv()에서 끌어오지 않으므로 페이로드가 0..3바이트인 경우 첫 번째 goto로 가고, 메인라인은 0..11 바이트인 경우와 다름). 이 변경으로 동일 패킷이 의도대로 drop되며 drop 레이블을 추적할 때 pkt->qp가 도달 경로에서 0임이 확인됩니다. 다루지 않은 부분: 메인라인 트리는 이 환경에서 빌드되지 않았으며, 재현기는 본 메시지에서 의도적으로 생략되었고 필요 시 요청 시 제공됩니다.
CVE-2026-139287
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read() In flowinfo_read(), 'left' tracks the remaining space in the 512-byte stack buffer 'buf', but it is initialized to 'count'. Initialize 'left' to sizeof(buf) instead of 'count'.
CVE-2026-139286
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Zero-extend the index in inlined bpf_get_func_arg() bpf_get_func_arg() takes a u32 index, but the inlined expansion compared only the low 32 bits of R2 with the argument count and then shifted the full 64-bit register to compute the context address. R2 is ARG_ANYTHING, so nothing guarantees that its upper bits are zero: an index of 1ULL << 32 passes the bounds check as index zero while the load is performed at ctx + (1ULL << 35). Shift the index as a 32-bit value. When the 32-bit bounds check passes, the low 32 bits of R2 are below R0, and R0 is at most 255: the trampoline arm masks the argument count with 0xFF and the raw_tp arm uses the BTF argument count minus one, which the verifier caps at MAX_BPF_FUNC_ARGS. The 3-bit shift therefore cannot overflow and it clears the upper bits of the register. Widening the comparison instead would reject indices whose low 32 bits are valid. The check itself is unchanged, so this cannot change which programs are accepted, only the address that is computed.
CVE-2026-139285
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path A drive-by review by Sashiko reports that, where the line has not been configured as an output, gpiod_set_array_value_complex() can return without freeing potentially alloced bitmaps, thus leaking memory. Cleanup the bitmaps before returning.
CVE-2026-139284
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Protect the unregister notifier traversal snd_pcm_free() traverses snd_pcm_notify_list and calls n_unregister without register_mutex, although snd_pcm_notify() takes that mutex to add and remove notifiers. PCM disconnect releases the mutex before the free callback runs, so it does not protect this later traversal. With no open OSS file, normal snd-pcm-oss removal can overlap PCM card teardown, for example when unbinding snd-dummy: PCM card teardown snd-pcm-oss unload ----------------- ------------------ snd_pcm_dev_disconnect() remove PCM under register_mutex unlock register_mutex snd_pcm_free() fetch notifier snd_pcm_notify(..., 1) unlink notifier under mutex free module storage read notifier->n_unregister invoke callback The free path can then read the notifier from released module storage or call its unloaded code. Hold register_mutex across the unregister traversal and its callbacks. Notifier removal must wait until both have finished. This also protects the traversal if a callback releases the last module reference: module exit cannot unlink its notifier until the free path releases the mutex. Drop the mutex before private_free and the remaining stream cleanup.
CVE-2026-139283
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: oss: Keep emulation modules loaded until object teardown OSS proc entries and notifier callbacks can remain in use without an open OSS device file. Normal snd-pcm-oss removal can therefore delete an existing PCM's OSS proc entry while late HDA codec binding repeats snd_card_register() on the same live card: OSS PCM module unload Card registration --------------------- ----------------- snd_info_free_entry(entry) proc_remove(entry->p) clear entry->p snd_info_card_register() republish linked entry unlink and free entry The new proc node retains a pointer to freed storage. Mixer OSS removal can likewise release an adapter while a card notification still uses it. Hold a snd-pcm-oss module reference for each PCM registered with its notifier and a snd-mixer-oss reference for each card adapter. Release them at final unregister or FREE, after proc and adapter cleanup. Normal module unload can no longer initiate removal while these objects exist. Track PCM OSS registration with a separate bool registered. Unlike oss.reg, this state also covers unmapped PCMs and remains set across DISCONNECT until final unregister. BUILD-state and creation-error cleanup must not drop a reference when registration never acquired one. The PCM notifier's register_mutex serialization keeps the final put ahead of notifier removal and module teardown until dispatch has finished. For mixer OSS, serialize callback publication, dispatch and withdrawal in the core so module exit waits for callbacks, including one dropping the last reference, to return. Keep card enumeration in the OSS module, with card references released after dispatch drops the mutex. Ignore duplicate REGISTER notifications so a delayed registration cannot replace an adapter retained across DISCONNECT and leak its module pin. Partial HDA codec teardown can still remove an individual PCM while the card remains registered; its object-lifetime handling is separate.
CVE-2026-139282
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Fix CQ enable state tracking after AQ writes Use the CQ context's ena field when updating the CQ enable bitmap. The current code reads rq.ena, which overlaps bit 0 of the CQ base address and can leave the bitmap out of sync with the hardware context. This can cause enabled CQs to be skipped during teardown. Use sq.ena for the SQ bitmap update as well, so each queue type reads its own context.
CVE-2026-139281
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: netfilter: nf_conntrack: IPv6 nexthdr 오프셋 잘림 방지 find_prev_fhdr()는 IPv6 Fragment 헤더 앞의 Next Header 필드의 오프셋을 정수 포인터로 반환하지만, 오프셋을 지역 변수인 u8에 저장한다. 확장 헤더 체인이 이 필드를 바이트 255를 넘게 만들 수 있어, 분할 큐에 저장되기 전에 오프셋이 래핑될 수 있다. 재조립 시 나중에 이 래핑된 값을 사용해 앞선 Next Header 필드를 업데이트한다. 이로 인해 IPv6 헤더 체인의 다른 바이트를 덮어써 IPv6 로컬 전달에서 사용된 트랜스포트 튜플과 다른 값을 파싱하게 만들 수 있다. 예를 들어 두 조각 패킷은 UDP 대상 포트 53으로 기록될 수 있고, 페이로드는 UDP 포트 9999로 전달될 수 있다. 작업 오프셋과 출력 인자 및 이 경로의 다른 오프셋 변수와 일치하도록 정수(int)를 사용한다.
CVE-2026-139280
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: netfilter: nft_set_rbtree: 익명 세트의 구간 범위를 더 좁게 완성 익명 세트의 경우 인접한 범위가 발견되면 끝 요소를 세트에 추가하지 않아 세트 표현을 패킹합니다. 이 간격을 완성하기 위해 다음 시작 요소를 사용합니다. Jérémy Jean의 설명: netfilter 판단 맵에서 두 개의 범위를 생각해 보십시오: * 키 10-19는 패킷을 허용하고, * 키 30-39는 체인 'victim'으로 건너뛰게 됩니다. 이제 끝 마커를 20에서 삭제합니다. 조회 배열은 이제 1번째 범위의 끝으로 30을 사용하므로 key 15에 대한 INTERVAL_END 질의는 30을 반환하고, 이에 대한 점프 판단 및 체인 포인터를 포함합니다. 이는 GC가 만료된 참조 체인을 해제한 후 KASAN 보고서에서 UAF를 유발할 수 있습니다: BUG: KASAN: slab-use-after-free in nft_verdict_dump+0xdd/0x110 Read of size 8 at addr ff110000009dfb58 by task repro/50 ... Call Trace: ... nft_verdict_dump+0xdd/0x110 nft_data_dump+0x4d/0x80 nf_tables_fill_setelem+0x30b/0x8a0 ? __asan_memcpy+0x3c/0x60 nf_tables_fill_setelem_info+0x1b0/0x200 nft_get_set_elem+0x3fd/0x4b0 ... Freed by task 24: ... kfree+0x1a5/0x280 nf_tables_trans_destroy_work+0x2cb/0x520
CVE-2026-139279
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_dccp: handle reserved options as single-byte The DCCP UAPI defines option numbers 3 through 31 as reserved. Like Padding and Mandatory, these options occupy one byte. dccp_find_option() only treats values below 2 as single-byte and interprets the byte after a reserved option as a TLV length. This can skip a later option and invert an XT_DCCP_OPTION rule result. A local production-hook fixture installed the same DROP rule for IPv4 and IPv6. In three fresh boots per kernel, a target-only packet was dropped 20/20 times, while adding reserved option 3 before the same target let 20/20 packets reach the protected receiver. The fixed kernel dropped all trigger packets in three fresh boots and preserved the normal controls. Treat every option up to DCCPO_MAX_RESERVED as single-byte, matching the protocol definition. Triggering requires CONFIG_NETFILTER_XTABLES_LEGACY, CONFIG_NETFILTER_XT_MATCH_DCCP, an option-based rule, and remote protocol-33 reachability. The touched source is unchanged at 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and builds cleanly.
CVE-2026-139278
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: pcmtest: Pin the module while pattern files are open The fill_pattern_fops table must remain alive until the final release of each pattern debugfs file. It has no .owner, so the fops_get() call in full_proxy_open_regular() does not take a PCMTest module reference. With snd-pcmtest loaded as a module, a user with permission to open a fill_patternN file and unload the module can retain the descriptor across normal unload, provided no PCM file or other module reference prevents it. The following ordering is possible: Pattern file user Module unload ----------------- ------------- open(fill_patternN) full_proxy_open_regular() fops_get(fill_pattern_fops) owner == NULL: no module pin keep the descriptor open mod_exit() clear_debug_files() debugfs_remove_recursive() drain active operations return from mod_exit() free_module() free the module image close(fd) full_proxy_release() read real_fops->release -> UAF fops_put(real_fops) read real_fops->owner access freed module memory Even though the table has no release callback, reading those fields is a use-after-free and can fault. The retained dentry keeps the proxy's bookkeeping alive, but does not retain the module storage. Set .owner to THIS_MODULE so the existing fops_get()/fops_put() pair pins PCMTest until final release has finished accessing the table. Normal module unload is then blocked while any pattern file is open.