총 162,841건
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.
CVE-2026-139777
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: remoteproc: xlnx: Initialize mailbox work before requesting channels zynqmp_r5_setup_mbox() installs zynqmp_r5_mb_rx_cb() as the mailbox RX callback before requesting the mailbox channels, but initializes ipi->mbox_work only after both channels have been requested. Once the RX channel is active, a notification delivered before the late INIT_WORK() would make the callback queue an uninitialized work item. Initialize the work item before requesting channels. Also drain the work before freeing the mailbox state, after the channels have been released so no new callbacks can queue it. Use the same drain before freeing ipi from the channel request error paths, since the callback is already published there as well. This issue was found by our static analysis tool and then confirmed by manual review of the mailbox setup sequence. The callback is published before the channel requests complete, so the work item should be ready before the mailbox provider can invoke it. A QEMU PoC modeled a mailbox notification delivered after the RX callback became reachable but before the delayed INIT_WORK(). DEBUG_OBJECTS reported queueing an uninitialized work item from the zynqmp_r5_setup_mbox() path. This is sent as an RFC because the practical trigger depends on the ZynqMP IPI mailbox provider and firmware delivery timing. If the provider cannot invoke the RX callback until after setup returns, this is a defensive lifecycle cleanup rather than a reachable race on current systems.
CVE-2026-139776
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: soc: qcom: apr: clean up failed service registrations apr_add_device() publishes a service in svcs_idr before parsing the optional protection domain and registering the device. If device registration fails, put_device() frees the apr_device while its service remains in the IDR. A received packet can then dereference that stale entry. The property error path also leaves the service and allocation behind. Split device_register() into device_initialize() and device_add() so every pre-registration error can safely drop the device reference. Remove the service from the IDR on all failures after publication, then drain the RX workqueue before dropping the device reference. This prevents an in-flight lookup from outliving the device.
CVE-2026-139775
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: microblaze: MSR 및 pt_mode에 대한 ptrace 쓰기 차단 arch_ptrace()는 PT_SIZE보다 아래의 모든 정렬된 오프셋에 대해 PTRACE_POKEUSR를 허용한다. 여기에는 커널이 보유한 실행 상태인 저장된 머신 상태 레지스터와 pt_mode가 포함되며 일반 레지스터가 아니다. 예외로부터 반환될 때 rtbd는 MSR_UMS를 라이브 MSR_UM 비트로 복사한다. 권한 없는 동일 UID 트레이서가 따라서 트레이스의 저장 레지스터 프레임에서 MSR_UMS를 지우고 트레이스가 이를 통해 슈퍼바이저 모드로 재개되도록 할 수 있다. pt_mode 역시 이후 엔트리 경로가 프레임을 커널 상태인지 사용자 상태인지 분류하는지에 영향을 준다. 두 필드에 대해 PTRACE_POKEUSR 쓰기를 거부하되 읽기 접근은 유지한다.
CVE-2026-139774
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix possible use-after-free when freeing device BO When the DRM file descriptor is closed, amdxdna_client_cleanup() frees the client structure. If device BOs are still alive, freeing them may access abo->client and result in a use-after-free. Move amdxdna_gem_heap_free(), which accesses abo->client, before clearing abo->client in the BO close callback. Also track the heap BOs referenced by device BOs so they can be accessed without dereferencing abo->client.
CVE-2026-139773
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: sched/core: 프록시-실행 기여자(proxy-exec donor)를 훔치지 마십시오 try_steal_cookie()는 move_queued_task_locked()로 동일 쿠키를 가진 태스크를 이동시키기 전에 src->core_pick 및 src->curr를 훔치는 것을 피합니다. 프록시-실행이 있는 경우, src->donor는 현재 스케줄링 컨텍스트이며 src->curr와 다를 수 있습니다. 이를 훔치면 소스 런큐(source rq)가 현재로 간주하는 태스크를 이동시키고 해당 태스크에 대한 src의 스케줄러 상태가 남아 있게 됩니다. CFS의 경우 이로 인해 cfs_rq->curr가 훔친 엔티티를 가리키고, 소스 rq에서 다음 선택 시 WARN_ON_ONCE가 put_prev_entity()에서 발생합니다. 커밋 7de9d4f94638 ("sched: Start blocked_on chain processing in find_proxy_task()")은 프라이어를 처리하는 공정에서 공정 간 분리 로직을 조정하여 donor 태스크가 프록시를 실행하는 동안 마이그레이션되지 않도록 했습니다. try_steal_cookie()에도 비슷하게 적용하고 src->donor도 건너뜁니다.
CVE-2026-139772
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: sched/core: Don't proxy-exec unmatched cookie lock owners Core scheduling chooses a core-wide cookie before __schedule() installs the next task. With proxy-exec enabled, that task becomes the donor/scheduling context, and find_proxy_task() may then replace the execution context with the runnable mutex owner. If its cookie differs from the selected core cookie, running it would bypass core scheduling's cookie selection. When the final mutex owner found by find_proxy_task() does not match the selected core cookie, stop proxying the donor. If the current execution context is already in the blocked chain, fall back to idle like the existing proxy-exec retry paths do. Otherwise deactivate the donor and let __schedule() pick again. The mutex owner can be picked later under its own cookie. [jstultz: Added tweak to ensure we deactivate donor, not runnable owner]
CVE-2026-139771
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: wifi: mm81x: free the firmware scratch buffer on parse failures mm81x_fw_load_fw() allocates fw_buf before it inspects the image, but releases it only on the success path. The two early returns taken for a malformed image leave one firmware-sized allocation attached to the device, and mm81x_fw_flash() retries the load three times. Release it on those paths too, the way mm81x_fw_load_bcf() already does.
CVE-2026-139770
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: dlm: 회복 메시지의 잠금 모드를 검증합니다 DLM 회복 경로는 원격 노드로부터 수신된 rcom_lock 메시지로부터 잠금 상태를 복원합니다. 이 메시지의 잠금 모드는 로컬 lkb 상태에 유효한 DLM 잠금 모드 범위 내인지 검증 없이 그대로 복사됩니다. 나머지 DLM 코드에서는 lkb_rqmode와 lkb_grmode가 유효한 잠금 모드를 포함한다고 가정합니다. 특히, dlm_may_skip_callback()에서 LVB 콜백 처리는 잠금 모드를 dlm_lvb_operations 배열의 인덱스로 사용합니다: dlm_lvb_operations[prev_mode + 1][mode + 1] 회복 중에 잘못된 잠금 모드를 수신하면 이후 LVB 콜백 처리 중 경계 밖 읽기(out-of-bounds read)가 발생할 수 있습니다. 로컬 LKB 상태에 저장하기 전에 rl_rqmode와 rl_grmode를 검증합니다. 이는 DLM 코드의 나머지 부분이 요구하는 잠금 모드 불변성을 보존합니다. SVACE로 확인한 Linux Verification Center(linuxtesting.org)에서 발견되었습니다.
CVE-2026-139769
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: dlm: dlm_dump_rsb_name()에서 NULL 포인터 역참조를 수정 dlm_dump_rsb_name() 함수는 receive_rcom_lookup()에서 호출된다 특수 RCOM_LOOKUP 메시지에서 rc_id == 0xFFFFFFFF로 디버그 덤프가 요청될 때이다. dlm_dump_rsb_name()에 전달되는 자원 이름은 수신된 메시지에서 가져온 것이다. 로컬 해시 테이블에 이 이름의 RSB가 존재한다는 보장은 없다. dlm_search_rsb_tree()가 RSB를 찾으면 0을 반환하고 r에 유효한 포인터를 저장한다. 조회에 실패하면 -EBADR를 반환하고 r은 NULL로 남아 있다. 현재의 에러 처리 방식은 반대로 되어 있다: if (!error) goto out; 그 결과 dlm_dump_rsb()가 조회에 실패했고 r이 NULL일 때만 호출되어 NULL 포인터 역참조가 발생한다. Linux Verification Center(linuxtesting.org)에서 SVACE로 발견했다.