총 15,720건
CVE-2026-139077
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: drm/nouveau: 제로 사이즈 notifier 객체 할당 거부 nouveau_abi16_ioctl_notifierobj_alloc()가 사용자 공간에서 제어하는 info->size를 size_max와 size_min으로 모두 하한 없이 nvkm_mm_head()에 전달합니다. 제로 사이즈는 할당기의 "e - s < size_min" 게이트를 만족시키며(size_min이 0이면 부호 없는 비교가 무효화되므로) 제로 길이 노드를 만든 뒤, args.limit = ntfy->node->offset + ntfy->node->length - 1; 오버플로가 발생합니다(오프셋 0, 길이 0 -> 0xffffffff)로 인해 대략 4 GiB의 DMA 윈도우가 초과됩니다. DMA 객체 생성자는 시작값이 limit보다 큰 경우만 거부하므로 유효하게 정렬된 [base, base + 0xffffffff] 범위가pass되어 GPU DMA 컨텍스트에 프로그래밍됩니다. 이 ioctl은 DRM_RENDER_ALLOW이므로 프리-페르미(Fermi) 하드웨어에서 렌더 노드 클라이언트가 이를 트리거할 수 있습니다. 제로 사이즈 요청을 할당하기 전에 거부합니다.
CVE-2026-139076
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: drm/nouveau/svm: svmm를 해제하기 전에 드레인 핸들러를 실행 SVM_fault 핸들러 nouveau_svm_fault()는 각 장애를 svm->mutex 아래에서 nouveau_svmm을 조회하고, 이를 장애 배열에 캐시한 다음 svm->mutex를 해제하고 차단되는 장애들(mmu_interval_notifier_insert(), hmm_range_fault())을 통해 svmm을 역참조합니다. nouveau_svmm은 참조 계산(refcounting)되지 않습니다. DRM 파일을 닫을 때 nouveau_svmm_fini() -> mmu_notifier_put()이 이를 비동기로 call_srcu()를 통해 해제하고 핸들러를 기다리지 않으며, mmget_not_zero()가 svmm이 아닌 mm을 고정시킵니다. fault 버퍼의 flush_work()는 디바이스 제거 및 일시 중지 시에만 실행되며 닫힐 때에는 실행되지 않으므로 닫기와 동시에 처리되는 장애가 해제된 svmm을 역참조할 수 있습니다. 해당 인스턴스는 같은 닫기에서 이미 nouveau_svmm_part()에 의해 이미 연결 해제되었으므로 새 장애가 이 인스턴스로 해결될 수 없습니다. 닫기 직전에 핸들러를 드레인하고(누런 drm->svm 확인) 해제하기 전에 드레인합니다. 장치 해제에서 nouveau_svm_fini()가 먼저 실행되어 drm->svm(NULL)를 차단하고 버퍼를 플러시한 후 해제하므로 핸들러는 이미 드레인되어 있고, 클라이언트별 닫기에서는 drm->svm이 활성화되어 있으며 flush가 실행됩니다.
CVE-2026-139075
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: drm/nouveau: 울프를 취소하는 대신 펜스 uevent 작업을 비활성화 nouveau_fence_context_del()는 이벤트가 아직 활성화된 상태에서 uevent 작업을 소모합니다: cancel_work_sync(&fctx->uevent_work); nouveau_fence_context_kill(fctx, 0); nvif_event_dtor(&fctx->event); nouveau_fence_wait_uevent_handler()는 작업을 무조건 큐합니다: schedule_work(&fctx->uevent_work); return NVIF_EVENT_KEEP; 따라서 cancel_work_sync()가 반환된 후 도착한 비정지(interrupt)가 다시 작업을 활성화합니다. 창은 두 단계로 닫히며, 어느 쪽도 소모(drain) 단계가 아닙니다. kill은 마지막 fence가 notify_ref를 신호할 때 이벤트를 차단하고, 이는 atomic_xchg(&ntfy->allowed, 0) (nvkm/core/event.c:104)에 도달하며, nvkm_event_ntfy()는 허용되지 않는 ntfy를 건너뛰게 됩니다(:183). 이는 추가 핸들러의 시작은 막지만, nvkm_event_ntfy() 안에 이미 들어가 있는 핸들러는 막지 못합니다. 이때 이벤트는 wait = false로 생성되므로(nouveau_fence.c:201) nvkm_event_ntfy_block_()은 이를 리스트에 남겨 두고 event->list_lock은 절대 얻지 않습니다. 단 nvif_event_dtor()가 이 핸들을 기다립니다: nvkm_event_ntfy_del() (:141)은 nvkm_event_ntfy_remove()를 통해 write_lock_irq()를 취합니다(:84). 어떤 식으로든 재활성화는 드레인 후에 일어나며, 호출자는 바로 그 다음에 참조를 해제합니다. 예를 들어 nv84_fence_context_del(): nouveau_fence_context_del(&fctx->base); chan->fence = NULL; nouveau_fence_context_free(&fctx->base); 이는 fctx->fence_ref에 대한 kref_put()이므로, 컨텍스트가 종료되는 동안에만 fence들이 자신들의 참조를 보유합니다. 안전망이 없으므로, 아무도 참조하지 않으면 그 시점에 0이 되면서 nouveau_fence_context_put()이 fctx를 kfree()하는데, 이때 작업 큐의 아이템은 이미 해제된 메모리를 역참조하게 됩니다. &fctx->uevent_work는 그 할당에 포함되어 있어, 워크아이템을 주워 들면 워크큐가 메모리를 역참조합니다. CONFIG_DEBUG_OBJECTS_WORK 및 CONFIG_DEBUG_OBJECTS_FREE가 설정된 경우, 아직 큐된 작업 항목의 kfree()는 활성 객체의 해제로 보고됩니다. 라이브 메모리에서 재활성화된 작업은 더 할 일이 남아 있지 않습니다: nouveau_fence_context_kill()은 fctx->pending을 비우고 fctx->killed를 fctx->lock 아래에 설정하며, nouveau_fence_emit()은 새로 큐잉하기보다 -ENODEV를 반환하고, nouveau_fence_update()는 nvif_event_block()에 도달하는 경우에만 해당 리스트에서 어떤 것을 신호했습니다. 결함은 해제된 메모리 접근이며, 작업이 발견했을 내용이 아닙니다. G84 이후의 칩에서만 이 현상을 일으킬 수 있습니다: nouveau_fence_context_new()는 priv->uevent가 비었으면 nvif_event_ctor()보다 먼저 반환하며, nv84_fence_create()가 그것을 설정하는 유일한 위치입니다. nv84_fence_context_del()는 이들 모든 컨텍스트의 context_del이며, nvc0_fence_create()와 gv100_fence_create()는 nv84_fence_create()를 기반으로 구성되고, context_new만 재정의합니다. disable_work_sync()를 사용합니다. 이 함수는 cancel_work_sync()처럼 작동하며, 워크의 비활성화 카운트를 증가시키고, 그 후에는 어떤 시도도 @work를 큐에 넣지 못하고 false를 반환합니다(kernel/workqueue.c, disable_work())를 수행합니다. 핸들러의 schedule_work()는 재활용을 할 수 없고 teardown 순서는 그대로입니다. nvif_event_dtor() 이후 두 번째로 드레인하는 것도 창을 닫아버립니다. 더 새로운 API가 없으면: nvkm_event_ntfy_remove()가 반환된 후에는 핸들러가 시작되거나 실행 중인 상태일 수 없으므로 그 지점을 넘겨 재활성화가 일어나지 않습니다. disable_work_sync()가 여기서는 두 가지 대신 하나의 동기화 포인트가 필요하고, 워크가 큐에 들어가는 것을 막으므로 정리 후에 제거하는 것보다 낫습니다. 이 방식은 DRM 계열(drml xen drm/panthor, drm_pagemap)에서도 합의되었습니다. 작업이 아니라 이벤트를 차단하는 것도 옵션이 아닙니다: fctx->event는 wait = false로 생성되었으므로 nvkm_event_ntfy() 안에 이미 있는 핸들러가 여전히 워크를 큐에 넣을 수 있습니다. 참고로 백포트에 대하여 ---truncated---
CVE-2026-139074
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: cancel the DP IRQ work before freeing the connector nouveau_connector_destroy() tears the two nvif events down and then frees the connector, but never cancels the work the IRQ event queues: nvif_event_dtor(&nv_connector->irq); nvif_event_dtor(&nv_connector->hpd); kfree(nv_connector->edid); ... kfree(connector); nouveau_connector_irq() queues that work unconditionally: schedule_work(&nv_connector->irq_work); return NVIF_EVENT_KEEP; A DP IRQ arriving just before nvif_event_dtor() therefore leaves nv_connector->irq_work on the system queue past the kfree(). When it runs, nouveau_dp_irq() derives both nv_connector and connector from the work_struct and dereferences them, and goes on to take outp->dp.hpd_irq_lock. There is no cancel_work_sync() for irq_work anywhere in the driver, so nothing else covers this. Add it after the event teardown, where no further work can be queued, and before anything is freed. Reported by the Sashiko review bot as a pre-existing issue, in its review of an earlier nv04 FIFO series of mine, and confirmed against the source.
CVE-2026-139073
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq nouveau_dp_irq() looks the encoder up and dereferences it in the same breath, five lines before testing it: struct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP); struct nouveau_drm *drm = nouveau_drm(outp->base.base.dev); ... if (!outp) return; find_encoder() walks the connector's possible encoders and returns NULL when none of them matches the requested type, so the NULL test is not decoration: it is the author saying this can happen. The initialiser above it dereferences the same pointer regardless. The NULL test predates the dereference. commit 773eb04d14a1 ("drm/nouveau/disp: expose conn event class") turned nouveau_dp_irq() into a work callback, and since the drm pointer was no longer passed in as an argument it was recovered from the encoder in the declaration block, which put the dereference above the existing test. Move the drm lookup below the test. No functional change when outp is non-NULL.
CVE-2026-139072
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: drm/amdgpu: 새로운 VM 업데이트 작업을 할당한 후 dw 추정치를 재계산 amdgpu_vm_sdma_update()는 현재 작업의 남은 자유 dwords 수를 로컬 변수에 보관합니다. 작업에 여유가 없으면 커밋되고 새 작업이 할당되지만 그 로컬 변수는 새로 제출된 작업을 설명하도록 새로 고쳐지지 않습니다. 그런 상태 정보가 있으면 새 작업에 들어맞는 PTE 수를 결정하는 데 사용됩니다. copy_pte_num_dw + 7이거나 그보다 한 개 더 많을 경우 결과는 0이 됩니다. copy_pte()는 전송 크기를 count * 8 - 1로 인코딩하므로, 카운트가 0이면 IB 풀 내부에서 시작하는 1GB 복사를 엔진에 요청합니다. 이는 풀의 끝을 넘고, 그 위의 첫 매핑되지 않은 GART 페이지에서 접근 오류가 발생하며 링이 정지합니다. 새로 할당된 비어 있는 작업에서 추정치를 다시 초기화합니다. 이 작업은 비어 있어 예산이 충분합니다.
CVE-2026-139071
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: streamzap: Add missing rc_unregister_device() If usb_submit_urb() fails during probe, then the error path is missing a call to rc_unregister_device(), which will leak various things like the input device.
CVE-2026-139070
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: redrat3: Ensure we don't read beyond the end of the packet The length and offset is provided by the usb device, so it should be validated.
CVE-2026-139069
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: sunxi-cir: Ensure no more interrupts can occur before free Only call rc_free_device() once the hardware has been stopped.
CVE-2026-139068
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: meson-ir-tx: Ensure rc_free_device() is called on unbind Make rc_dev devm managed.
CVE-2026-139067
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: ir-hix5hd2: Ensure rdev is setup before interrupts are enabled Once the interrupt handler is enabled, priv->rdev can be used. Ensure it is setup correctly so there is no race condition.
CVE-2026-139066
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: finish the job on device_run() error paths mxc_jpeg_device_run() returns early through a shared "end" label on several error paths (no free slot, mxc_jpeg_alloc_slot_data() failure, or missing buffers or queue data), and none of them calls v4l2_m2m_job_finish(). Since the delayed work is queued only after the hardware is started, those paths neither finish the job directly nor queue timeout work that could finish it later. The job is left with TRANS_RUNNING set, so the wait_event() in v4l2_m2m_cancel_job() (reached from v4l2_m2m_ctx_release() at close) waits indefinitely and the close hangs. mxc_jpeg_alloc_slot_data() uses dma_alloc_coherent(), so the failure path is reachable under memory pressure. Return the src/dst buffers with VB2_BUF_STATE_ERROR and call v4l2_m2m_job_finish() on those paths: paths that have buffers use a "buf_finish" label; the no-buffer path uses "job_finish" directly. This mirrors the existing jpeg_parse_error path. This bug was found by static analysis.
CVE-2026-139065
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: udf: LVID 구현 사용 필드의 공간이 충분한지 확인 udf_lvid_valid()는 LVID에 모든 테이블과 구현 사용 필드의 보고된 길이가 들어갈 충분한 공간이 있는지 확인합니다. 그러나 보고된 길이가 OSTA 명세가 요구하는 logicalVolIntegrityDescImpUse 구조를 담기에 충분한지 확인하지 않습니다. 이로 인해 적절히 손상된 UDF 파일시스템에서 LVID 버퍼의 끝을 초과하는 접근이 발생할 수 있습니다. 길이 검사를 추가합니다.
CVE-2026-139064
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ipc/mqueue: release notification resources during inode eviction mqueue_flush_file() removes an mq_notify() registration only when the closing task belongs to the thread group stored in notify_owner. A task in a separate thread group created with CLONE_FILES can register SIGEV_THREAD notification and exit without closing the shared file table. If another thread group then unlinks and last-closes the queue, ->flush() skips the registration and inode eviction loses the only pointers to its resources. The orphaned registration permanently retains the notification skb, its netlink socket, a pid reference and a user namespace reference. An unprivileged process can repeat the sequence with new queues and sockets. No inode users remain during eviction. Remove any stale registration there after dropping info->lock, since netlink_sendskb() may release the final socket reference.
CVE-2026-139063
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: remoteproc: elf_loader: Bound the section header table The rproc_elf_sanity_check() only checks the image is big enough to hold one section header. But find_table() walks e_shnum of them, and first dereferences the header at e_shstrndx to locate the section name table. Both fields are u16 and both come from the image, so an e_shstrndx of 65535 reads about 4 MB past the buffer. The commit 9f9967fed9d0 ("soc: qcom: mdt_loader: Ensure we don't read past the ELF header") added the same check to the MDT loader, and says the header "is sanitized beforehand" under remoteproc. That is what this patch makes true. Check e_shoff against the image size first, so the two bounds can use size_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The bounds are separate because e_shnum may be zero while find_table() still reads the e_shstrndx header.
CVE-2026-139062
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: soc: qcom: geni-se: Fix write to read-only firmware buffer geni_find_protocol_fw() casts fw->data to a non-const struct se_fw_hdr pointer and writes back the rounded-up fw_size value: sefw->fw_size_in_items = cpu_to_le16(fw_size); The firmware subsystem maps the firmware blob read-only. Writing through the cast pointer causes a level-3 permission fault on AArch64 and crashes the kernel during driver probe. The write-back is no longer necessary: geni_find_protocol_fw() now propagates the rounded size to the caller via fw_size_out. Remove the write-back and make sefw (and the hdr pointer in the caller) const-correct.
CVE-2026-139061
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: udf: validate the device specification EA before using it udf_get_extendedattr() bounds an extended attribute only against struct genericFormat, which is 12 bytes. A type-12 device specification is struct deviceSpec, which is 24 bytes plus a flexible impUse array. Thus a corrupted filesystem can contain extended attribute that is accepted by udf_get_extendedattr() but udf_write_inode() or udf_read_inode() may access beyond the end of provided buffer. Provide a udf_device_spec_valid() check to validate correctness of extended attribute that is a deviceSpec. While here, check the result of udf_add_extendedattr() before dereferencing it as it can return NULL in case of error. [JK: Removed duplicated validity checks]
CVE-2026-139060
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: microblaze: don't clobber r3/r4 restored by rt_sigreturn ret_from_trap begins by storing the system call return values r3 and r4 back into the saved user pt_regs. That is right for an ordinary system call, but sys_rt_sigreturn() returns through the same path and has to be transparent: restore_sigcontext() has just filled pt_regs from the signal frame, and every register must reach userspace exactly as saved. The two stores overwrite the restored r3/r4 with whatever the C function left in those registers. Only r4 is actually lost, and that follows from how sigreturn is written everywhere rather than from chance. Architectures have sys_rt_sigreturn() return the restored return-value register precisely so that this writeback stores the restored value -- arm returns regs->ARM_r0, riscv and csky regs->a0, arc regs->r0 -- and microblaze does the same through *rval_p = regs->r3 in restore_sigcontext(). But the entry macros treat r3 and r4 as a pair, so ret_from_trap writes back two registers while a C function has only one return value; nothing carries the restored r4. Commit 791d0a169b91 ("microblaze: Fix sys_rt_sigreturn_wrapper") introduced this in v2.6.37. The old wrapper saved r3/r4 before the call and reloaded them from pt_regs afterwards; switching brlid to brid removed the only point where they were reloaded, and the stores have been overwriting them ever since. Fix it the way the sibling paths already behave: ret_from_irq and ret_from_exc restore the full register set and do not perform these stores at all. Label the instruction after the stores ret_from_trap_no_rval and enter there, biasing r15 by -8 so that the ABI return "rtsd r15, 8" lands on it; naming the entry rather than computing ret_from_trap + 8 keeps it correct if the number of stores ever changes. Restoring the old save/reload would work too, but costs four memory accesses and a branch to undo damage that is better not done. Any value the compiler keeps in r4 across a signal is lost. The tightest windows are the lwx/swx compare-and-swap retry loops gcc emits for atomics: in uClibc-ng's libc.so alone, 50 of 364 such loops hold the address in r4. This is not specific to one libc -- musl passes the address as "r"(p), and glibc has no microblaze atomic-machine.h and so uses gcc's __atomic builtins, which expand the same way. Triggering it needs threads plus a signal storm, which is why it survived 15 years. Reproduced on qemu-system-microblazeel (petalogix-s3adsp1800) by running the uClibc-ng NPTL test tst-eintr1 40 times against an unchanged userspace: on v7.2 built with gcc 16.2.0, 23 of 40 iterations died with SIGSEGV without this patch and 0 of 40 with it; on v7.0 built with gcc 12.5.0 the same comparison gave 6 of 40 against 0 of 40. The register dump of a failing iteration shows the signature: a zero r4 and a fault at address 0, while r3 came back intact.
CVE-2026-139059
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: microblaze: preserve the MSR carry flags across signals setup_sigcontext() and restore_sigcontext() copy r0-r31, pc, ear, esr and fsr to and from the signal frame but never touch MSR. The interrupted MSR is therefore dropped from the signal context entirely: the handler's ucontext does not expose it, a handler cannot adjust the resumed arithmetic flags through uc_mcontext.regs.msr, and -- because restore_sigcontext() leaves regs->msr as whatever the rt_sigreturn trap left in it -- the interrupted context resumes with the carry produced by the syscall entry path (_user_exception does "addi r14, r14, 4", which writes carry), not with its own. Other architectures round-trip the user-visible flags through the signal frame (arm's cpsr, csky's carry, x86's eflags), so a handler can both read and adjust the resumed flags; purely privileged status registers such as riscv's sstatus are left out. MicroBlaze should do the same for the user-writable bits. Concretely, MSR[C] (carry) is lost across signal delivery. Code that keeps a live carry across a point where a signal can be delivered -- for example an lwx/swx compare-and-swap retry loop, between the swx and the carry test -- resumes with the handler's carry and mis-evaluates the result; the same failure class as the rt_sigreturn r3/r4 clobber, reached through a different register. Demonstrated under qemu-system-microblazeel (machine petalogix-s3adsp1800): a handler that sets MSR_C in uc_mcontext.regs.msr has no effect before this change (0 of 132 in-window signals propagated) and takes effect after (130 of 132). Save MSR in setup_sigcontext() so the handler's ucontext exposes it. The signal frame is user-writable, so restore_sigcontext() must not restore it verbatim: MicroBlaze packs the user-writable carry (MSR_C, MSR_CC) and the privileged control bits (MSR_UM, MSR_VM, MSR_IE, MSR_EE, ...) into the one register, and a verbatim restore would let userspace alter privileged return state -- rtbd derives the resumed mode from MSR_UMS/MSR_VMS. Restore only MSR_C | MSR_CC from the frame and keep the rest from the current regs->msr. This mirrors x86's restore_sigcontext(), which masks the restored EFLAGS to FIX_EFLAGS for the same reason; arches whose status register is purely privileged (e.g. riscv sstatus) simply do not restore it at all. Comment on the exposed MSR reworded: it is not read-only, restore_sigcontext() applies MSR_C|MSR_CC from the frame. Author's Signed-off-by kept; he agreed to comment and changelog cleanups.
CVE-2026-139058
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: memory: brcmstb_dpfe: Bounds check DCPU-supplied MSG_ARG_COUNT A compromised or buggy DCPU coprocessor can make any user who reads world-readable /sys/devices/.../dpfe_info|dpfe_dram trigger a kernel stack out-of-bounds read of arbitrary extent. This bounds checks chksum_idx against MSG_FIELD_MAX after reading the response from DCPU message RAM.