총 16,343건
CVE-2026-89735
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: usb: gadget: midi2: remove default configfs groups on teardown f_midi2_alloc_inst() creates default configfs child groups for the default endpoint and default block using configfs_add_default_group(), setting their internal refcount to 1. However, during function teardown in f_midi2_free_inst() or EP cleanup in f_midi2_ep_opts_release(), configfs_remove_default_groups() is never called, therefore never dropping the refcount and leaking struct f_midi2_ep_opts and f_midi2_block_opts. Add the missing configfs_remove_default_groups() in the afformentioned functions to free the structs properly.
CVE-2026-89734
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: Fix null pointer dereference in uvcg_video_init() In uvcg_video_init(), if kthread_run_worker() fails, the error logged uses uvcg_err(), however, the pointer it uses: video->uvc is not assigned at this point, triggering a null pointer dereference. Fix this by directly using uvc->func which is assigned already.
CVE-2026-89733
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: usb: gadget: uvc: uvc_function_bind() 및 uvc_function_unbind()에서의 댕글링 포인터 수정 uvc_function_bind()의 오류 경로에서 usb_ep_free_request를 사용하며, 이 함수는 uvc->control_req를 사용하지만 이후에 NULL로 설정하지 않는다. 따라서 uvc->control_req는 해제 후 사용(UAF)을 일으키는 댕글링 포인터가 된다. 또한 uvc->control_buf 포인터도 해제 후 NULL로 설정하지 않아 또 다른 댕글링 포인터가 된다. usb_ep_free_request() 실행 후 uvc->control_req를 NULL로 설정하고, kfree 후 uvc->control_buf를 NULL로 설정하여 이를 수정한다. uvc_function_unbind()에서도 동일하게 처리한다.
CVE-2026-89732
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent deadlock during ep0 read loop Currently, ffs_ep0_read() holds ffs->mutex when it prepares to go to sleep waiting for an event. When no setup events are pending, it calls wait_event_interruptible_exclusive_locked_irq() with the mutex still held. The wait macro deliberately drops the waitqueue spinlock before sleeping but does not drop the mutex. If a userspace daemon is polling ep0 via read() and the gadget is asynchronously torn down via configfs (e.g., echo "" > UDC), a deadlock can occur: 1. The configfs teardown calls functionfs_unbind(), which queues a FUNCTIONFS_UNBIND event. 2. The daemon wakes up, consumes the event, and drops the mutex. 3. However, if the daemon loops and immediately issues another read() before exiting, it reacquires ffs->mutex and again goes into an interruptible sleep. 4. Meanwhile, functionfs_unbind() continues execution and attempts to acquire ffs->mutex to tear down ep0req. 5. The kernel deadlocks because the configfs thread is stuck in an uninterruptible sleep waiting for the mutex, while the userspace daemon is in an interruptible sleep holding the mutex forever because no more events will arrive. To fix this, we drop both the waitqueue spinlock and ffs->mutex before going to sleep, and use wait_event_interruptible_exclusive() instead. Upon waking up, we jump back to the `retry` label to safely reacquire the mutex and re-evaluate the state machine. By not sleeping with ffs->mutex held, we natively decouple gadget teardowns (which require the mutex) from userspace polling.
CVE-2026-89731
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: cxl/ras: cxl_rch_get_aer_info()의 범위 밖 AER 레지스터 읽기 수정 cxl_rch_get_aer_info()는 readl() 루프를 사용하여 RCRB MMIO 블록에서 RCH 다운스트림 포트 AER 기능을 복사하는데, 이 루프는 sizeof(struct aer_capability_regs)로 제한된다. 이 구조체는 소프트웨어 레이아웃이며, 그 안에 포함된 struct pcie_tlp_log가 실제 AER 기능보다 크다. 결과적으로 루프가 매핑된 AER 레지스터 블록을 넘어 읽게 된다. 이 과도한 읽기는 header_log.header_len을 포함한 소프트웨어 전용 꼬리 필드도 채운다. pcie_print_tlp_log()에 전달된 범위를 벗어난 header_len은 헤더 로그 버퍼를 넘어서는 루프를 발생시켜 두 번째 범위 밖 읽기를 유발할 수 있다. 이 읽기는 도입 당시에는 올바른 것이었으나, struct pcie_tlp_log가 이후에 커져(Header Log 및 TLP Prefix Log 크기, header_len 및 flit 필드) sizeof(struct aer_capability_regs)가 더 이상 물리적 AER 기능과 일치하지 않는다. 읽기를 물리적 AER 레지스터, 즉 16바이트 Header Log까지로 제한하고, 대상 메모리를 먼저 0으로 초기화하여 소프트웨어 전용 필드가 결정적이도록 한다.
CVE-2026-89730
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: fpga: altera-cvp: Avoid out-of-bounds read in trailing byte write The trailing byte path in altera_cvp_send_block() dereferences a u32 pointer even when only 1-3 bytes remain in the input buffer. If the buffer ends at a page or scatterlist boundary, this can read past the valid image data and fault. Copy the remaining bytes into a zero-initialized u32 before writing the final word so only valid bytes are read from the input buffer.
CVE-2026-89729
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: HID: sensor-hub: sensor_hub_get_feature의 범위 밖 쓰기 수정 sensor_hub_get_feature()는 반환 값을 호출자의 버퍼 크기로 제한하지만, 복사 루프는 여전히 각 보고 값에 대해 field->report_size / 8 바이트를 복사한다. 악의적인 HID 디스크립터는 큰 기능 필드 크기를 광고할 수 있고, IIO 호출자는 단일 s32와 같은 작은 스택 버퍼를 제공하여 범위 밖 쓰기를 발생시킬 수 있다. HID 코어는 파싱된 보고 값을 __s32 슬롯에 저장하고 추출된 값을 32비트로 제한한다. 값당 하나 이상의 슬롯이 필요한 기능 필드를 거부하고, 총 바이트 수 계산을 보호하며, 각 값 복사를 남은 호출자 버퍼 크기로 제한한다.
CVE-2026-89728
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: i3c: renesas: Fix out-of-bounds access for newdevs mask When software initiates DAA (Dynamic Address Assignment), the controller reports the result via the NRSPQP (Normal Response Queue Port Register). The data length field of the response descriptor, which is accessible through the NRSPQP register, indicates the number of devices remaining after DAA. Consequently, when the bus is empty, this field contains the maximum number of devices supported by the controller (8 for the Renesas I3C controller). Adjust the condition that computes the newly discovered devices bitmask to prevent an out-of-bounds when the I3C bus is empty.
CVE-2026-89727
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: GICv2: Don't WARN on out-of-range GICV_DIR INTID vgic_v2_deactivate() passes the INTID a guest wrote to GICV_DIR straight to vgic_get_vcpu_irq(), and treats a failed lookup as a "can't happen" condition with WARN_ON_ONCE(). The guest can make it happen at will, though: for any INTID outside of the implemented SGI, PPI and SPI ranges the lookup returns NULL, since GICv2 has no LPIs. A guest running with EOImode==1 writing such an INTID to GICV_DIR triggers the WARN, and panics hosts running with panic_on_warn. Drop the WARN and ignore failed lookups.
CVE-2026-89726
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen() Patch series "lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()", v2. This series fixes an off-by-one out-of-bounds read in ucs2_strnlen(). The first patch is the real fix, the second patch comes as a bonus and fixes the code indentation. This patch (of 2): ucs2_strnlen() checks the current character before checking whether the caller-provided maximum length has been reached. If the input is not NUL-terminated within that bound, the loop can read one ucs2_char_t past the limit. Test the length before dereferencing to prevent an off-by-one out-of-bounds read.
CVE-2026-89725
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: media: cec: stm32: RX 오버플로우 시 범위 밖 쓰기 방지 stm32_rx_done() 함수는 수신된 각 CEC 바이트를 rx_msg.len을 쓰기 인덱스로 사용하여 rx_msg.msg[]에 추가하며, 버퍼 크기와 비교하지 않고 RXBR(수신 바이트 준비) 인터럽트마다 이를 증가시킨다: cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; rx_msg.msg[]는 struct cec_msg 내 고정 크기 CEC_MAX_MSG_SIZE(16) 바이트 배열이며, rx_msg.len은 RXACKE/RXOVR 또는 메시지 완료(RXEND) 후에만 초기화된다. RXEND 이전에 수신된 바이트 수는 원격 CEC 장치가 결정하며(EOM 설정), 드라이버가 결정하지 않는다. 메시지를 종료하지 않고 계속 바이트를 보내는 피어는 RXBR을 반복적으로 발생시켜 rx_msg.len을 16 이상으로 밀어내고, 피어가 제어하는 바이트를 주변 메모리에 범위 밖으로 쓰게 된다. 이는 드라이버가 프로브되고 수신이 활성화된 후 IRQ 스레드에서 로컬 권한 없이 정상 동작 중에 도달 가능하다. CEC 코어의 길이 검사는 바이트가 저장된 후 소비자 측에서 실행되어 오버플로우를 방지하지 못한다. 다른 플랫폼 CEC 드라이버들(예: tegra_cec)이 이미 수행하는 것처럼 저장 전에 드라이버에서 인덱스를 제한하여 초과 바이트를 버려야 한다. 이 취약점은 정적 분석 도구 CodeQL에 의해 발견되었다.
CVE-2026-89724
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: media: vicodec: FWHT 인코더에서 범위 밖 쓰기 문제 수정 vidioc_s_fmt_vid_out() 함수는 압축된 디스크립터 pixfmt_fwht에서 인코더 CAPTURE 버퍼 크기를 설정하는데, sizeimage_mult 값이 3이다: coded_w * coded_h * 3 + sizeof(struct fwht_cframe_hdr). fwht_encode_frame() 함수는 각 컴포넌트마다 하나의 평면을 인코딩하며, 압축할 수 없는 평면은 encode_plane()에서 FWHT_FRAME_UNENCODED 경로를 따라 평면을 그대로 복사한다. 4 컴포넌트 픽셀 포맷의 경우 네 개의 평면 모두가 전체 해상도(폭과 높이 분할 값이 1)이며, 모든 평면이 인코딩되지 않은 대체 경로를 거치게 되면 sizeof(struct fwht_cframe_hdr) + 4 * coded_w * coded_h 바이트를 쓰게 되어 평면을 coded_w * coded_h 만큼 초과하여 인접한 커널 힙 메모리가 손상될 수 있다. pixfmt_fwht.sizeimage_mult 값을 3에서 4로 올려 지원되는 원시 포맷 중 가장 큰 components_num과 일치시키고, 캡처 버퍼가 인코딩되지 않은 대체 경로에 항상 충분한 크기가 되도록 하였다.
CVE-2026-89723
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: nilfs2: 잘림(truncation) 후 nilfs_direct_propagate에서 발생하는 slab-out-of-bounds 수정 Shuangpeng Bai가 테스트 중 KASAN이 nilfs_direct_propagate()에서 slab-out-of-bounds 오류를 감지했다고 보고했다. 분석 결과, 파일을 잘라낸 후 B-트리 루트 바로 아래의 노드 블록이 삭제되지 않고 남아 있었다. 대신, 해당 블록은 더티 상태로 B-트리 노드 캐시에 남아 있었다. 로그 작성기는 이후 이 블록을 감지하고, 직접 매핑된 데이터 블록만 처리하도록 설계된 nilfs_direct_propagate()를 잘못 호출했다. 캐시 내 B-트리 노드는 가상 블록 번호로 관리되며, 이들의 논리 키는 일반적으로 직접 매핑이 예상하는 범위를 초과한다. 따라서 이러한 노드를 직접 매핑 항목으로 처리하면 slab-out-of-bounds 접근이 발생한다. 근본 원인은 잘림 과정에서 B-트리 매핑이 직접 매핑으로 축소될 때, 루트 노드가 가리키는 중간 노드 블록이 명시적으로 삭제되지 않고 쓰레기로 남아 있기 때문이다. 이 문제는 변환 중 남아 있는 중간 노드 블록을 삭제하기 위해 nilfs_btree_discard() 작업을 추가하여 해결되었다. 또한, 삭제가 매핑 변환의 일부임을 명시적으로 알리기 위해 bop_delete 인터페이스에 'deform' 플래그가 추가되었다. 이를 통해 B-트리 매핑 구현은 전환 후 고아가 될 잔여 노드 구조를 적절히 정리하고 폐기할 수 있다.
CVE-2026-89722
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Fix out-of-bounds read in pci_write_legacy_io() pci_write_legacy_io() loads 4 bytes from the kernfs write buffer regardless of how many bytes userspace wrote: if (count != 1 && count != 2 && count != 4) return -EINVAL; return pci_legacy_write(bus, off, *(u32 *)buf, count); kernfs_fop_write_iter() allocates the buffer with kmalloc(len + 1), so a 1-byte write to the legacy_io sysfs file allocates 2 bytes and the unconditional u32 load reads up to 2 bytes past the end of the allocation, which KASAN reports as a slab-out-of-bounds read. Similarly, a 2-byte write overreads by 1 byte. Thus, read only the number of bytes requested using get_unaligned_le16() and get_unaligned_le32() for the 2 and 4 byte cases, interpreting the buffer as little-endian to match the byte ordering of PCI I/O port space. The PowerPC implementation previously compensated for the generic code's native-endian 32-bit load by shifting the value into place for the 1 and 2 byte cases. The shifts were only correct on big-endian kernels. On little-endian PowerPC (POWER8 and later), they extracted the wrong bytes, so a 1-byte write wrote an out-of-bounds byte instead of the requested value. On big-endian, the native load also caused out_le16() and out_le32() to reverse the user's bytes on the wire for 2 and 4 byte writes. The little-endian helpers resolve both issues, so the shifts are removed. No changes are needed for the Alpha platform. The legacy_io file is root-only and exists only on Alpha and PowerPC, the two architectures that define HAVE_PCI_LEGACY.
CVE-2026-89721
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: phy: rockchip-samsung-dcphy: fix out-of-range max_register The PHY register block is 64KB, so with a register stride of 4 the last accessible register sits at offset 0xfffc. max_register names 0x10000, one register past the end of the mapping: dumping the registers through the regmap debugfs interface reads beyond the ioremapped region and oopses on the unmapped page. The oops fires with the regmap lock held, so later PHY operations deadlock.
CVE-2026-89720
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ubifs: 서명 길이 검사에서 범위 밖 읽기 수정 ubifs_sb_verify_signature() 함수는 서명 페이로드를 verify_pkcs7_signature()에 전달하기 전에 디스크 상의 ubifs_sig_node->len 필드를 제한하지만, 검사에 잘못된 부호가 있다: if (le32_to_cpu(signode->len) > snod->len + sizeof(struct ubifs_sig_node)) 서명 바이트는 노드 내에서 sizeof(struct ubifs_sig_node)(UBIFS_SIG_NODE_SZ, 64 바이트)만큼 떨어진 위치에서 시작하므로 페이로드의 최대 길이는 snod->len - sizeof(struct ubifs_sig_node) 바이트이다. 헤더 크기를 빼야 하는데 더하는 바람에 선언된 길이가 실제 노드가 보유한 크기보다 최대 2 * UBIFS_SIG_NODE_SZ만큼 더 커서 c->sbuf의 끝을 넘어선다. c->sbuf는 vmalloc(c->leb_size)로 할당된다. verify_pkcs7_signature() -> pkcs7_parse_message() -> asn1_ber_decoder()는 그 부풀려진 길이를 받아 DER 헤더를 처리하면서 할당 범위를 넘어 읽는다. 노드 길이는 마운트된 이미지에서 직접 가져오므로, 조작된 서명된 UBIFS 이미지는 ubifs_read_superblock()을 통해 서명이 암호학적으로 검증되기 전에 이 취약점에 도달할 수 있다. snod->len은 노드 스캐너(c->ranges[UBIFS_SIG_NODE].min_len == UBIFS_SIG_NODE_SZ)에 의해 UBIFS_SIG_NODE_SZ 이상임이 보장되므로, 수정된 뺄셈은 언더플로우를 발생시키지 않는다. 정상적으로 서명된 이미지는 영향을 받지 않으며, 올바른 슈퍼블록은 서명이 포함된 노드보다 긴 서명을 선언하지 않는다.
CVE-2026-89719
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: zram: fix out-of-bounds access in read_block_state() read_block_state() calculates nr_pages before taking dev_lock. If the device is reset and reinitialized with a smaller disksize before lock acquisition, nr_pages still describes the old table. The subsequent loop can then call slot_lock() past the end of the newly allocated table. Read disksize after acquiring dev_lock and checking that the device is initialized. The read lock then keeps the table and its bound stable for the duration of the scan.
CVE-2026-89718
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: zram: fix out-of-bounds access in writeback_store() Patch series "zram: fix stale scan bounds after reinitialization". Both writeback_store() and read_block_state() derive their table scan bounds from zram->disksize before acquiring dev_lock. If the device is reset and reinitialized with a smaller disksize between that read and lock acquisition, the bound can describe the old table while the scan operates on the new one. This can lead to out-of-bounds slot accesses. Move both bound calculations under dev_lock so each bound remains consistent with the table throughout its scan. Keep the fixes separate because the affected interfaces originate from different commits and can be backported independently. This patch (of 2): writeback_store() calculates the table scan bounds before taking dev_lock. A reset followed by reconfiguration with a smaller disksize can therefore replace zram->table while writeback_store() is waiting for the lock. Once it acquires the lock, it sees an initialized device but scans the new table using the old upper bound, resulting in an out-of-bounds access. Calculate the number of pages while holding dev_lock so the scan bound matches the table protected by the lock.
CVE-2026-89717
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: zram: set default primary compressor in zram_destroy_comps() Patch series "zram: fix zram issues reported by sashiko". Sashiko drove by and reported [1] a couple of zram issues: a possible BUG_ON() in zlib code due to missing winbits range validation and one possible NULL-ptr dereference in zcomp. Both are low risk yet still worth fixing. This patch (of 2): zram_destroy_comps() resets all compressors and leaves them set to NULL, including the primary one, which is invalid device state, as now comp_algorithm_show()->strcmp() can be called on a NULL compressor. Set default primary compressor in zram_destroy_comps().
CVE-2026-89716
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: zram: validate deflate params We must validate user-supplied deflate winbits before we pass it to zlib_deflate_workspacesize(), which triggers BUG_ON() if winbits value is outside of valid ranges.