총 15,720건
CVE-2026-139797
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ocfs2/cluster: hold a reference on the heartbeat thread Since commit 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node stable"), o2hb_thread() leaves its loop and returns when the local node changes, for example after "echo 0 > node/<name>/local". The thread was started with kthread_run() and nothing holds a reference to its task_struct, so the task is freed once it exits, while reg->hr_task still points to it. Reading the region's pid attribute then reads the freed task, and removing the region calls kthread_stop() on it: BUG: KASAN: slab-use-after-free in o2hb_region_pid_show+0xb3/0xc0 refcount_t: addition on 0; use-after-free. Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:kthread_stop+0xb1/0x390 The thread could already return by itself before, when heartbeat start was aborted or on an unclean stop, but the local node change makes it reachable from userspace at any time. Create the thread, take a reference on it and only then wake it, so the reference cannot race with the thread exiting. Drop it with kthread_stop_put().
CVE-2026-139796
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute o2hb_region_dev_store() checks reg->hr_bdev_file to see if the region is already started, but nothing stops two writers from doing that at the same time. configfs only serializes writes through the same open file, so two processes that each open the dev attribute can both get past the check: A: hr_bdev_file is NULL, opens file A, sets hr_bdev_file = A B: hr_bdev_file is NULL, opens file B, sets hr_bdev_file = B A: start fails, fput(hr_bdev_file) drops B, sets it to NULL B: start fails, fput(NULL) Both calls also use the same hr_slots, hr_slot_data and hr_tmp_block, so the error paths can free the slot data twice. syzbot hit the fput(NULL) with an unbound loop device, where every start fails with -EIO. With four threads doing the same thing on a KASAN kernel I get both crashes within a second: BUG: KASAN: double-free in o2hb_unmap_slot_data+0x14d/0x2f0 BUG: kernel NULL pointer dereference, address: 0000000000000158 Add a mutex to the region and hold it in dev_store(), in the block_bytes, start_block and blocks stores, and in dev_show(), since they all look at hr_bdev_file. dev_store() cleans up with goto, so it takes the mutex in a small wrapper rather than with guard(). The mutex is dropped while dev_store() waits for the heartbeat to become steady, which takes seconds, so a read of dev doesn't stall behind a start. hr_bdev_file is already set at that point, so other writers still get -EINVAL, and the cleanup after the wait retakes the mutex. With the patch the same test ran for 10 minutes with lockdep on and nothing was reported. So did a second one, with a working loop device, that interrupts starts during the wait while other threads read and write the attributes.
CVE-2026-139795
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: mana: Add support to process throttled EQEs When an event queue nears full, the hardware coalesces the per-CQ GDMA_EQE_COMPLETION notifications into a single throttle EQE (type 4) that carries no cq_id. The driver does not handle this event type, so it falls through to the default case and is dropped. Any CQ whose completion notification was replaced by the throttle EQE can remain unserviced, causing its queue to stall. This was observed internally as a TX stall: ens1: NETDEV WATCHDOG: CPU: 45: transmit queue 1 timed out 15133 ms mana 7870:00:00.0: HWC: Request timed out: 60000 ms mana 7870:00:00.0: Gf stats wk handler: gf stats query timed out. ens1: NETDEV WATCHDOG: CPU: 20: transmit queue 0 timed out 15859 ms ens1: NETDEV WATCHDOG: CPU: 15: transmit queue 0 timed out 31731 ms ens1: NETDEV WATCHDOG: CPU: 21: transmit queue 0 timed out 47603 ms ens1: NETDEV WATCHDOG: CPU: 42: transmit queue 0 timed out 62451 ms Handle the throttle EQE: - Record up to two child CQs per EQ when a CQ is created with a parent EQ. A mana_en EQ serves one TX CQ and one RX CQ, and the HWC EQ serves the HWC CQ. - On a throttle EQE, call the callback of each child CQ that is still in cq_table[]. - Before a child CQ is freed, unlink it from its parent EQ and from cq_table[] in mana_gd_detach_cq(), then wait for an RCU grace period, because mana_gd_intr() reads both under rcu_read_lock(). mana_destroy_txq() and mana_destroy_rxq() detach the CQ before deleting its NAPI, so the synchronize_net() that NAPI deletion already needs also covers the CQ. mana_hwc_destroy_channel() detaches the HWC CQ and waits for a grace period before freeing the HWC queues. - Advertise the capability bit for throttled EQE. - Add a throttle eqe counter per queue.
CVE-2026-139794
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to fetch ino via ino_of_node() under cache lock In f2fs_writeback_node_caches(), it's better to fetch ino via ino_of_node() under cache lock, otherwise, node cache content may become stale after cache is unlocked due to racing w/ truncation. Commit 493b9dc8b52c ("f2fs: cache: use node cache") fixes similar issue in f2fs_flush_inline_data() introduced in commit 34c061ad85a2 ("f2fs: Avoid double lock for cp_rwsem during checkpoint").
CVE-2026-139793
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: inet: frags: bound the wmem charge of the socket completing a reassembly When a socket owned fragment completes a reassembly queue, inet_frag_reasm_prepare() and inet_frag_reasm_finish() charge the truesize of all other fragments to its sk_wmem_alloc. These fragments were orphaned when queued, and might have been sent by someone else, for instance padded TUN packets. Commit 3ae20e4697eb ("inet: frags: limit the truesize of a reassembly queue") bounds this charge to INT_MAX / 2 per queue, but a socket can complete several queues while the reassembled skbs are still alive, for instance held in a qdisc. sk_wmem_alloc can then go past INT_MAX, refcount_add() saturates it with a WARN, and the socket is leaked. This is reachable from an unprivileged user/network namespace, by raising ipfrag_high_thresh. Refuse the reassembly if the charge would push sk_wmem_alloc above 2 * sk_sndbuf, the bound ip_append_data() uses, plus 4MB of slack for fragments inflated by a refragmentation with a small MTU, and never above INT_MAX / 2. The cap matters for tun sockets, which use sk_sndbuf = INT_MAX, and whose skbs are still owned when act_ct or openvswitch reassemble them at ingress. Several queues can complete at the same time on different cpus for the same socket, so the charge is reserved with a cmpxchg() loop in inet_frag_reasm_prepare(), before it modifies the queue, and settled in inet_frag_reasm_finish(). Move the size checks of ip_frag_reasm(), ip6_frag_reasm() and nf_ct_frag6_reasm() before inet_frag_reasm_prepare(), using the first fragment which becomes the head, so that a successful inet_frag_reasm_prepare() is always followed by inet_frag_reasm_finish(). All callers already kill the queue when inet_frag_reasm_prepare() returns NULL. Found by code inspection (AI review), not reproduced.
CVE-2026-139792
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: ALSA: pcm: OSS 스트림에서 O_APPEND 열기를 차단 ALSA PCM 코어는 O_APPEND가 전달되면 기존 스트림을 재사용하는 것을 허용했으며, 이는 dmix 등에서 사용되어 왔다. 그러나 이 모드는 OSS에 대해 사용되도록 되어 있지 않다: OSS 스트림은 mmapped 상태에서도 hw_params/hw_refine 절차를 통해 재구성 가능하므로 단일 스트림의 사용만을 암시한다. 이로 인해 OSS 스트림에 대한 현대화된 검증이 스킵되며, 사용자가 O_APPEND로 기존 OSS 스트림에 연결할 수 있다면 매핑된 페이지의 UAF가 발생하여 권한 상승 익스플로잇으로 악용될 수 있다. 이를 해결하기 위해 이 패치는 OSS 스트림에서 O_APPEND 동작을 금지한다. OSS 레이어 자체에는 O_APPEND가 절대 사용되지 않으므로, 올바른 어플리케이션에서 이로 인해 문제가 발생하지 않는다.
CVE-2026-139791
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: Use a dedicated flag to track disabled napi instances Trying to disable the napi threaded state while the napi instance is disabled will hang forever in napi_stop_kthread(), as it waits for NAPIF_STATE_SCHED_THREADED to clear. This won't happen until the next ____napi_schedule() call, which won't happen as it's disabled. This happens in 2 instances : - Drivers that create but don't use napi instances (stmmac's rxtx napi for AF_XDP for example), here it's a driver bug - Drivers that create their napi instances in .probe(). Here, setting threaded off while the interface is down will hang : ip link set eth0 down echo 1 > /sys/class/net/eth0/threaded echo 0 > /sys/class/net/eth0/threaded -> hang Checking on netif_running() isn't enough, as napi instances may be transiently disabled when changing the MTU for example, let's use a dedicated flag to track if the instance is disabled. This allows immediately disabling the kthread when the instance is disabled. This was tested on mvpp2 (probe-time napi_add) and stmmac.
CVE-2026-139790
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg When hw_init() fails, amdgpu_device_ip_fini_early() skips hw_fini() because status.hw was never set. For VCN, UVD (including UVD ENC), VCE, and JPEG, hw_fini() is where cancel_delayed_work_sync() is called. Any idle work queued during the partial hw_init() is therefore left pending after sw_fini() frees the adev state the handler touches. Cancel the idle work in each hw_init() error path, immediately before returning the error, so that hw_fini() remains the sole cancel site on the normal teardown path with no duplication. (cherry picked from commit 7ff2327fde029e97d0050fcb94e3f4063c318547)
CVE-2026-139789
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: hugetlbfs: enforce F_SEAL_EXEC in setattr F_SEAL_EXEC is enforced by shmem_setattr(), but hugetlbfs_setattr() does not check it. As a result, fchmod() can change the execute bits of a sealed hugetlbfs memfd. Use memfd_check_seals_mode() in hugetlbfs_setattr() to reject changes to execute bits when F_SEAL_EXEC is set. This also fixes the memfd_test hugetlbfs SEAL-EXEC subtest, where fchmod() incorrectly succeeded after applying F_SEAL_EXEC. [ david: use common helper; fixup Fixes:; check only regular files ]
CVE-2026-139788
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: cipso: live ip_options_rcu 수정 중지 cipso_v4_delopt()는 소켓이나 요청 소켓의 ip_options_rcu에서 작동하며, 모든 후속 옵션을 옮겨 중간에서 CIPSO 옵션을 제거하려고 시도합니다. 그렇게 하는 것은 허용되지 않습니다 - ip_options_rcu는 읽기 락을 방지 없이 읽을 수 있으며 항상 일관되어야 합니다. 예를 들어 ip_options_undo()는 옵션 버퍼에서 신뢰할 수 있는 오프셋과 길이 값을 읽습니다. 수정을 복사본에서 수행하여 해결합니다. 핵심 변경은 cipso_v4_delopt()에 있으며, 나머지는 메모리 할당 실패를 전파하기 위한 불필요한 배선 작업입니다. 이 버그를 트리거하려면 시스템이 CIPSO 사용으로 구성되어 있어야 합니다. (CIPSO 설정은 init_user_ns의 권한이 필요합니다.)
CVE-2026-139787
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix use-after-free in nvme_tcp_free_ctrl() nvme_tcp_free_ctrl() reads ctrl->ctrl.opts to know how many queue mutexes to destroy. When creating the controller fails, nvmf_create_ctrl() frees opts as soon as nvme_tcp_create_ctrl() returns, but a concurrent open of the character device can hold the last reference to the controller. With CONFIG_DEBUG_KOBJECT_RELEASE, which delays the release, every failed connect reads freed memory: BUG: KASAN: slab-use-after-free in nvme_tcp_free_ctrl+0x38b/0x430 Read of size 4 at addr ffff888005b93740 by task kworker/2:1/51 Keep the size of the queue array in the controller and use it instead.
CVE-2026-139786
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: mm/vma: mm_lock_seq 오버플로우 시 의도하지 않은 쓰기 잠금을 피합니다 지금까지 mm->mm_lock_seq 오버플로우는 정상적이라고 가정되었고, 읽기자(readers)가 mmap 잠금으로 스스로 돌아가는 경우에만 발생한다고 여겨졌습니다. 그러나 이 가정이 안전하지 않다는 것이 확인되었습니다. VMA가 의도치 않게 쓰기 잠금으로 간주될 수 있다면 읽기 잠금 배타성이 적용되지 않으므로 동시 읽기가 있는 상태에서 VMA가 쓰기 잠금 상태로 남을 수 있습니다. 오버플로우는 매 2^31회의 쓰기 잠금/해제 주기마다만 발생하므로 이러한 오버플로우가 발생할 때마다 각 VMA의 vma->vm_lock_seq를 재설정하여 이 문제를 해결합니다. 이는 mmap 쓰기 잠금이 해제될 때 호출되는 vma_end_write_all()에서 수행되며, 즉 mmap_write_unlock() 및 mmap_write_downgrade()에서 수행됩니다. 시퀀스 카운트를 오버플로우 시 재설정하면 이미 연결되어 관찰 가능한 VMA의 시퀀스 카운트를 바꾸게 되므로 주의가 필요합니다. mm의 시퀀스 카운트는 쓰기 잠금이 유지될 때 홀수로 보장되며, 따라서 쓰기 잠금이 된 모든 VMA는 홀수의 시퀀스 카운트를 가지게 됩니다. 따라서 짝수 값으로 재설정하는 것은 은닉된(spurious) 쓰기 잠금을 방지하는데, 이는 mmap 쓰기 잠금이 유지될 때만 발생하고 그 시점의 mmap 시퀀스 카운트는 홀수이기 때문입니다. 다만 vma_start_read()는 vma->vm_lock_seq == mm->mm_lock_seq를 추가로 확인하여 (쓰기가 잠겨 있음을 나타냄) 이로 인해 읽기 잠금을 얻지 못하는 경우를 방지합니다. 이로 인해 격려로 설정된 짝수 재설정 값은 VMA의 읽기 잠금을 차단할 수 있으므로, 읽기 잠금을 중단하기 전에 VMA 시퀀스 카운트가 홀수인지도 확인하는 것이 필요합니다. 지금까지 vma->vm_lock_seq의 기본값은 UINT_MAX였으나, 커밋 e5e7fb278e59("mm: convert mm_lock_seq to a proper seqcount") 이후에는 VMA가 분리된 상태에서도 할당되며 observers 될 수 없으므로 불필요합니다. 따라서 vma->vm_lock_seq의 재설정과 초기화를 단순히 0으로 설정하는 방식으로 수행합니다. 재설정은 __mm_reset_vma_seqcounts()에서 수행되며 값은 WRITE_ONCE()로만 작성하면 됩니다. 다만 vma_start_read()에서 vma->vm_lock_seq를 읽는 것은 do_raw_write_seqcount_end()의 smp_wmb()와 짝지으려면 acquire 시맨틱을 갖추어야 하므로 재설정 값을 읽는 읽기자는 또한 쓰기 잠금 아래에서 이루어진 VMA 수정을 관찰합니다. 모든 VMA 쓰기 잠금은 방금 해제되었고 mmap 쓰기 잠금은 여전히 유지되고 있으므로 동시 VMA 작성자는 존재하지 않습니다. 동시 VMA 읽기는 영향을 받지 않습니다. 새로운 VMA 읽기는 0 또는 이전의 시퀀스 카운트를 관찰하며, 재설정 이전의 동작과 동일하게 동작합니다. 이 현상은 매 2^31회의 쓰기 잠금/해제 주기마다 발생하므로 모든 VMAs를 업데이트하는 데 소요되는 시간은 허용 가능한 것으로 간주됩니다. 또한 변경 사항을 반영하기 위해 주석, 문서 및 VMA 사용자 공간 테스트도 업데이트합니다. 사용자 측 영향은 - 메모리 손상이나 NULL 포인터 역참조를 초래할 수 있는 위험한 경쟁이 발생할 수 있는 상황이 방지됩니다(특히 페이지 테이블 순회 시).
CVE-2026-139785
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags vma_merge_existing_range() merges an existing VMA (middle) when its attributes have changed to match those of one or both adjacent VMAs. Sticky flags are propagated if they are set in any of the merged VMAs. They are initialised from vmg->vma_flags, which is assumed to contain middle's sticky flags when the function is invoked. However, the VMA write lock is not held for middle when they are first populated, so concurrent updates to atomic VMA flags may occur, which will be lost upon merge. This can result in fork failing to propagate guard region markers and (if file-backed) THP collapse discarding them. Resolve this by propagating the sticky flags after middle is locked. Make life easier by factoring this into propagate_sticky_flags(), which treats vmg->vma_flags as its base (in case any sticky flags are set there), updating it as sticky flags are accumulated from merged VMAs. Also update vma_expand() to use propagate_sticky_flags() so all merge paths utilise it. propagate_sticky_flags() also asserts that the VMA write lock is held for the VMA whose sticky flags are being read, with a comment explaining why. Another means by which atomic VMA flags can fail to be observed is when the merge is finalised in commit_merge(). rmap locks are dropped in vma_complete() before the sticky flags are written, meaning an rmap walker can observe the VMA without sticky flags set, which can also result in retract_page_tables() discarding guard markers. Resolve this by assigning the sticky flags before dropping rmap locks, factored into commit_sticky_flags() with a write assert on the VMA being written to. Also remove the vma_set_flags_mask() invocation at the end of vma_merge_existing_range() as this was introduced by commit 64212ba02e66 ("mm: implement sticky VMA flags") to propagate sticky flags, which is now redundant with the introduction of commit_sticky_flags(). The vma_set_flags_mask() invocation at the end of vma_expand() setting sticky flags only is also removed for the same reason. Also update vma_merge_existing_range()'s comment to reflect the fact that vmg->vma_flags gets updated. Finally, update the userland VMA tests to reflect a previously missed const-ification in vma_assert_write_locked() which would otherwise cause a warning when building them.
CVE-2026-139784
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: q6apm: clear g_apm on driver removal The global g_apm pointer is set during apm_probe() but never cleared in apm_remove(). After the driver is removed the devm-managed struct q6apm is freed, leaving g_apm dangling. A subsequent call to q6apm_is_adsp_ready() dereferences the freed pointer. Clear g_apm in apm_remove() before the component is unregistered so that q6apm_is_adsp_ready() returns false instead of triggering a use-after-free.
CVE-2026-139783
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ovl: inherit FMODE_NONOTIFY when reading directory layers Listing a merged or impure overlay directory opens the real layer directories from ovl_dir_read(), when the readdir cache is filled. Those opens use plain ovl_path_open(), so when the directory fd is one that fanotify created for a permission event, they can still raise FS_OPEN_PERM. A listener that also marks the backing filesystem and calls getdents() on the event fd before answering then deadlocks the same way as with the directory open fixed by the previous commit. Store the overlay user file in struct ovl_readdir_data and pass it to ovl_path_open_realfile() from ovl_dir_read(), for both the merged and the impure cache. Internal readers such as ovl_check_empty_dir() and the mount-time workdir cleanup still pass no user file. A note about severity and real world impact: The FAN_OPEN_PERM event is traditionally used by anti-malware protection agents and security/audit agents. The scope that is often used in those use cases is FAN_MARK_MOUNT and agents typically monitor multiple mounts in a mount namespace. FAN_OPEN_PERM from directory open requires user opt-in with FAN_ONDIR. It is often not the case that anti-malware agents monitor open of directories. Security/audit engines are more likely to opt-into FAN_OPEN_PERM on directories, but are less likely to list the content of a directory within the scope of FAN_OPEN_PERM event, so the real world impact of this bug is likely not significant.
CVE-2026-139782
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: comedi: addi_apci_3xxx: fix subdevice count underallocation In apci3xxx_auto_attach(), the number of subdevices is computed with n_subdevices = (board->ai_n_chan ? 0 : 1) + board->has_ao + ... The ternary is inverted: when the board has analog input channels (ai_n_chan != 0), it counts 0 instead of 1, so the AI subdevice that is actually created is not accounted for. As a result comedi_alloc_subdevices() allocates one entry too few, and the later subdevice initialization (notably the TTL Digital I/O subdevice, which is populated last) writes past the end of the allocated array, causing a slab out-of-bounds write. Flip the ternary to count 1 when ai_n_chan is non-zero and 0 otherwise, matching the subdevice creation order in the function.
CVE-2026-139781
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses The verisilicon driver has a custom framebuffer address calculating helper that the common drm_fb_dma_get_addr() can substitute. Differences from drm_fb_dma_get_addr(): - Uses drm_format_info_min_pitch() to calculate the horizontal offset; however the driver does not support any of the blocked formats, so this just ends up being the same as in drm_fb_dma_get_addr(): "cpp[plane] * y" - Uses clipped source coordinates instead of non-clipped coordinates as in drm_fb_dma_get_addr(); For the primary plane this doesn't matter, since the primary plane must match the output, i.e. it cannot be clipped. Also this driver doesn't support scaling. For the cursor plane this seems wrong, as the clipping seems to be done by the hardware, and thus the buffer address should be unclipped. As such, it should be fine to use the common helper and drop the custom code.
CVE-2026-139780
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Reject oversized stream read buffers BPF_PROG_STREAM_READ_BY_FD exposes stream_buf_len as a u32, but the internal stream reader accepts an int. Values above INT_MAX therefore become negative before bpf_stream_read(), producing negative consumption lengths. The generic usercopy size check prevents the oversized copy, but emits a warning and reports EFAULT for an unchecked argument. Change bpf_prog_stream_read() to accept u32 and reject values that the signed reader cannot represent.
CVE-2026-139779
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/ras: Cancel and free message on get counter failure doit_reply_value() directly returns on get counter failure, which results in stale sk_buff and genetlink header that aren't cleaned up. Fix it and while at it, consolidate error handling using goto.
CVE-2026-139778
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: regulator: fixed: reject incompatible platform devices The fixed regulator driver expects non-DT platform devices to provide their configuration through platform_data as a struct fixed_voltage_config. An explicitly bound driver can bypass the normal platform device/driver matching and attach the fixed regulator driver to an unrelated platform device. This causes the driver's platform_data to be interpreted as a struct fixed_voltage_config even though it contains data for a different device. Reject non-DT platform devices whose name does not match the fixed regulator driver before accessing their platform data.