총 162,856건
CVE-2026-139343
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: ipv4: inet_netconf_get_devconf()에서 RCU 보호 사용 inet_netconf_get_devconf()는 RTNL 없이 실행됩니다. dev_get_by_index()를 사용하고 in_dev_get()로 응답이 할당되고 채워지는 동안 디바이스와 its in_device를 고정(pin)합니다. in_dev_get()은 잠금 해제된 호출자에 대해 안전하지 않습니다. 커밋 9d40c84cf5bc("net: devinet: Reduce refcount before grace period") 이후 inetdev_destroy()는 RCU 그레이스 기간 이전에 최종 참조를 제거합니다. 독자(reader)는 dev->ip_ptr을 로드한 다음 in_dev_free_rcu()가 큐에 들어간 후 제로 참조 счет(refcount_inc())를 호출하고, 해제된 후에도 in_device를 계속 사용할 수 있습니다. 이들 참조는 필요하지 않습니다. in_device는 RCU 그레이스 기간 이후에 해제되며, ipv4_devconf는 그 안에 삽입되어 있고, inet_netconf_fill_devconf()는 슬립하지 않습니다. skb를 먼저 할당한 다음, 조회와 채움을 rcu_read_lock() 아래에서 수행하고, dev_get_by_index_rcu()와 __in_dev_get_rcu()를 사용합니다. 이는 inet_netconf_dump_devconf()가 이미 하는 방식과 동일합니다.
CVE-2026-139342
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: use the full socket in sk_mc_loop() sk_mc_loop() is called from ip_mc_output() and ip6_finish_output2() with skb->sk, which is not always a full socket: - Since commit ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener"), a SYNACK is attached to its request socket. - Since commit 79636038d37e ("ipv4: tcp: give socket pointer to control skbs"), an ACK or RST sent by ip_send_unicast_reply() on behalf of a TIME_WAIT socket is attached to the timewait socket. When such a packet uses a multicast route, inet_test_bit(MC_LOOP, sk) reads inet_flags past the end of the request or timewait socket. This happens for instance when a SYN with a multicast source address reaches a listener, after being looped back with its dst attached, so that ip_rcv_finish_core() skips the martian source check. A raw IP_HDRINCL socket sending to a local address does this, as does re-injection by nft dup or the iptables TEE target. The destination can also come from a source route option, or from a route of type multicast covering a unicast prefix. BUG: KASAN: slab-out-of-bounds in sk_mc_loop+0x111/0x170 Read of size 8 at addr ffff88800f2b7f10 by task repro-raw/470 Call Trace: <IRQ> sk_mc_loop+0x111/0x170 ip_mc_output+0x355/0x930 ip_build_and_send_pkt+0xb87/0xc50 tcp_v4_send_synack+0x500/0x6f0 tcp_conn_request+0x2135/0x2d90 tcp_v4_conn_request+0xa5/0x210 tcp_rcv_state_process+0x136e/0x6920 tcp_v4_do_rcv+0x339/0xb10 tcp_v4_rcv+0x34ab/0x3ab0 ip_protocol_deliver_rcu+0x6e/0x3e0 ip_local_deliver_finish+0x34d/0x510 ip_local_deliver+0x1bc/0x310 ip_rcv+0x390/0x410 __netif_receive_skb_one_core+0x199/0x1e0 process_backlog+0x239/0x680 __napi_poll+0xb5/0x650 net_rx_action+0x980/0xd60 handle_softirqs+0x17f/0x590 do_softirq+0x3f/0x60 </IRQ> The buggy address belongs to the object at ffff88800f2b7d60 which belongs to the cache request_sock_TCP of size 312 The buggy address is located 120 bytes to the right of allocated 312-byte region [ffff88800f2b7d60, ffff88800f2b7e98) Use sk_const_to_full_sk(), which restores the behavior from before the two commits above: a request socket uses the setting of its listener, and a timewait socket gets the default (loop back), as the per-cpu control socket used before had. [edumazet: rewrote the changelog, added the TIME_WAIT case]
CVE-2026-139341
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: fix null pointer dereference in magicmouse_event() Add a guard clause to check if 'msc' and 'msc->input' is NULL before attempting to access its fields, preventing a general protection fault.
CVE-2026-139340
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: fuse: fix NULL pointer dereference in fuse_request_find fuse_dev_install_with_pq() publishes fud->chan before it stores fud->pq.processing. The write/splice_write and read paths treat a non-NULL fud->chan as "installed" and then walk fpq->processing[] without taking fch->lock, so they can see the new chan while processing is still NULL and oops in fuse_request_find(). Fix by taking fpq->lock around the cmpxchg + fud->pq.processing assignment. This protects all call sites that dereference fpq->processing, since these have fpq->lock held.
CVE-2026-139339
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: drm/panthor: AS를 재할당되더라도 완전히 비활성화 우리는 UPDATE(UNMAPPED) 단계를 건너뛰며 스마트하게 처리하려고 하지만, 이로 인해 눈에 띄는 오버헤드가 추가되는지 여부는 아직 입증되지 않았다. 게다가 VM이 바운드 해제되면 더 이상 접근이 불가능하다는 가정을 깨뜨리고 있다. 예를 들어 panthor_vm_active()에서 panthor_mmu_as_enable() 호출이 panthor_vm_release_as_locked()를 호출한 후 실패하면, HW가 여전히 이전 페이지 테이블을 가리키고 있지만 SW 슬롯은 새로운 VM을 가리키고 있어 실질적으로 HW에 바인딩되지 않은 상태에 있다. AS 슬롯 잠금이 해제된 후 퇴거된 VM 자체가 해제되면, 잘못된 AS_COMMAND로 인해 효과가 발생할 때까지 시스템으로 되돌려진 메모리에 HW가 접근할 수 있다. AS 슬롯 재활용에서 바운드 -> 언바운드 -> 바운드 순환을 완전히 방지하도록 이 문제를 해결하자.
CVE-2026-139338
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: blk-iocost: account zone append completions in latency stats ioc_rqos_done() only accounts READ and WRITE completions, so zone append completions are excluded from the latency window: the vrate feedback loop cannot see ZA-induced latency, leaving it unable to respond to device saturation caused by zone appends. Similarly, calc_size_vtime_cost_builtin() does not classify zone append as a write operation. Charging (the cost model) and feedback (the latency window) are separate mechanisms, so this is not covered by the previous patch that prices zone appends. Treat zone append as WRITE for both latency accounting and cost classification.
CVE-2026-139337
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ima: reject a kexec buffer whose declared size exceeds the buffer ima_restore_measurement_list() parses the measurement list persisted across kexec. It computes the parse end directly from the blob: bufendp = buf + khdr->buffer_size; khdr->buffer_size is a u64 read straight from the persisted buffer. The only length checks in the function are size >= sizeof(*khdr), version == 1 and count -- none relates buffer_size to size, the actual buffer size the caller (ima_load_kexec_buffer()) obtained from the ima-kexec-buffer region. ima_parse_buf() bounds every field read to bufendp, so a blob whose internal buffer_size exceeds the real size makes the parse loop read past the end of the buffer (CWE-125). The buffer's memory range is validated against addressable RAM by commit cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer against memory bounds") and commit c5489d04337b ("x86/kexec: add a sanity check on previous kernel's ima kexec buffer"), but the blob's own declared size is never clamped to it. Reject a buffer_size larger than size before the loop. This is on the boot-time kexec-restore path (__init) and the buffer comes from the previous kernel, so triggering it requires control of the persisted buffer; it is an out-of-bounds read only.
CVE-2026-139336
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: usbnet: fix smp_processor_id() use in preemptible context tx_complete() calls this_cpu_ptr() before disabling preemption, which triggers a BUG when running with CONFIG_DEBUG_PREEMPT: BUG: using smp_processor_id() in preemptible code in tx_complete Fix by using get_cpu_ptr()/put_cpu_ptr() which disable preemption and return the per-CPU pointer atomically. The usbnet_skb_return() hunk is a hardening change: that path runs in softirq context so no warning fires there, but the same fix is applied for consistency.
CVE-2026-139335
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: platform: cznic: turris-omnia-mcu: stop button emulation producers The legacy MCU IRQ thread can requeue button-release emulation work after its managed cleanup has canceled it. Since the IRQ is still active at that point, the newly queued work can outlive device teardown and access freed MCU state. Use disable_delayed_work_sync() to prevent further queueing and drain the worker before the IRQ action is released. Keep the parent IRQ active while the worker completes. devm_add_action_or_reset() also drains the work if action registration fails. This issue was identified as part of our ongoing research while reviewing kernel code.
CVE-2026-139334
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: btrfs: drop the extent maps of the written part of a failed ordered extent If a truncated ordered extent fails to complete, the extent maps for the part that was written are kept while the extent itself is freed below. A later read can follow them to blocks that have been reallocated. Drop the maps for the whole range on error.
CVE-2026-139333
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: btrfs: update the inode item when removing a free space inode btrfs_remove_free_space_inode() adds an orphan item for the free space inode and clears its link count in memory, but never writes the inode item. The item is only removed once the delayed iput evicts the inode, which happens in a later transaction, from the cleaner thread or a throttled transaction end. If we crash in between, or if evict can't reserve space for the truncation and leaves the orphan item for the next mount, the on-disk inode still has a link count of 1. btrfs_orphan_cleanup() then treats it as an inode with links and only deletes the orphan item. The free space header item is already gone at that point, so nothing ever finds the inode again, and its data extents are leaked. Write the zero link count to the inode item in the same transaction as the orphan item, so the orphan cleanup evicts the inode instead. Account for the extra tree root item update when removing a block group.
CVE-2026-139332
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Claim the per-CPU send_signal irq_work before filling it irq_work_is_busy() cannot see the per-CPU send_signal_work while it is being filled: the check only matches after irq_work_queue() has claimed the work. A concurrent caller therefore passes it, both callers race for the same irq_work, and the loser's signal is silently lost along with its task reference while the queued work runs with a mix of both callers' fields. kprobe, tracepoint and perf_event programs exclude each other on the same CPU through bpf_prog_active, so for two callers to meet, one of the programs has to be a raw tracepoint or an fentry one. And since commit 87c544108b61 ("bpf: Send signals asynchronously if !preemptible") this path runs with IRQs enabled too, so a hard IRQ can interrupt the fill as well, not only an NMI. Found by code inspection and reproduced with a perf_event NMI program racing an fentry one. Claim the work through work->task itself: cmpxchg() it from NULL to the target task before touching the other fields, and set it back to NULL once the callback has consumed them. A context finding the work claimed returns the documented -EBUSY.
CVE-2026-139331
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Pass a trampoline's stack arguments by the calling convention A trampoline on a function of a program that can tail call keeps the tail call counter pointer by pushing rax after allocating its frame. When it calls the original function, for fexit, fmod_ret or fsession, the push sits between the stack arguments and the return address, which the x86-64 calling convention does not allow. For example, in run() -> call_stack() -> callee_stack(a, b, c, d, e, f, g, h) run() -> subprog_tail() -> bpf_tail_call() callee_stack() is not on the path to the tail call, so the verifier allows its stack arguments g and h. fexit on it builds, with T the trampoline's rbp: T-120 h save_args() T-128 g save_args(), RSP after sub rsp, 128 T-136 tail_call_cnt_ptr push rax, RSP at the call T-144 return address call orig_call and callee_stack() finds the counter pointer where g belongs, at 8(%rsp) on entry, and g where h belongs. Keep the pointer in a slot of the frame instead, so that the stack arguments sit right above the return address again: T-120 tail_call_cnt_ptr mov [rbp - 120], rax T-128 (pad to 16) T-136 h save_args() T-144 g save_args(), RSP at the call T-152 return address call orig_call
CVE-2026-139330
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: dpll: zl3073x: do not offer 0 Hz as a supported pin frequency zl3073x_pin_props_get() always adds the current pin frequency to the supported list without checking it. A sub-Hz frequency reads back as 0 Hz, so 0 Hz can then be requested and the output frequency set callback divides by zero. A 0 Hz entry in the firmware node is not rejected either: it is offered for an input pin, and for an output pin zl3073x_pin_check_freq() divides by it at probe time. Do not add a 0 Hz current frequency and reject 0 Hz in zl3073x_pin_check_freq(). If the list ends up empty, do not publish it at all, as the DPLL core rejects an empty non-NULL list. Found by code inspection, not triggered at runtime.
CVE-2026-139329
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: jack: Protect the index scan against control removal A control found during a jack-name index scan must remain alive until snd_ctl_find_id() finishes comparing its ID and count. However, get_available_index() calls it without holding card->controls_rwsem. With CONFIG_SND_CTL_FAST_LOOKUP enabled, the lookup loads a raw control pointer from ctl_hash and dereferences it in elem_id_matches() without any lock that excludes removal. This can happen when a jack is created while a different jack owner on the same card removes an existing control with the same name and index. For example, probe and unbind of different HDA codecs can reach these paths on a shared card if their generated jack names match. The codec device locks do not serialize operations on different codecs. The unbind path can free the control during the index scan: Codec A: probe Codec B: unbind -------------- --------------- get_available_index() snd_ctl_find_id() kctl = xa_load(...) hda_codec_driver_remove() snd_hda_codec_cleanup_for_unbind() snd_hda_jack_tbl_clear() snd_device_free() __snd_device_free() snd_jack_dev_free() snd_ctl_remove() snd_ctl_remove_locked() __snd_ctl_remove() snd_ctl_free_one() kfree(kctl) elem_id_matches(kctl, ...) read freed id/count -> UAF Hold controls_rwsem for read across the index scan so removal cannot free a control until the lookup has finished using it. Release the lock when get_available_index() returns, before the caller adds the new control under the write lock.
CVE-2026-139328
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix a bypassed task stalling on a cpu its scheduler has no caps on A bypassing sub-scheduler's tasks are run by its nearest ancestor that isn't bypassing. The ancestor puts them on the local DSQ under its own caps. Whether such a task may stay on the cpu and whether a cap revoke reenqueues it are still checked against the caps of the task's own scheduler. The bypass load balancer moves tasks between cpus without looking at caps, so a bypassed task can run on a cpu where its own scheduler holds none. Once its slice runs out, it can't stay. It goes to the ancestor's bypass DSQ without a kick, and the cpu can go idle with it queued until something else reschedules the cpu. Make both checks against the caps of the scheduler running the task. When bypass lifts, the running task keeps its slice without a cap check, so evict it then if it can't stay on the cpu.
CVE-2026-139327
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields A BPF program can read the middle of a u64 field in struct bpf_tcp_sock: tp = bpf_tcp_sock(listener); /* +0x54 is in the middle of the u64 bytes_received */ unsigned hi = *(unsigned *)((char *)tp + 0x54); bpf_tcp_sock_is_valid_access() allows this 4-byte read (the default case only checks size == 4), but bpf_tcp_sock_convert_ctx_access() only knows the field starts and has no idea how to handle such an offset. It emits no instruction, cnt stays 0 and the fixup pass trips verifier_bug(): verifier bug: error during ctx access conversion (0) Just disallow the narrower access by matching the whole u64 range of the two fields, so it is turned down at check time: invalid tcp_sock access off=84 size=4
CVE-2026-139326
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: bpf: devmap 이그레스 XDP에서 프레임 메모리 타입 사용 bpf_xdp_adjust_tail() 또는 bpf_xdp_pull_data()를 사용해 리다이렉트된 xdp_frame의 전체 조각을 제거하는 devmap 이그레스 프로그램은 프레임의 메모리 타입에 상관없이 페이지 조각을 page_frag_free()로 해제합니다. page_pool 기반 드라이버의 MEM_TYPE_PAGE_POOL 프레임의 경우 풀이 소유한 페이지 참조가 해제된 채 풀이 조각은 여전히 계수되므로(페이지 풀 누수 "page_pool leak"), 풀이 참조를 잃게 됩니다. kernel/bpf/devmap.c:dev_map_bpf_prog_run()가 xdp.rxq를 스택의 struct xdp_rxq_info rxq = { .dev = rx_dev }; 의 mem.type은 0, 즉 MEM_TYPE_PAGE_SHARED이고 net/core/filter.c:bpf_xdp_shrink_data()가 rxq->mem.type에 따라 조각들을 해제합니다. 같은 방식으로 xdp 프레임에서 프로그램을 실행하는 cpumap은 각 프레임에 대해 xdpf->mem_type을 private rxq로 이미 복사합니다. virtio_net의 9000 바이트 프레임과 이그레스 프로그램이 조각들을 잘라낼 때: BUG: 프로세스 스와퍼/3의 잘못된 페이지 상태 pfn:10660b 페이지 덤프 이유: page_pool 누수 bad_page+0xbd/0x190 __free_frozen_pages+0x5c7/0x900 bpf_xdp_adjust_tail+0x3be/0x480 bpf_prog_dad43f894a3faff7_egress+0x15c/0x1cd dev_map_bpf_prog_run+0x288/0x610 풀이 디바이스가 사라지면 이 풀이 페이지를 영원히 기다립니다. 그것이 해로운 경우는 아닙니다. 풀의 한 페이지는 하나의 조각보다 더 많은 조각을 보유할 수 있으며, 참조 카운트가 1인 상태에서 첫 번째 page_frag_free()가 조각이 여전히 사용 중일 때 해제하고, 두 번째 조각이 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) kernel BUG at include/linux/mm.h:1846! veth는 영향을 받지 않습니다. 페이지에 대한 참조를 자체적으로 가지며 프레임을 MEM_TYPE_PAGE_SHARED로 리다이렉트합니다. devmap 프로그램을 실행하기 전에 각 프레임의 rxq.mem.type을 설정하여(cpu_map_bpf_prog_run_xdp()가 하는 방식으로)을 통해 수정했습니다.
CVE-2026-139325
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Forbid sleeping in hash map for_each callbacks A sleepable program (e.g. SEC("syscall"), lsm.s, fentry.s) can pass a callback to bpf_for_each_map_elem() on a hash map and call a sleepable helper or kfunc such as bpf_copy_from_user() from it. The verifier accepts this, but at run time the callback is invoked from inside an RCU read-side critical section: bpf_for_each_hash_elem() rcu_read_lock(); callback_fn(map, key, val, ctx, 0); bpf_copy_from_user() <- may fault and sleep rcu_read_unlock(); bpf_each_rhash_elem() does the same for BPF_MAP_TYPE_RHASH. Sleeping there triggers the "Voluntary context switch within RCU read-side critical section!" warning, delays grace periods, and with CONFIG_PREEMPT_RCU=n silently ends the read-side critical section that the bucket walk relies on. Synchronous callbacks are verified with the caller's state, so kernel/bpf/verifier.c:in_sleepable_context() only looks at the program's sleepability and the locks the program took itself, and does not know that the helper holds rcu_read_lock() around the callback. With a SEC("syscall") program whose callback reads a page that has to be read from disk first: BUG: sleeping function called from invalid context at include/linux/uaccess.h:169 RCU nest depth: 1, expected: 0 __might_fault+0x29/0x80 _copy_from_user+0x26/0x90 bpf_copy_from_user+0x23/0x60 bpf_prog_17d44fa39eebd6cc_cb+0x35/0x46 bpf_for_each_hash_elem+0xdb/0x280 Fix by marking the callback frame of hash map iteration as running under RCU and making in_sleepable_context() false while such a frame is on the call stack, so sleepable helpers, kfuncs and global functions are rejected there as inside bpf_rcu_read_lock(). The rules for trusting RCU protected pointers are left alone, which is conservative and keeps callbacks that verify today and do not sleep working. The flag is compared in func_states_equal() so that pruning never mixes the two contexts. Array map callbacks run without any lock and keep the caller's context.
CVE-2026-139324
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Don't leak the inode when token creation fails bpf_token_create() allocates a bpffs inode and hands it to alloc_file_pseudo(). The inode reference only moves to the new file when that call succeeds: alloc_file_pseudo() leaves the caller's reference alone on failure, and FD_PREPARE() does not even evaluate the file expression when it cannot get a descriptor. Before the conversion to FD_PREPARE() the error path did iput(inode). The conversion dropped it, so each BPF_TOKEN_CREATE that fails with -EMFILE, -ENFILE or -ENOMEM at this point leaks an inode. A task that is allowed to create tokens can hit this at will by lowering RLIMIT_NOFILE, and the leaked inodes make umount of that bpffs instance complain about busy inodes. Put the inode again if no file was created.