총 16,407건
CVE-2026-68232
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: Fix MM reference leak in drm_gpusvm_range_evict If kvmalloc_array() fails in drm_gpusvm_range_evict(), the MM reference acquired earlier is not released, resulting in a reference leak. Fix this by dropping the MM reference on the kvmalloc_array() failure path.
CVE-2026-68231
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: airspy: Return queued buffers on start_streaming() failure The vb2 framework hands buffers to the driver via buf_queue() before calling start_streaming(). If start_streaming() returns an error without first returning those buffers via vb2_buffer_done(), vb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued buffers leak. airspy_start_streaming() returned -ENODEV early when the USB device had been disconnected (s->udev == NULL) without returning any buffers that buf_queue() had already accepted. Take v4l2_lock first and jump to the existing err_clear_bit label, which already drains s->queued_bufs via vb2_buffer_done(..., VB2_BUF_STATE_QUEUED) before unlocking. This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo: Return queued buffers on start_streaming() failure").
CVE-2026-68230
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: media: amlogic-c3: ae 및 awb 구성에 대한 검증 추가 zones_num이 zone_weight보다 큰 경우 잘못된 메모리 접근을 방지합니다. 이 패치는 아래의 smatch 오류를 수정합니다: drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() 오류: 버퍼 오버플로우 'cfg->zone_weight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() 오류: 버퍼 오버플로우 'cfg->zone_weight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() 오류: 버퍼 오버플로우 'cfg->zone_weight' 255 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() 오류: 버퍼 오버플로우 'cfg->zone_weight' 255 <= u32max
CVE-2026-68229
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: media: cedrus: 무효 H.264 참조 리스트 항목 건너뛰기 Cedrus는 stateless 슬라이스 제어에서 H.264 ref_pic_list0/ref_pic_list1 항목을 소비하고, 이후 이들의 인덱스를 사용해 _cedrus_write_ref_list()에서 decode->dpb[]를 조회합니다. cedrus_try_ctrl()에서 이러한 제어를 거부하면 기존 사용자 공간이 깨질 수 있는데, stateless H.264 참조 리스트는 missing reference에 대해 범위를 벗어난 인덱스를 합법적으로 가질 수 있기 때문입니다. 대신 Cedrus의 실제 DPB 조회를 보호하고 고정된 V4L2_H264_NUM_DPB_ENTRIES 배열에 맞지 않는 인덱스를 가진 항목은 건너뛰도록 합니다. 이 수정은 드라이버 사용 위치에 국한되며, 잘못 형성되었거나 지원되지 않는 참조 리스트 항목으로 인한 범위 밖 읽기(out-of-bounds reads)를 피합니다.
CVE-2026-68228
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: media: chips-media: wave5: finish_encode에서 src_buf 제거 이동 인코더 처리 중, IRQ 응답이 v4l2_m2m_buf_done 호출을 통해 사용자가 공간으로 버퍼를 반환하는 경우가 있을 수 있습니다. 이때 사용자는 start_encode가 준비 큐에서 인덱스를 제거하기 전에 동일한 버퍼를 큐에 다시 넣을 수 있습니다. 그로 인해 ready 큐에 있는 버퍼가 __list_add의 WRITE_ONCE(prev->next, new) 호출로 인해 자기 자신으로 순환하는 경우가 발생할 수 있습니다. 결국 __list_del이 호출될 때 루프가 이미 만들어져 있어 ready 큐 리스트 머리와의 연결 포인터가 없으며 포인터가 오염됩니다. 마지막으로 버퍼가 제거되기 전에 DONE으로 표시되어서는 안 됩니다. 제거를 finish_encode으로 완전히 이관합니다.
CVE-2026-68227
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the driver state lifetime so that it is released on driver unbind.
CVE-2026-68226
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: cx23885: add ioremap return check and cleanup Add a check for the return value of pci_ioremap_bar() in cx23885_dev_setup(). If ioremap for BAR0 fails, release the already allocated PCI memory region, decrement the device count, and return -ENODEV. This prevents a potential null pointer dereference and ensures proper cleanup on memory mapping failure.
CVE-2026-68225
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: i2c: alvium: fix critical pointer access in alvium_ctrl_init The current implementation of alvium_ctrl_init creates several controls in function alvium_ctrl_init and uses the returned pointer without check. That can cause write access over NULL-pointer for several controls. The reworked code checks the pointers before adding flags.
CVE-2026-68224
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: mali-c55: Fix possible ERR_PTR in enable_streams The media_pad_remote_pad_unique() function returns either a valid pointer or an ERR_PTR() on failure (-ENOTUNIQ if multiple links are enabled, -ENOLINK if no connected pad is found). The return value was assigned directly to isp->remote_src and dereferenced in the next line without checking for errors, which could lead to an ERR_PTR dereference. Add proper error checking with IS_ERR() before dereferencing the pointer. Also set isp->remote_src to NULL on error to maintain consistency with other error paths in the function.
CVE-2026-68223
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: meson: vdec: Fix memory leak in error path of vdec_open The vdec_open() function previously jumped directly to err_m2m_release when vdec_init_ctrls() failed, skipping release of the m2m context. This caused a resource leak. Fix it by introducing a proper err_m2m_ctx_release label that calls v4l2_m2m_ctx_release(sess->m2m_ctx) before releasing the m2m device. This was identified via kmemleak: unreferenced object 0xffff0000205d6878 (size 8): comm "v4l_id", pid 5289, jiffies 4294938580 hex dump (first 8 bytes): 40 d2 49 18 00 00 ff ff @.I..... backtrace (crc d3204599): kmemleak_alloc+0xc8/0xf0 __kvmalloc_node_noprof+0x60c/0x850 v4l2_ctrl_handler_init_class+0x1b4/0x2e8 [videodev] vdec_open+0x1f4/0x788 [meson_vdec] v4l2_open+0x144/0x460 [videodev] chrdev_open+0x1ac/0x500 do_dentry_open+0x3f0/0xfe8 vfs_open+0x68/0x320 do_open+0x2d8/0x9a8 path_openat+0x1d0/0x4f0 do_filp_open+0x190/0x380 do_sys_openat2+0xf8/0x1b0 __arm64_sys_openat+0x13c/0x1e8 invoke_syscall+0xdc/0x268 el0_svc_common.constprop.0+0x178/0x258 do_el0_svc+0x4c/0x70
CVE-2026-68222
번역 확인 필요2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었습니다: media: msi2500: start_streaming() 실패 시 대기 중인 버퍼를 반환 vb2 프레임워크는 start_streaming()을 호출하기 전에 버퍼를 buf_queue()를 통해 드라이버에 전달합니다. start_streaming()이 에러를 반환한 후 먼저 vb2_buffer_done()를 통해 해당 버퍼를 반환하지 않으면 vb2_start_streaming()이 WARN_ON(owned_by_drv_count)을 발동하고 대기 중인 버퍼가 누수됩니다. msi2500_start_streaming()에는 이 함정을 모두 가로채는 다섯 개의 에러 경로가 있었고 호출 간 ret를 덮어쓰기 때문에 더 혼란스러웠습니다: - USB 디바이스가 이미 연결 해제된 경우의 -ENODEV - mutex_lock_interruptible()가 인터럽트될 때의 -ERESTARTSYS - msi2500_set_usb_adc() 실패: 다음 호출(msi2500_isoc_init)에 의해 ret가 조용히 덮어써져서 오류가 완전히 손실 - msi2500_isoc_init() 실패: cleanup_queued_bufs가 호출되었지만 함수가 msi2500_ctrl_msg()로 넘겨져 원래 오류를 다시 덮어씀 - msi2500_ctrl_msg(CMD_START_STREAMING) 실패: 전혀 정리 단계가 없어, 드라이버가 사용할 수 없는 상태로 URB를 제출한 채 남김 에러 경로를 작은 goto 체인으로 Consolidate(통합)했습니다. 이제 모든 실패는 함수 실행을 중단하고, 대기 중인 버퍼 목록을 비우며, 실제 오류 코드를 반환합니다. ctrl_msg 실패 경로는 stop_streaming이 기존의 VB2_BUF_STATE_ERROR 구문을 유지하면서 이전의 msi2500_isoc_init()를 msi2500_isoc_cleanup()를 통해 되돌립니다. 정리 도우미는 vb2_buffer_state 인자를 사용하므로 start_streaming의 에러 경로는 VB2_BUF_STATE_QUEUED를 전달할 수 있습니다(시스템 호출 실패 시 사용자 공간에서 기대하는 값) 반면 stop_streaming은 기존의 VB2_BUF_STATE_ERROR 의미를 유지합니다. 이 내용은 커밋 4cf3b6fd54eb("media: uvcvideo: Return queued buffers on start_streaming() failure")의 uvcvideo 수정과 동일한 맥락입니다.
CVE-2026-68221
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: nuvoton: npcm-video: fix memory leaks in probe and remove npcm_video_probe() allocates the npcm_video structure with kzalloc_obj() but never frees it on any probe error path or in npcm_video_remove(), leaking the allocation on every failed probe and every normal unbind. Additionally, when npcm_video_setup_video() fails, the reserved memory association established by of_reserved_mem_device_init() in npcm_video_init() is not released, leaking the rmem_assigned_device entry on the global list. Fix both by adding kfree(video) to all probe error paths and to npcm_video_remove(), and adding the missing of_reserved_mem_device_release() call when npcm_video_setup_video() fails.
CVE-2026-68220
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: nxp: imx8-isi: Add missing v4l2_subdev_cleanup() in crossbar and pipe Both mxc_isi_crossbar_init() and mxc_isi_pipe_init() call v4l2_subdev_init_finalize() which allocates the subdev active state, but neither mxc_isi_crossbar_cleanup() nor mxc_isi_pipe_cleanup() calls v4l2_subdev_cleanup() to free it. This causes a memory leak on every rmmod, reported by kmemleak: unreferenced object 0xffff0000d06fc800 (size 192): comm "(udev-worker)", pid 254, jiffies 4294913455 backtrace (crc 36eeae58): kmemleak_alloc+0x34/0x40 __kvmalloc_node_noprof+0x5f8/0x7d8 __v4l2_subdev_state_alloc+0x1fc/0x30c __v4l2_subdev_init_finalize+0x178/0x368 Add the missing v4l2_subdev_cleanup() calls before media_entity_cleanup() in both crossbar and pipe cleanup paths.
CVE-2026-68219
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: media: nxp: imx8-isi: 경계 밖 접근 가능성 수정 ISI가 지원하는 최대 다운스케일링 계수는 16까지입니다. 하드웨어에 설정을 적용하기 전에 최소값 제약을 추가합니다. 그렇지 않으면 Ctrl+C가 실행되어도 프로세스가 응답하지 않을 수 있습니다.
CVE-2026-68218
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: pci: dm1105: Free allocated workqueue Destroy allocated workqueue in remove() callback to free its resources, thus fixing memory leak.
CVE-2026-68217
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: pwc: Drain fill_buf on start_streaming() failure pwc_isoc_init() submits its isochronous URBs with usb_submit_urb(.., GFP_KERNEL) in a loop. After the first URB is submitted, its completion handler pwc_isoc_handler() can run on another CPU before the loop finishes: start_streaming() pwc_isoc_init() usb_submit_urb(urbs[0], GFP_KERNEL) pwc_isoc_handler(urbs[0]) pdev->fill_buf = pwc_get_next_fill_buf(pdev) usb_submit_urb(urbs[i>0], ..) -> fails pwc_isoc_cleanup(pdev) /* kills URBs */ return ret; pwc_cleanup_queued_bufs(pdev, VB2_BUF_STATE_QUEUED) pwc_get_next_fill_buf() detaches a buffer from pdev->queued_bufs and stores it in pdev->fill_buf. The error path in start_streaming() only drains pdev->queued_bufs, so the buffer parked in pdev->fill_buf is leaked. vb2_start_streaming() then triggers WARN_ON(owned_by_drv_count). stop_streaming() already handles this since commit 80b0963e1698 ("[media] pwc: fix WARN_ON"), which added the fill_buf drain in the teardown path but not in the start_streaming() error path. Mirror that handling on failure so start_streaming() returns with no buffer owned by the driver. Issue identified by automated review of the INV-003 series at https://sashiko.dev/
CVE-2026-68216
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었습니다: media: pwc: start_streaming() 실패 시 큐에 들어간 버퍼를 반환 vb2 프레임워크는 start_streaming()을 호출하기 전에 buf_queue()를 통해 드라이버에 버퍼를 전달합니다. start_streaming()이 먼저 vb2_buffer_done()를 통해 해당 버버를 반환하지 않고 에러를 반환하면, vb2_start_streaming()이 WARN_ON(owned_by_drv_count)를 발생시키고 큐에 남아 있는 버퍼가 누출됩니다. pwc의 start_streaming()에는 이 트랩에 걸리는 두 가지 조기 반환이 있었습니다: - USB 디바이스가 이미 연결 해제되었을 때의 ENODEV, 그리고 mutex_lock_interruptible()이 시그널에 의해 인터럽트된 경우의 -ERESTARTSYS 을 반환하기 전에 VB2_BUF_STATE_QUEUED로 pwc_cleanup_queued_bufs() 헬퍼를 호출해 반환합니다(동일 함수의 pwc_isoc_init() 에러 경로에서 이미 사용 중인 상태와 일치). 이 수정은 커밋 4cf3b6fd54eb("media: uvcvideo: Return queued buffers on start_streaming() failure")의 uvcvideo 수정과 동일합니다.
CVE-2026-68215
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: media: radio-si476x: Unregister v4l2_device on probe failure si476x_radio_probe() registers radio->v4l2dev before allocating the V4L2 controls and before registering the video device. If any of those later steps fails, probe returns through the exit label after freeing only the control handler. A failed probe does not call si476x_radio_remove(), so the v4l2_device_unregister() there is not reached. This leaves the parent device reference taken by v4l2_device_register() behind on the error path. Unregister the V4L2 device in the probe error path after freeing the controls.
CVE-2026-68214
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: media: rtl2832: rtl2832_remove()에서 use-after-free 수정 rtl2832_remove()에서 i2c_mux_del_adapters()가 cancel_delayed_work_sync()보다 먼저 호출됩니다. cancel은 실행 중인 i2c_gate_work 인스턴스가 완료될 때까지 대기하지만, 동시 스레드에 의해 타이머가 재스케줄되는 것을 차단하지는 않습니다. probe 도중 r820t_attach() 호출은 mux 어댑터를 통해 I2C 전송을 시도합니다. 이 전송은 i2c_mux_master_xfer()를 거치며, 전송이 완료된 후 rtl2832_deselect()를 호출하여 i2c_gate_work를 schedule_delayed_work()로 재스케줄합니다. 이 전송이 rtl2832_remove()가 실행될 때 아직 진행 중인 경우, rtl2832_deselect()가 이미 취소된 후 i2c_gate_work를 재스케줄하여 kfree(dev)가 호출될 때 use-after-free를 야기할 수 있습니다. 이를 해결하기 위해 cancel_delayed_work_sync()보다 먼저 i2c_mux_del_adapters()를 호출합니다. mux 어댑터가 해제되면 더 이상 새 I2C 전송이 이를 통해 진행될 수 없으므로 rtl2832_deselect()는 더 이상 i2c_gate_work를 재스케줄할 수 없습니다. 그 다음 cancel_delayed_work_sync()는 최종적으로 보장됩니다.
CVE-2026-68213
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었습니다: media: rtl2832_sdr: start_streaming() 실패 시 큐잉된 버퍼를 반환 vb2 프레임워크는 start_streaming()를 호출하기 전에 buf_queue()를 통해 드라이버에 버퍼를 전달합니다. 만약 start_streaming()이 오류를 반환하면서 먼저 vb2_buffer_done()를 통해 그런 버퍼를 반환하지 않으면, vb2_start_streaming()은 WARN_ON(owned_by_drv_count)를 발생시키고 큐잉된 버퍼가 누수됩니다. rtl2832_sdr_start_streaming()은 이 함정에 빠지는 다중 오류 경로를 갖고 있었습니다: 두 개의 직접적 조기 반환(-ENODEV, -ERESTARTSYS)과 함께 보조 디바이스 s_power, 튜너 설정, ADC 설정, 스트림 버퍼 할당, urb 할당, urb 제출 실패를 포괄하는 6개의 `goto err` 경로가 있었습니다. 어느 경로도 큐잉된 버퍼를 반환하지 않았습니다. 원래 함수에는 명확한 성공 종료가 없었고 err 레이블로 곧장 빠지며 이전에는 mutex_unlock 및 "return ret"만 수행했습니다. err에서 큐잉된 버퍼 정리를 추가해야만 성공 반환과 함께 이루어지므로, 그렇지 않으면 모든 성공적인 시작도 버퍼 큐를 비워 스트리밍을 종료시킵니다. 이로써 성공 시나리오에 대한 반환을 추가하고, err 레이블에서 시작 스트림 실패 시 사용자 공간에서 예상하는 VB2_BUF_STATE_QUEUED를 넘길 수 있도록 rtl2832_sdr_cleanup_queued_bufs()를 추가하고 각 조기 반환 전에 배치하십시오. 정리 도우미는 vb2_buffer_state 인자를 받으므로 start_streaming의 오류 경로가 VB2_BUF_STATE_QUEUED를 전달할 수 있습니다(스타트 스트림 실패 시 사용자 공간에서 기대하는 값). 반면 stop_streaming은 기존의 VB2_BUF_STATE_ERROR 의미를 유지합니다. 이는 커밋 4cf3b6fd54eb("media: uvcvideo: Return queued buffers on start_streaming() failure")의 uvcvideo 수정과 유사합니다. err 레이블은 전력 제어(power_ctrl()), 프런트엔드 제어(frontend_ctrl()), POWER_ON 플래그, 실패한 단계 이전에 발생했을 수 있는 스트림/URB 할당을 되돌리지 못합니다. 이는 이미 존재하는 다른 유형의 누수이며 여기서는 해결되지 않습니다.