총 16,343건
CVE-2026-80975
2026년 9월 12일리눅스 커널에서 다음 취약점이 해결되었다: mfd: qnap-mcu: 명령어 타임아웃 이후에도 응답 버퍼를 유지함 qnap_mcu_exec()는 스택 상의 버퍼를 수신 경로에 공개한다: unsigned char rx[QNAP_MCU_RX_BUFFER_SIZE]; ... reply->data = rx; reply->length = length; 그리고 qnap_mcu_receive_buf()는 serdev 수신 경로에서 이를 기록하는데, 이 경로는 flush_to_ldisc()에서 실행되며 qnap_mcu_exec()와 전혀 직렬화되지 않는다. bus_lock은 이를 보호할 수 없는데, qnap_mcu_exec()가 wait_for_completion_timeout() 동안 해당 뮤텍스를 보유하기 때문이다. 타임아웃 시 qnap_mcu_exec()는 reply->data가 여전히 자신의 프레임을 가리키는 상태로 반환한다. 늦게 도착한 응답이나 MCU로부터의 비요청 메시지는 이미 떠난 스택 프레임에 기록되어 다음에 실행되는 스택 내용을 손상시킨다. qnap_mcu_write() 실패 시에도 동일한 문제가 발생하는데, 해당 경로 역시 응답 상태를 건드리지 않고 반환하기 때문이다. 수신 버퍼를 struct qnap_mcu로 이동시켰다. 크기는 37바이트이며 구조체는 devm_kzalloc()로 할당되어 드라이버가 살아있는 동안 유지된다. 늦은 기록은 여전히 유효한 메모리에 이루어지고 다음 명령어가 재초기화한다. bus_lock은 명령어들이 이를 공유하지 못하게 한다. 이 변경은 타임아웃 경로에서 reply->data나 reply->length를 지우지 않는다. 지우면 qnap_mcu_receive_buf()와 경쟁 상태가 발생하는데, 이 함수는 다음 검사 후 두 값을 읽는다: if (!reply->length) return size; reply->data를 지우면 NULL 역참조가 발생하고 reply->length만 지우면 reply->received == reply->length 종료 조건이 사라져 복사 루프가 uart 청크가 소진될 때까지 실행되어 버퍼를 초과한다. 두 값을 유지하면 쓰기가 reply->length로 제한되어 qnap_mcu_exec()가 이미 mcu->rx 크기와 비교하여 검사한 상태를 보장한다.
CVE-2026-80974
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: mfd: sm501: Fix potential memory leaks during remove The memory allocated for struct sm501_devdata in sm501_pci_probe() and sm501_plat_probe() is not freed by the corresponding remove functions sm501_pci_remove() and sm501_plat_remove(). Fix that by adding a call to kfree().
CVE-2026-80973
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: 6fire: bound the MIDI event length from the device usb6fire_comm_receiver_handler() forwards a MIDI event using a length byte the device supplies, with no bound and no check that the transfer delivered that many bytes: if (!urb->status) { if (rt->receiver_buffer[0] == 0x10) /* midi in event */ if (midi_rt) midi_rt->in_received(midi_rt, rt->receiver_buffer + 2, rt->receiver_buffer[1]); } receiver_buffer is a 64-byte kzalloc() buffer (COMM_RECEIVER_BUFSIZE), so only 62 bytes follow the two-byte header. receiver_buffer[1] is a u8 the device chooses, so a device that answers with 0x10 and a length of 0xFF makes snd_rawmidi_receive() read 255 bytes starting two bytes into a 64-byte object. The bytes past the buffer are handed to userspace through the rawmidi read path. urb->actual_length is not consulted either, so a short transfer leaves both the type byte and the length byte at their previous values and the handler acts on stale data. The receiver URB is submitted from usb6fire_comm_init() at probe, so the read happens on plug with no user action; forwarding to userspace also needs a MIDI input substream open, since usb6fire_midi_in_received() only calls snd_rawmidi_receive() when rt->in is set. KASAN on 7.2.0-rc5 (arm64), single packet from an emulated device: BUG: KASAN: slab-out-of-bounds in snd_rawmidi_receive Read of size 255 at addr ffff000009f64682 by task bash/183 __asan_memcpy snd_rawmidi_receive usb6fire_midi_in_received [snd_usb_6fire] usb6fire_comm_receiver_handler [snd_usb_6fire] Allocated by task 11: usb6fire_comm_init [snd_usb_6fire] usb6fire_chip_probe [snd_usb_6fire] The buggy address is located 2 bytes inside of allocated 64-byte region [ffff000009f64680, ffff000009f646c0) Reject the event when the length exceeds the bytes that follow the header, and require the transfer to have delivered the header plus that many bytes. The receiver URB is submitted with a 64-byte transfer_buffer_length, so a genuine device cannot deliver an event longer than those 62 bytes and nothing valid is dropped. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-80972
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Check card index validity at probe aloop driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80971
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ALSA: bcd2000: 연결 해제 시 URB 포인터를 초기화함 bcd2000_free_usb_related_resources() 함수는 URB를 해제하지만 포인터는 남겨둔다: usb_kill_urb(bcd2k->midi_out_urb); usb_kill_urb(bcd2k->midi_in_urb); usb_free_urb(bcd2k->midi_out_urb); usb_free_urb(bcd2k->midi_in_urb); rawmidi 장치는 이 호출 이후에도 살아있다. 장치가 분리될 때 여전히 열린 서브스트림은 종료 시 트리거 경로에서 bcd2000_midi_send()에 도달한다. 해당 함수는 해제된 URB에 쓰기를 수행한 후 USB 코어에 전달한다: bcd2k->midi_out_urb->transfer_buffer_length = BUFSIZE; ... ret = usb_submit_urb(bcd2k->midi_out_urb, GFP_ATOMIC); usb_kill_urb()는 이후 제출을 중지하지 않으므로, 분리와 경쟁 상태에 있는 제출은 URB가 회수된 후 다시 큐에 넣을 수 있다. midi_in_urb도 동일하게 노출된다: bcd2000_input_complete()가 완료 핸들러에서 이를 재제출한다. 7.2.0-rc5 (arm64)에서 KASAN: BUG: KASAN: slab-use-after-free in bcd2000_midi_send [snd_bcd2000] 작업 bpoc/168에 의해 주소 ffff00001827d388에 크기 4 쓰기 발생 __asan_store4 bcd2000_midi_send [snd_bcd2000] bcd2000_midi_output_trigger [snd_bcd2000] snd_rawmidi_kernel_write1 close_substream.part.0 작업 168에 의해 해제됨: usb_free_urb bcd2000_disconnect [snd_bcd2000] BUG: KASAN: slab-use-after-free in usb_submit_urb 작업 bpoc/168에 의해 주소 ffff00001827d3b8에 크기 8 읽기 발생 해제 후 두 포인터를 모두 초기화하고 여전히 실행될 수 있는 경로에서 이를 검사한다. URB를 해제하기 전에 usb_poison_urb()로 오염시킨다: 이 함수는 실행 중인 완료 핸들러를 기다리고 이후 제출을 거부하므로, 반환 후 입력 경로는 조용해지고 rawmidi 트리거 경로만 bcd2000_midi_send()에 도달할 수 있다. 해제 해제는 필요 없으며 URB는 다음 줄에서 해제된다. XBOW에서 발견하고 Baul Lee <[email protected]>이 분류함
CVE-2026-80970
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: FCP: do not copy out an uninitialised init response fcp_ioctl_init() allocates its response buffer with kmalloc() and copies the whole buffer back to userspace: buf_size = init.step0_resp_size + init.step2_resp_size; void *resp __free(kfree) = kmalloc(buf_size, GFP_KERNEL); ... if (copy_to_user(arg->resp, resp, buf_size)) return -EFAULT; Nothing clears the buffer, and the only writer of its leading step0_resp_size bytes is the step-0 control transfer: err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), FCP_USB_REQ_STEP0, USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN, 0, private->bInterfaceNumber, step0_resp, private->step0_resp_size); if (err < 0) return err; usb_fill_control_urb() does not set URB_SHORT_NOT_OK, so a short or zero-length data stage completes with status 0 and snd_usb_ctl_msg() returns a small actual_length. The only check is err < 0, so a short transfer is accepted as success. snd_usb_ctl_msg() copies the full size back unconditionally: buf = kmemdup(data, size, GFP_KERNEL); ... memcpy(data, buf, size); Bytes the device never wrote are therefore restored into resp unchanged and copied to userspace. step0_resp_size and step2_resp_size are each validated only to 1..255, so the caller also picks the slab cache, from kmalloc-8 up to kmalloc-512. On 7.2.0-rc5 (arm64), device answering step 0 with a zero-length data stage, s0 = s2 = 255: # init_on_alloc off, no spray step0 window [0,255): nonzero=94/255 000: 00 80 60 06 00 00 ff ff 18 00 00 00 57 01 ea 01 010: 08 78 22 13 00 00 ff ff a8 c4 5f 80 00 80 ff ff # same kernel, kmalloc-512 pre-seeded with an 8-byte tag step0 window [0,255): nonzero=219/255 tagbytes=232 # identical run, init_on_alloc=1 step0 window [0,255): nonzero=0/255 tagbytes=0 # all three runs step2 window [255,510): device words matched=62/62 a8 c4 5f 80 00 80 ff ff is the little-endian kernel text address ffff8000805fc4a8. The step-2 window is unaffected, so the disclosure is exactly the step-0 region. Zero the buffer, and require the step-0 transfer to deliver the full step0_resp_size bytes so a short data stage is reported as an error. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-80969
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: mpu401: Check card index validity at probe mpu401 driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80968
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: mts64: Check card index validity at probe Although mts64 driver has a check of the given devptr->id value, it doesn't check for a negative id, which is often given as "none" or such value when bound via sysfs. This may lead to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80967
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ALSA: pcxhr: 스레드 IRQ 요청 전에 뮤텍스 초기화 pcxhr_probe()는 mgr->lock을 초기화하기 전에 pcxhr_threaded_irq()를 요청하는데, 스레드 핸들러가 해당 뮤텍스를 사용한다. probe 중 초기화되지 않은 뮤텍스 상태에 대해 조기 인터럽트가 실행되지 않도록 request_threaded_irq() 전에 관리자 락을 초기화한다.
CVE-2026-80966
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: portman2x4: Check card index validity at probe Although portman2x4 driver has a check of the given devptr->id value, it doesn't check for a negative id, which is often given as "none" or such value when bound via sysfs. This may lead to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80965
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: serial-u16550: Check card index validity at probe serial-u16550 driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80964
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: ALSA: virmidi: Check card index validity at probe virmidi driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
CVE-2026-80963
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-stats: fix a crash if allocation of per-cpu data fails If "dm_kvzalloc(percpu_alloc_size, cpu_to_node(cpu))" fails, the code jumps to the "out" label and calls dm_stat_free. dm_stat_free does "for_each_possible_cpu(cpu) { dm_kvfree(s->stat_percpu[cpu][0].histogram, s->histogram_alloc_size);", which crashes with NULL pointer dereference if s->stat_percpu[cpu] is NULL. This commit fixes the bug by testing s->stat_percpu[cpu] for NULL before using it.
CVE-2026-80962
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: dm-pcache: 디스크에 저장된 cache_info의 지오메트리 필드 검증 cache_segs_init() 함수는 cache_info->n_segs 횟수만큼 반복하며 cache->segments[]를 인덱싱하는데, 이 배열은 캐시 장치 지오메트리에 맞게 크기가 정해져 있다. get_seg_id() 함수는 미디어 상의 cache_info와 각 세그먼트의 next_seg 링크에서 세그먼트 ID를 가져온다. 이 둘은 고정된 공개 시드를 사용하는 CRC로만 보호되는 캐시 장치 메타데이터에서 나오므로, 테이블 로드 시 캐시 장치 공급자(CAP_SYS_ADMIN 권한 보유자)가 이를 제어할 수 있다. 과도하게 큰 n_segs 값이나 범위를 벗어난 ID는 cache->segments[]의 범위 밖 접근과 장치 매핑 내의 임의 CACHE_DEV_SEGMENT() 포인터를 유발하여, 디스크 데이터로부터 범위 밖 읽기 및 쓰기가 발생한다. 장치 세그먼트 수를 초과하는 n_segs 값과 범위를 벗어난 세그먼트 ID는 사용 전에 거부된다. 유효한 메타데이터에는 영향이 없다.
CVE-2026-80961
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: dm-pcache: kset key_num 및 세그먼트 내 경계 검증 캐시 장치에서 디코딩된 두 개의 필드가 경계 검증 없이 처리된다. kset key_num은 cache_kset_crc()와 cache_replay()의 재생 루프, 쓰기 백 작업자 및 GC 작업자를 구동하지만, 처음에는 매직과 고정 시드 CRC만 검사되므로, PCACHE_KSET_KEYS_MAX 버퍼를 초과하는 key_num을 가진 마지막이 아닌 kset은 CRC 비교 전에 버퍼 끝을 넘어 읽는다. cache_key_decode()에서 키의 세그먼트 내 오프셋과 길이는 그대로 사용되므로, 세그먼트를 넘어가는 키가 캐시 트리에 재생되고 데이터 CRC 검사 및 이후 모든 읽기 적중 시 인접한 영구 메모리를 호출자의 bio에 복사하는 범위 밖 읽기(out-of-bounds read)가 발생하여 사용자 공간으로 정보가 유출된다. 두 필드는 캐시 장치를 제공하는 자(CAP_SYS_ADMIN)가 제어하며, CRC 시드는 공개되어 있다. kset_onmedia_valid()를 추가하여 kset 읽기 전에 key_num의 경계를 제한하고, 64비트로 계산된 오프셋과 길이의 합이 세그먼트 data_size를 초과하는 키를 거부한다. 유효한 메타데이터에는 영향이 없다.
CVE-2026-80960
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-pcache: validate on-media seg_num against the cache device size seg_num is read from the crc32c-only superblock, so whoever supplies the cache device on a table load (CAP_SYS_ADMIN) controls it. It sizes cache->segments[] and is the value every later on-media segment id is bounded against, yet it is never checked against the device. Because cache_dev->mapping is the direct map of the pmem, CACHE_DEV_SEGMENT() for a segment id past the device resolves to ordinary kernel memory beyond the mapping; a new-cache init reaching such an id has cache_seg_init() -> cache_dev_zero_range() memset() 12 KiB over that memory -- an out-of-bounds write into the kernel heap at table load. A zero seg_num makes the segment allocations ZERO_SIZE_PTR. Reject a seg_num that is zero, larger than the device can hold, or larger than PCACHE_CACHE_SEGS_MAX before it is used.
CVE-2026-80959
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: dm-pcache: 지속된 tail-position 오프셋 제한 cache_pos_decode()는 캐시 장치에서 지속된 key_tail과 dirty_tail seg_off를 가져와 세그먼트 내 주소를 계산한다. 세그먼트 data_size 이상이거나 같은 seg_off는 장치를 제공하는 자(CAP_SYS_ADMIN)가 제어할 수 있으며, 세그먼트 데이터를 초과하여 읽는다. 세그먼트 data_size 미만이 아닌 디코딩된 seg_off를 거부한다.
CVE-2026-80958
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: dm-pcache: 꼬리 kset 읽기를 세그먼트 데이터 영역으로 제한 cache_replay(), writeback 작업자 및 GC 작업자의 tail-kset 읽기는 길이를 PCACHE_SEG_SIZE - seg_off, 즉 원시 세그먼트 크기로 제한하며 데이터 영역이 아니다. 세그먼트 끝 근처의 꼬리는 세그먼트 데이터를 넘어 다음 제어 영역을 읽는다. 읽기를 데이터 영역인 cache_seg_remain()으로 제한한다.
CVE-2026-80957
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-pcache: detect a cycle in the last-kset chain during replay cache_replay() follows the on-media last-kset chain by next_cache_seg_id with no cond_resched(). A forged chain that points back into a segment it has already visited makes the replay loop follow it forever. Cap the last-kset hops at cache->n_segs; a valid chain visits each segment at most once.
CVE-2026-80956
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-pcache: only hand out initialized cache segments get_cache_segment() scans the segment map up to cache->n_segs, the physical device segment count, but cache_segs_init() only initializes the first cache_info->n_segs segments. A crafted image with cache_info->n_segs smaller than the device count leaves the remaining pcache_cache_segment structs zeroed (segment.data == NULL), and the allocator can hand one to cache_kset_close(), which writes through the returned segment's data pointer with no NULL check. Bound the allocator's search to cache_info->n_segs so only initialized segments are ever returned. A conforming cache sets n_segs equal to the device segment count, so this rejects nothing legitimate.