총 16,343건
CVE-2026-89875
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: media: ti: vpe: 스트림 해제 전 quiesce 오버플로 복구 FIFO 오버플로가 감지되면 VIP 오버플로 복구 작업자가 hardirq 핸들러에서 활성화되며, 리스트 완료 경로는 VPDMA 리스트의 private 포인터를 통해 스트림을 조회한다. 두 경로 모두 스트림, 포트 및 장치 상태를 계속 참조한다; 복구 작업자는 또한 파서와 VPDMA를 재설정하고, 디스크립터 리스트를 다시 채우며, 리스트별 IRQ를 다시 활성화한다. vip_stop_streaming()은 리스트별 IRQ를 마스킹하고 클리어하지만, hardirq 핸들러를 동기화하지도 않고 recovery_work를 비활성화하지도 않는다. 이미 큐에 들어간 recovery_work를 가진 오버플로 IRQ나 스트림 해제 시점에 진행 중인 리스트 완료 IRQ는 스트림 자원이 해제된 후에도 스트림을 역참조할 수 있다: 디스크립터 리스트는 파일 해제 시 vip_release_stream()에 의해 해제되고, 스트림 자체는 unbind/remove 시 free_stream()에 의해 해제된다. 스트림 소유 자원이 해제되기 전에 공유된 vip_quiesce_stream() 헬퍼를 통해 두 해제 지점에서 복구 작업자와 IRQ 핸들러를 모두 배수한다. disable_work_sync()는 대기 중인 recovery_work를 취소하고 실행 중인 인스턴스를 배수하며 비활성화 깊이를 증가시켜, 경쟁하는 IRQ 핸들러가 이후에 schedule_work()를 호출해도 작업 큐 스케줄러에서 거부되도록 한다: disable_work_sync()가 적용된 후에는 recovery_work가 다시 큐에 들어갈 수 없다. 작업자는 disable_work_sync()가 반환되기 전에 리스트별 IRQ를 다시 활성화할 수 있으며; disable_irqs()는 해당 소스를 마스킹하고 synchronize_irq()는 여전히 스트림 상태를 역참조하는 진행 중인 핸들러를 대기한다. vip_stop_streaming()에서는 파서를 중지하기 전에 헬퍼가 실행되는데, disable_work_sync()로 배수된 작업자가 종료 전에 파서를 다시 활성화할 수 있어 중지를 무효화할 수 있기 때문이다. recovery_work는 비활성 상태로 생성되고 vip_start_streaming()에서 IRQ 전에 활성화되어, 스트리밍 수명 주기 동안 활성화와 해제 비활성화를 짝지운다. 이 문제는 사내 정적 분석 도구에 의해 발견되었고 수동 코드 검토로 확인되었다.
CVE-2026-89874
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: avoid deleting unlinked ASC entry on link error v4l2_async_match_notify() creates ancillary media links before adding asc->asc_subdev_entry to sd->asc_list. If ancillary link creation fails, the function jumps to err_call_unbind while asc_subdev_entry has not been linked yet. Async connections are zero-allocated, so the list entry still has NULL next and prev pointers on this path. Calling list_del() on it can therefore dereference NULL instead of returning the original link creation error. Do not delete asc_subdev_entry from err_call_unbind. There is no list insertion to undo on this path; the bound callback and sub-device registration are the operations that need to be rolled back.
CVE-2026-89873
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: media: v4l2-ctrls: HEVC EXT SPS RPS 개수 검증 HEVC SPS 컨트롤은 디코더 드라이버가 일치하는 EXT SPS 동적 배열을 탐색하는 데 사용하는 단기 및 장기 RPS 개수를 포함한다. SPS 값이 64개의 단기 세트 및 32개의 장기 참조라는 HEVC 제한을 초과하는 경우 거부하여 드라이버가 이후에 해당 컨트롤을 넘어 인덱싱하지 못하도록 한다. 또한 음수 또는 양수 그림 개수가 16개 항목 배열을 초과하거나 결합된 델타-POC 개수가 HEVC DPB 최대값을 초과하는 EXT SPS ST RPS 항목도 거부한다.
CVE-2026-89872
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link In v4l2_fwnode_parse_link(), the remote endpoint fwnode reference is acquired using fwnode_graph_get_remote_endpoint(). This reference is properly released in the error paths, but it is leaked on the success path. Add the missing fwnode_handle_put() before returning 0 to prevent the reference leak. [Sakari Ailus: Fix subject prefix and coding style a little.]
CVE-2026-89871
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: video-i2c: fix kthread error pointer left in kthread_vid_cap on failure kthread_run() returns an ERR_PTR on failure, not NULL. When start_streaming() fails, data->kthread_vid_cap is left holding this error pointer instead of being cleared. This causes two subsequent bugs: 1. A future call to start_streaming() sees a non-NULL kthread_vid_cap and returns 0 (success) immediately, without actually starting the capture thread. 2. A call to stop_streaming() checks 'kthread_vid_cap == NULL' which is false for an error pointer, and proceeds to call kthread_stop() on the error pointer, leading to a kernel crash. Fix this by resetting kthread_vid_cap to NULL on failure before jumping to the error path.
CVE-2026-89870
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: media: zoran: 등록된 video_device를 두 번 해제하는 문제 방지 zoran_init_video_device()는 zoran_template을 통해 zoran_vdev_release()를 video_device 해제 콜백으로 설치한다. video_register_device()가 성공한 후, video_unregister_device()는 등록된 video_device 참조를 해제하며 V4L2 코어는 결국 해당 해제 콜백을 호출하여 video_device를 kfree() 한다. zoran_exit_video_devices()는 video_unregister_device()를 호출한 후 kfree(zr->video_dev)를 호출하여, 장치 해제 과정에서 동일한 video_device를 두 번 해제할 수 있었다. 직접적인 kfree() 호출을 제거하고 등록 해제 후 캐시된 포인터를 초기화한다. 사전 등록 실패 경로는 video_device가 등록되지 않았기 때문에 수동 해제를 유지한다. 이 문제는 정적 분석 검사 도구에 의해 발견되었고 수동 소스 검토로 확인되었다.
CVE-2026-89869
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: qcom: iris: use disable_irq() during power-off The IRQ is registered as a threaded IRQ. Using disable_irq_nosync() in iris_vpu_power_off() does not wait for an already queued threaded IRQ handler to complete before returning. As a result, a threaded IRQ handler may still run after the VPU has been powered down and access hardware registers after power-off. Replace disable_irq_nosync() with disable_irq() so the power-off path waits for any in-flight threaded IRQ handler to complete before returning.
CVE-2026-89868
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Add timeout while stop_streaming When stop_streaming is called, an infinite loop may occur in some cases. Add a bounded poll of the queue status: loop until the queues drain, sleeping briefly between polls, and bail out once VPU_DEC_STOP_TIMEOUT elapses.
CVE-2026-89867
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued Decoder instances sharing a VPU also share one v4l2_m2m job slot, released when the running context calls v4l2_m2m_job_finish(). While draining, device_run() defers job_finish() once EOS is sent (sent_eos), expecting a later finish_decode() (from a DEC_PIC completion IRQ) to release the slot. But the m2m core checks job_ready() only when a job is queued, not when it is dispatched. A job queued while draining can run after finish_decode() has already moved the instance to STOP and sent EOS. device_run() then runs in STOP, issues no DEC_PIC, yet still skips job_finish() - so no IRQ, no finish_decode(), and the shared slot is leaked, stalling every instance. With several v4l2h264dec instances in parallel, GStreamer hangs at EOS. Track whether the run actually queued a DEC_PIC (cmd_issued) and defer job_finish() only then. Otherwise finish the job immediately
CVE-2026-89866
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Resume device before setting EOS flag Setting the EOS flag talks to the firmware via send_firmware_command(), which accesses VPU registers. Both the STREAMOFF path (wave5_vpu_dec_job_abort()) and the V4L2_DEC_CMD_STOP path (wave5_vpu_dec_stop()) can run while the device is runtime suspended, so those register accesses hit powered-down hardware and the SoC raises an asynchronous SError, panicking the kernel: SError Interrupt on CPU3, code 0x00000000bf000000 -- SError send_firmware_command+0x2c/0x160 [wave5] wave5_vpu_dec_set_bitstream_flag+0x6c/0x80 [wave5] wave5_vpu_dec_update_bitstream_buffer+0x80/0xec [wave5] wave5_vpu_dec_job_abort+0x44/0xa0 [wave5] v4l2_m2m_cancel_job+0x110/0x19c [v4l2_mem2mem] v4l2_m2m_streamoff+0x24/0x140 [v4l2_mem2mem] Resume the device with pm_runtime_resume_and_get() around the EOS firmware command and release it with pm_runtime_put_autosuspend(), matching the runtime PM handling already done in wave5_vpu_dec_device_run().
CVE-2026-89865
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers The FRU and I2C bsg handlers stage their transfer in a DMA_POOL_SIZE (256-byte) bounce buffer obtained from dma_pool_alloc(), which does not zero the allocation. They initialize only a few leading bytes before handing the buffer to qla2x00_write_sfp(). qla2x00_write_sfp() can override the transfer length with a user-supplied value: if (len == 1) opt |= BIT_0; if (opt & BIT_0) len = *sfp; *sfp is the first byte of the (user-controlled) payload, so len can grow up to 255. The device then DMA-reads len bytes from the 256-byte pool buffer. Since only a small prefix was written (e.g. MAX_FRU_SIZE == 36 bytes for a FRU version, one byte for a FRU status register), the hardware reads past the initialized region and writes up to ~219 bytes of stale DMA-pool heap memory to the device flash. Allocate the buffer with dma_pool_zalloc() in all five FRU/I2C handlers so any bytes beyond the initialized data are zero rather than stale heap contents.
CVE-2026-89864
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound i2c->length in I2C bsg handlers struct qla_i2c_access carries a 16-bit length field alongside a fixed 64-byte buffer: struct qla_i2c_access { uint16_t device, offset, option, length; uint8_t buffer[0x40]; } __packed; qla2x00_write_i2c() and qla2x00_read_i2c() use the user-supplied i2c->length without any bounds check. i2c is overlaid on a 256-byte on-stack buffer and sfp is a 256-byte DMA-pool buffer, so a length up to 65535 overruns both: - write: memcpy(sfp, i2c->buffer, i2c->length) over-reads the stack and over-writes the sfp heap buffer, and qla2x00_write_sfp() then DMAs i2c->length bytes out of the 256-byte buffer. - read: qla2x00_read_sfp() DMAs i2c->length bytes into the 256-byte sfp, then memcpy(i2c->buffer, sfp, i2c->length) overflows the 64-byte buffer inside the on-stack array. A caller holding CAP_SYS_RAWIO can use this to corrupt the heap and the kernel stack. Reject requests whose length exceeds the buffer before any copy or DMA transfer in both handlers.
CVE-2026-89863
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: edif: RX SA 삭제 검사에서 NULL 포인터 역참조 수정 qla_chk_edif_rx_sa_delete_pending() 함수는 GET_CMD_SP(sp)를 통해 SCSI 명령을 얻고 즉시 cmd->sc_data_direction을 역참조한다. 해당 명령 포인터는 NULL일 수 있는데, 펌웨어가 이미 반환되었거나 중단된 명령에 대해 상태 완료를 게시할 수 있기 때문이다. 호출자 qla2x00_status_entry()는 동일한 상태 경로에서 이를 인지하고 GET_CMD_SP(sp)를 다시 가져와 NULL일 경우 "Command already returned" 메시지와 함께 종료하지만, 이 검사는 qla_chk_edif_rx_sa_delete_pending()가 이미 포인터를 역참조한 후에 실행되므로 NULL cmd는 인터럽트 컨텍스트에서 커널을 크래시시킨다. cmd가 NULL일 경우 cmd->sc_data_direction에 접근하기 전에 조기에 반환하도록 수정되었다.
CVE-2026-89862
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix BSG job leak on validate flash image error path qla28xx_validate_flash_image() returns QLA_SUCCESS (0) unconditionally, telling the FC BSG transport (fc_bsg_host_dispatch()) that the driver owns and will complete the request. But bsg_job_done() is guarded by "if (!rval)", so on the error path (rval == -EINVAL) neither the driver nor the transport completes the job. The request dangles until it times out, leaking block layer resources. Commit c2c68225b145 ("scsi: qla2xxx: Fix bsg_done() causing double free") added the "if (!rval)" guard to a batch of BSG handlers. That is correct for handlers that also return the error code (the transport then completes the job once via fail_host_msg), but this function returns QLA_SUCCESS unconditionally, so the guard turned a correct single completion into a leak. Always call bsg_job_done(): bsg_reply->result is DID_OK and the error is reported in vendor_rsp[0], and since the function returns 0 the transport will not complete the job a second time.
CVE-2026-89861
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: qla24xx_report_id_acquisition()에서 vport 참조 유지 포맷 1 경로에서, 가상 포트는 ha->vp_list에 위치하며 vport_slock을 보유하고 있지만, vp를 사용하기 전에 락이 해제된다: qla_update_host_map()가 호출되고 VP_IDX_ACQUIRED/REGISTER_FC4_NEEDED/ REGISTER_FDMI_NEEDED가 vp에 설정된다. 이 구간 동안 참조가 취해지지 않아, 동시에 qla24xx_deallocate_vp_id()가 vport를 해제하고 메모리를 반환할 수 있어, 해제 후 사용(use-after-free)이 발생할 수 있다. 일치하는 vp를 찾을 때 vport_slock 하에서 vport 참조(vref_count)를 취하고, vp의 마지막 사용 후에 이를 해제한다. qla24xx_deallocate_vp_id()는 vref_count가 0이 될 때까지 기다린 후 vport를 연결 해제하고 해제하므로 포인터가 유효하게 유지된다. 이는 이미 다른 ha->vp_list 순회에서 사용되는 참조 관례와 일치한다.
CVE-2026-89860
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: NVMe abort_work를 제출 시 한 번만 초기화 qla_nvme_fcp_abort()와 qla_nvme_ls_abort()는 schedule_work() 바로 전에 priv->abort_work에 대해 INIT_WORK()를 실행했다. INIT_WORK()는 work_struct를 재초기화하여 리스트 헤드를 재설정하고 대기 중인 비트를 지운다. 동일 명령에 대해 중복으로 abort가 발생하면(예: 동시 전송 해제와 타임아웃 기반 abort), 두 번째 INIT_WORK()가 이미 큐에 있는 작업 항목을 재초기화하여 workqueue 리스트를 손상시키고 충돌 또는 무한 루프 작업자를 초래할 수 있다. priv->abort_work를 명령 제출 시 한 번만 초기화하고, 기존의 per-command spin_lock_init(&priv->cmd_lock) 옆에 위치시키며, abort 경로에서는 schedule_work()만 호출하도록 변경했다. schedule_work()는 작업 항목이 아직 대기 중일 때 아무 작업도 하지 않으므로, 반복된 abort가 진행 중인 작업 항목을 방해하지 않는다. abort_work가 완료된 후 최종 kref_put()/release 콜백이 실행될 때까지 명령은 전송 계층으로 반환되지 않으므로, 작업 항목은 priv가 재사용되기 전에 유휴 상태이며, 제출 시 한 번만 실행되는 INIT_WORK()는 안전하다.
CVE-2026-89859
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak qla2x00_do_dport_diagnostics() allocates the qla_dport_diag response buffer with kmalloc_obj() (non-zeroing) and, on success, copies the full sizeof(*dd) back to user space via sg_copy_from_buffer(). The inbound sg_copy_to_buffer() only fills as many bytes as the user request payload provides, and qla26xx_dport_diagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space. Allocate with kzalloc_obj(), matching qla2x00_do_dport_diagnostics_v2().
CVE-2026-89858
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions() qla2x00_update_fru_versions() copies the user-supplied BSG request into a fixed 256-byte stack buffer (bsg[DMA_POOL_SIZE]) and then iterates list->count times over the qla_image_version array embedded in that buffer, advancing the image pointer each iteration. count is taken directly from user input with no upper bound, while only (DMA_POOL_SIZE - sizeof(list->count)) / sizeof(struct qla_image_version) = 6 entries actually fit. A larger count walks the image pointer off the end of the stack buffer, reading adjacent kernel stack memory and sending it to the device via qla2x00_write_sfp(). Reject requests whose declared count does not fit in the buffer.
CVE-2026-89857
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: NVMe LS 거부를 보낼 때 qpair 락을 유지함 qla_nvme_ls_reject_iocb()는 __qla2x00_alloc_iocbs()를 통해 요청 링에서 할당하고 진행하는데(이는 hardware_lock이 유지된다고 가정함) qla2x00_start_iocbs()를 호출하여 링을 진행시키고 요청-인 도어벨을 울리지만, 자체적으로 락을 취하지 않는다. 이 함수의 두 호출자는 프로듀서 락이 유지되지 않은 상태에서 호출한다: - qla_nvme_xmt_ls_rsp(), NVMe-FC .xmt_ls_rsp 전송 콜백의 오류 경로에서, - qla2xxx_process_purls_pkt(), purex 작업/DPC 컨텍스트에서 실행됨. 두 호출자 모두 ha->base_qpair를 사용하며, 이의 qp_lock_ptr은 hardware_lock이므로 기본 링에서 정상 I/O 제출과 동시에 실행되어 링 프로듀서 상태를 손상시켜 명령이 중복되거나 누락될 수 있다. 세 번째 호출자인 qla2xxx_process_purls_iocb()는 qla24xx_process_response_queue() 내에서 qpair 락이 이미 유지된 상태로 실행되어 안전하다; 이 때문에 헬퍼 함수 내부에서 락을 취할 수 없는데, 그렇다면 응답 경로에서 hardware_lock을 재귀적으로 다시 획득하게 된다. 두 락이 없는 호출자 주위에 qp_lock_ptr을 취하고 헬퍼 함수를 호출자 락 유지로 문서화한다. 두 호출자 모두 프로세스 컨텍스트에서 실행되므로 spin_lock_irqsave()를 사용하며, 락 영역 내에서는 아무 것도 슬립하지 않는다.
CVE-2026-89856
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: MSI-X에서 파생된 큐 수를 클램프하여 잘림 현상 방지 ha->msix_count는 u16이지만 ha->max_req_queues, ha->max_rsp_queues 및 ha->max_qpairs는 u8이다. 따라서 큐 수를 "ha->max_req_queues = ha->msix_count - 1"로 파생하면 잘림 현상이 발생한다: 257개의 MSI-X 벡터를 광고하는 보드(또는 잘못 구성되었거나 악의적인 핫플러그 장치)는 msix_count - 1 == 256이 되어 0으로 잘린다. MSI-X 수가 1인 경우에도 0으로 설정되며, 타겟 모드에서 이후 "ha->max_req_queues--"는 0에서 255로 언더플로우된다. 카운트가 0일 때 qla2x00_alloc_queues()는 kzalloc_objs(struct req_que *, 0)를 호출하는데, 이는 NULL이 아닌 ZERO_SIZE_PTR를 반환한다. 따라서 할당 검사가 통과되고 이후 "ha->req_q_map[0] = req"가 ZERO_SIZE_PTR를 역참조하여 메모리를 손상시키거나 커널을 충돌시킨다. qla_calc_queue_count()를 추가하여 파생된 값을 [1, QLA_MAX_QUEUES - 1] 범위로 클램프하여 항상 u8에 맞고 0이 되지 않도록 하며, 세 곳의 파생 위치(qla25xx_iospace_config(), qla83xx_iospace_config(), qla24xx_enable_msix())에서 이를 사용한다. 또한 타겟 모드 감소 연산을 보호하여 0이 다시 발생하지 않도록 하여 max_qpairs의 언더플로우를 방지한다.