총 16,343건
CVE-2026-74647
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: misc: fastrpc: unmap 작업 이전에 버퍼를 리스트에서 제거 fastrpc_req_munmap_impl()가 어떤 버퍼를 unmap하기 위해 호출됩니다. DSP에서 버퍼를 unmap한 후 버퍼가 리스트에서 제거되고 있습니다. 이로 인해 여러 스레드가 동시에 unmap을 수행할 경우 한 스레드가 리스트에서 엔트리를 제거하는 동안 다른 스레드의 unmap 작업이 아직 진행 중일 수 있어 경쟁 상태가 발생할 가능성이 있습니다. unmap 작업을 호출하기 전에 버퍼 엔트리를 리스트에서 제거하도록 수정했습니다. unmap가 실패하면 엔트리를 리스트에 다시 추가하여 사용자 공간에서 unmap을 재시도할 수 있도록 하거나, 대안으로 DSP 프로세스가 종료되고 남은 버퍼와 함께 리스트의 매핑이 해제될 때 디바이스 릴리스 중에 버퍼가 정리됩니다.
CVE-2026-74646
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: misc: fastrpc: invoke가 인터럽트로 중단될 때 fl->lock을 얻습니다 신호에 의해 invoke가 인터럽트되면 wait_for_completion_interruptible()은 -ERESTARTSYS를 반환하고 fastrpc_internal_invoke()는 fl->mmaps에서 cctx->invoke_interrupted_mmaps로 모든 버퍼를 이동합니다. 이 list_del()/list_add_tail() 워크는 fl->lock를 보유하지 않은 상태에서 실행되며, 이는 다른 모든 곳에서 fl->mmaps를 직렬화하는 잠금입니다. 다른 모든 fl->mmaps 접근자와 일치하도록 이동하는 동안 fl->lock을 걸어두십시오.
CVE-2026-74645
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: mm/damon/lru_sort: error out for >10000 active_mem_bp damos_quota_score() can trigger division by zero if the target value is zero. DAMON_LRU_SORT lets users set the target value for the hot memory scheme via active_mem_bp parameter. It avoids setting it as the target value if the parameter value is zero. However, it also sets the cold memory scheme with a target value that is calculated as '10000 - active_mem_bp + 2'. Hence, if a user sets active_mem_bp 10002, the cold memory scheme's quota goal target value can be zero. As a result, division by zero can be triggered. Fix by returning an error when the user tries to start DAMON with >10000 active_mem_bp parameter value. It makes no sense to set active_mem_bp with 10002. It also requires module parameters write permission to reproduce the issue. That said, the consequence is quite bad. One reliable way to reproduce the issue is like below: # cd /sys/module/damon_lru_sort/parameters # echo 1000 > wmarks_high # echo 995 > wmarks_mid # echo 0 > wmarks_low # echo 10002 > active_mem_bp # echo Y > enabled # dmesg -w [...] [ 597.421247] Oops: divide error: 0000 [#1] SMP NOPTI [ 597.428848] RIP: 0010:damos_quota_score+0x6f/0x480 This issue was discovered [1] by Sashiko.
CVE-2026-74644
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: mm/damon/ops-common: putback folios on invalid migrate nid damon_pa_migrate() and damos_va_migrate() isolate folios into a local list and then call damon_migrate_pages(). When target_nid is invalid (including the scheme default NUMA_NO_NODE / -1), damon_migrate_pages() returns early without putting the folios back to the LRU. Callers then discard the list head while those folios remain isolated with an extra reference taken by folio_isolate_lru(). The pages stay off the LRU for as long as the mapping exists (anon active+inactive counts drop while RSS does not), and the leftover references can pin the pages after the mapping is gone. Put the folios back on the invalid-nid path so ignored migration requests still return them to the LRU.
CVE-2026-74643
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: samples/damon/mtier: error out for zero quota goal target values Patch series "mm/damon: avoid division by zero from damos_quota_score()". DAMON_SAMPLE_MTIER and DAMON_LRU_SORT allow the user to trigger division by zero in damos_quota_score(). Avoid it by adding parameters validation checks. This patch (of 2): damos_quota_score() can trigger division by zero if the target_value is zero. DAMON_SAMPLE_MTIER lets users set the target_value via node0_mem_{used,free}_bp parameters. It doesn't guard zero value case, though. As a result, users can trigger division by zero. Fix the issue by returning an error when the user tries to start DAMON with zero node0_mem_{used,free}_bp parameter values. DAMON_SAMPLE_MTIER is just a sample module, but the consequence is quite bad. Also the zero node0_mem_free_bp parameter might look like a reasonable setup to some users. Hence, the issue might really happen in the real world. One reliable way to reproduce the issue is like below: # cd /sys/module/damon_sample_mtier/parameters # echo 4096 > node0_start_addr # echo 8192 > node0_end_addr # echo 8192 > node1_start_addr # echo 81920 > node1_end_addr # echo 0 > node0_mem_free_bp # echo Y > enabled # dmesg -w [...] [18792.235916] Oops: divide error: 0000 [#1] SMP NOPTI [...] [18792.242787] RIP: 0010:damos_quota_score+0x6f/0x480 [...] This issue was discovered [1] by Sashiko.
CVE-2026-74642
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: ALSA: usb: Fix UAF at delayed release of MIDI2 EPs The recent fix for UAF in ump_to_endpoint() caused another UAF because it tries to dereference the UMP endpoint object, but this might be executed at a delayed context where the endpoint has been already released. Add private_free to clear the associated data for avoiding the further dereference for delayed releases.
CVE-2026-74641
번역 확인 필요2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: ALSA: usx2y: hwdep mmap 페일 오프셋에 경계 설정 snd_us428ctls_vm_fault()는 페일 페이지 오프셋을 커널 주소로 바꿔 아무 경계도 두지 않습니다: offset = vmf->pgoff << PAGE_SHIFT; vaddr = (char *)(...)->us428ctls_sharedmem + offset; page = virt_to_page(vaddr); get_page(page); vmf->page = page; return 0; snd_us428ctls_mmap()은 매핑의 길이만 검사하고 오프셋은 전혀 검사하지 않으며 us428ctls_sharedmem은 alloc_pages_exact()로부터의 단일 페이지입니다. 따라서 mm 계층은 상한을 설정하지 않습니다. 제로 이상의 모든 페이지 오프셋은 객체 외부의 struct page에 해석되고, 핸들러는 이를 호출자의 주소 공간에 읽기-쓰기 형태로 설치합니다. vma는 읽기 전용으로 표시되지 않습니다. 호출자는 단일 mmap() 매개변수로 페이지 프레임을 선택하고 자신이 소유하지 않는 커널 메모리 페이지에 읽기-쓰기 접근 권한을 부여받습니다. 비어 있는 vmemmap 영역으로 들어오는 오프셋은 oops를 발생시킵니다. 첨부된 US-X2Y의 hwdep 노드를 열 수 있는 프로세스가 FPGA 이미지를 동일 노드를 통해 로드한 후 이 취약점에 도달합니다. 어떤 권한 검사는 수행되지 않습니다. 7.2.0-rc5(arm64)에서 offset가 큰 mmap(): 커널 페이징 요청을 가상 주소 fffffdffc45d5ac8에서 처리할 수 없음 pc : snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y] Call trace: snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y] __do_fault __handle_mm_fault handle_mm_fault el0_da 공유 영역 외부의 오프셋은 거부됩니다. usx2yhwdeppcm.c의 pcm hwdep 핸들러도 동일한 방식으로 주소를 계산하며 동일한 경계가 필요합니다. XBOW가 발견하고 Baul Lee <[email protected]>가 삼림한 취약점입니다.
CVE-2026-74640
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: ALSA: FCP: fcp_meter_ctl_get()의 OOB 쓰기 수정 fcp_ioctl_set_meter_map()는 사용자 제공 Level Meter 맵 크기를 드라이버의 자체 한계인 255로 제한합니다 if (map.map_size < 1 || map.map_size > 255 || map.meter_slots < 1 || map.meter_slots > 255) return -EINVAL; 그리고 이를 컨트롤의 채널 수로서 fcp_add_new_ctl()에 전달하는데, 이 값은 elem->channels로 저장됩니다. 모든 컨트롤 읽기는 struct snd_ctl_elem_value에 쓰이고, 그 정수 배열은 long value[128]로 선언되어 있으므로 한계는 255가 아니라 128입니다. fcp_meter_ctl_get()는 채널당 하나의 64비트 단어를 그 배열에 저장하는데, 이때 자체 경계는 없습니다: for (i = 0; i < elem->channels; i++) { int idx = private->meter_level_map[i]; int value = idx < 0 ? 0 : le32_to_cpu(resp[idx]); ucontrol->value.integer.value[i] = value; } snd_ctl_elem_read_user()는 해당 객체를 memdup_user(_control, sizeof(*control))로 복제하며, LP64에서 kmalloc-2048의 경우 1224 바이트를 할당합니다. offsetof(struct snd_ctl_elem_value, value)는 72이므로 요소 i는 바이트 72 + 8 * i에 쓰여야 하고, 요소 144는 이미 할당 범위를 벗어납니다. 맵 크기를 255로 설정하면 마지막 저장은 바이트 2112에 끝나고, 객체에서 888 바이트를 벗어나 인접한 슬랩 객체까지 영향을 미칩니다. 저장되는 단어는 디바이스에서 오고 meter_level_map[]가 어떤 단어를 어떤 슬롯에 놓일지 제어하므로 범위와 내용이 모두 제어됩니다. 핵심은 이가 C 구현에서 방지되지 않습니다. snd_ctl_check_elem_info()는 __snd_ctl_elem_info()에서만 호출되며, snd_ctl_elem_read()가 그 아래에서 호출합니다. CONFIG_SND_CTL_DEBUG이 없으면 snd_ctl_skip_validation()은 컴파일 시 항상 참이 됩니다. __snd_ctl_add_replace()는 kcontrol->count를 검증하지만 elem->channels를 전혀 검사하지 않습니다. 과상한 맵을 설치하려면 CAP_SYS_RAWIO가 필요하지만 컨트롤은 그것을 만든 hwdep 디스크립터보다 오래 지속되므로, out-of-bounds 저장은 /dev/snd/controlC0에서 컨트롤을 읽을 수 있는 모든 프로세스에 의해 발생합니다. 7.2.0-rc5에서의 KASAN(arm64)으로 비권한 컨트롤 읽기에 의해 트리거됩니다: BUG: KASAN: slab-out-of-bounds in fcp_meter_ctl_get Write of size 8 at addr ffff000017af04c8 by task fcp_trigger/185 __asan_store8 fcp_meter_ctl_get snd_ctl_elem_read snd_ctl_ioctl Allocated by task 185: memdup_user snd_ctl_ioctl buggy address는 할당된 1224바이트 구역 [ffff000017af0000, ffff000017af04c8) 오른쪽으로 0 바이트 지점에 위치합니다 맵 크기를 ABI 한계로 제한하고 저장 루프를 싱크의 끝에서 바이트 배열을 넘지 않도록 하여 elem->channels가 어떤 값을 가지든 간에 경계 밖 쓰기가 발생하지 않도록 합니다. XBOW에 의해 발견되고 Baul Lee가 분류했습니다 <[email protected]>
CVE-2026-74639
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: ALSA: us144mkii: re-anchor capture URBs on resubmission capture_urb_complete() resubmits each capture URB without anchoring it: usb_get_urb(urb); ret = usb_submit_urb(urb, GFP_ATOMIC); Anchoring is a property of a submission, not of the URB. The giveback path calls usb_unanchor_urb() before urb->complete(), so an URB resubmitted from its own completion handler is off the anchor. The capture URBs are anchored once, at stream start, so from the first completion onward tascam->capture_anchor is empty. tascam_free_urbs(), tascam_disconnect(), tascam_suspend() and the stop-work path all call usb_kill_anchored_urbs(&tascam->capture_anchor) to reap the capture URBs before anything is freed. With the anchor empty those calls return immediately and the URBs stay queued on the host controller. tascam_free_urbs() then returns the capture transfer buffers with usb_free_coherent(), and snd_card_free() releases the snd_card allocation that embeds tascam (card->private_data). The controller completes the queued URBs afterwards, writing device-supplied data into the freed transfer buffer, and capture_urb_complete() dereferences the freed driver object. KASAN on 7.2.0-rc5 (arm64): BUG: KASAN: slab-use-after-free in dummy_timer Write of size 512 at addr ffff000015b62000 __asan_memcpy dummy_timer hrtimer_run_softirq Allocated by task 64: usb_alloc_coherent tascam_alloc_urbs tascam_probe Freed by task 170: usb_free_coherent tascam_free_urbs tascam_disconnect usb_unbind_interface BUG: KASAN: slab-use-after-free in capture_urb_complete Read of size 4 at addr ffff0000170ee878 Freed by task 170: release_card_device snd_card_free tascam_disconnect Restore the usb_anchor_urb() between the reference count bump and the resubmission. That also makes the handler's usb_unanchor_urb() failure arm meaningful again and restores usb_kill_anchored_urbs() as a barrier on the disconnect, suspend and stop-work paths. The anchoring was removed on the premise that the URB is already anchored from the initial submission, which does not hold once the first giveback has run. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-74638
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Serialize the scheduler timeout handlers V3D exposes several independent hardware queues (BIN, RENDER, TFU and CSD) but has only a single, global reset. A timeout on any one queue therefore has to stop, reset and restart the schedulers of every other queue as well. That makes concurrent timeout handlers unsafe. `reset_lock` was never able to make them safe, as a driver-side lock can only cover the driver's &drm_sched_backend_ops.timedout_job callback. The scheduler handles the timed out job and its pending list around that callback, outside of the driver's control, so a global reset triggered by one queue can still interfere with another queue that is in the middle of handling a timeout of its own. Consequently, if a reset happens in the CSD queue while a CL-intensive application is running, the global reset stops and restarts the CL queue's scheduler while that queue is handling a timeout of its own. As drm_sched_stop() and drm_sched_start() subtract and add the credits of every job sitting on the pending list of the scheduler they are called on, and as the CL queue's handler concurrently takes its job off that same list and puts it back, the stop and the start no longer see the same set of jobs. The CL queue is left with more credits in flight than its limit: [ 327.302739] ------------[ cut here ]------------ [ 327.302744] WARNING: CPU: 2 PID: 43 at drivers/gpu/drm/scheduler/sched_main.c:102 drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] [ 327.302884] CPU: 2 UID: 0 PID: 43 Comm: kworker/u16:1 Not tainted 6.18.39-v8-16k+ #3 PREEMPT [ 327.302889] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 327.302893] Workqueue: v3d_bin drm_sched_run_job_work [gpu_sched] [ 327.302984] Call trace: [ 327.302987] drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] (P) [ 327.302997] process_scheduled_works+0x180/0x3d0 [ 327.303010] worker_thread+0x268/0x3e8 [ 327.303016] kthread+0x140/0x250 [ 327.303022] ret_from_fork+0x10/0x20 [ 327.303031] ---[ end trace 0000000000000000 ]--- From that point on, the credit count of the CL queue is broken, causing a complete GPU hang and UI freeze. The DRM scheduler already provides a mechanism to serialize the timeout handlers of different schedulers: an ordered workqueue passed as drm_sched_init()'s @timeout_wq parameter. By default, each scheduler queues its timeout work on the system workqueue, which runs the handlers concurrently. Give all of the queues a shared ordered workqueue instead, as recommended by the DRM scheduler documentation for hardware that has distinct queues but resets globally.
CVE-2026-74637
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었다: perf/core: 형제 분리 뒤에 그룹 리더가 해제된 후(use-after-free) 문제 수정 perf_group_detach()는 리더와 형제 분리를 다르게 처리한다. 그룹 리더가 분리되면 모든 형제가 단일 이벤트로 승격되고 their group_leader 포인터가 자신으로 재설정된다. 형제가 분리되면 리더의 형제 목록에서 제거되지만, 그들의 group_leader 포인터는 여전히 이전 리더를 가리킨다. 이는 형제가 닫히고 즉시 해제될 때는 무해하지만, DETACH_DEAD 경로에서처럼 형제가 분리되었지만 생존한 경우에는 안전하지 않다. 예를 들어 DETACH_GROUP으로 CPU 핫플러그가 수행될 때 형제가 컨텍스트에서 제거되면서도 파일 기술자에 의해 여전히 살아 있을 수 있다. 일반적인 실패 시퀀스는 다음과 같다: - 그룹에 리더 L과 형제 S가 있다. - CPU 핫언플러그가 DETACH_GROUP로 S를 분리하고 L의 형제 목록에서 제거하되 S->group_leader는 여전히 L을 가리킨다. - 나중에 L이 닫히고 해제된다. - S에 대해 perf_ioctl()의 PERF_IOC_FLAG_GROUP IOCTL가 호출되고 해제된 리더를 역참조한다. 이 문제는 perf 이벤트 퍼저, CPU 핫플러그, 스트레스 워크로드를 병행 실행하여 재현되었다: 커널 페이지 매핑 요청을 처리하지 못함 가상 주소 006b6b6b6b6b6cdb CPU: 2 PID: 12489 Comm: perf_fuzzer 6.18.7 PREEMPT pc : perf_ioctl+0x34c/0xc68 x20: ffffff89a3fa2c70 x8 : 6b6b6b6b6b6b6b6b 코드: 943c4a0e 340047a0 f9404a94 f9411e88 (f940b908) 호출 트레이스: perf_ioctl+0x34c/0xc68 (P) __arm64_sys_ioctl+0xa0/0xf4 invoke_syscall+0x58/0xe4 el0_svc_common+0xa8/0xdc do_el0_svc+0x1c/0x28 el0_svc+0x40/0xc0 el0t_64_sync_handler+0x68/0xdc el0t_64_sync+0x1c4/0x1c8 실패는 perf_ioctl()에서 발생했으며 perf_event_for_each()가 오래된 group_leader 포인터를 따라가고 perf_event_for_each_child()가 해제된 리더의 컨텍스트를 역참조한다. 해당 분리된 형제를 단일 이벤트로 승격함으로써.use-after-free를 수정했다. 또한 __event_disable() cgoup 회계와 이벤트 상태 변경도 수정했다.
CVE-2026-74636
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: tracing: Fix race between update_event_fields and, event_define_fields The following sequence may leads race between event_define_fields() and update_event_fields(): CPU0 (loads module A) CPU1 (loads module B) =============================== =============================== load_module(A) load_module(B) notifier_call_chain notifier_call_chain trace_module_notify trace_module_notify mutex_lock(&event_mutex) trace_event_update_all() trace_module_add_events(A) down_write(&trace_event_sem) __register_event(call_A) __add_event_to_tracers(call_A) event_define_fields(call_A) for each f: list_for_each_entry(field, list_add(&f->link, &class->fields, link) &class->fields) field = class->fields->next; Where access to the class->fields is not protected by the event_mutex in trace_event_update_all(). This produces the following panic: Unable to handle kernel access ... at virtual address 0000000000000018 pc : update_event_fields+0xf8/0x368 Call trace: update_event_fields+0xf8/0x368 trace_event_update_all+0x7c/0x2b4 trace_module_notify+0x4c/0x1dc notifier_call_chain+0x84/0x168 blocking_notifier_call_chain_robust+0x64/0xd4 load_module+0x10c8/0x123c __arm64_sys_finit_module+0x230/0x31c Fix by taking event_mutex in trace_event_update_all() before trace_event_sem.
CVE-2026-74635
번역 확인 필요2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었다: fbdev: bitblit: bit_cursor()에서 글리프 인덱스 경계 검사 bit_cursor()는 커서 아래의 글리프를 가져오며 c = scr_readw(vc_pos); src = vc_font.data + ((c & charmask) * w * height); 여기서 charmask는 vc_hi_font_mask가 설정되면 0x1ff이다. 화면 버퍼 값은 scr_readw()에서 직접 읽히며 현재 글꼴의 글리프 수보다 크다. Syzkaller는 이를 vcs_write()를 통해 트리거한다. 호출 추적은 vc_screen.c의 vcs_write()가 /dev/vcsa에 writev()로 임의의 16비트 값을 쓰는 것을 보여주고, vc_screen.c의 vcs_write_buf()가 charcount를 확인하지 않고 vc_scr_writew()를 통해 저장한다. 저장된 값은 나중에 bitblit.c의 bit_cursor()에서 읽힌다. 폰트가 512 글리프의 폰트에서 256 글리프로 바뀌면, 화면 버퍼는 이전 모드의 높은 비트를 가진 문자를 남길 수 있으며, 이는 동일한 범위 밖 접근을 생성할 수도 있다. 버그: KASAN: 전역 범위 밖 eriş오 in soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70 addr ffff800086c57970에서 크기 16 읽기 호출 추적: soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0xa90/0x1108 drivers/video/fbdev/core/bitblit.c:365 fbcon_cursor+0x344/0x498 drivers/video/fbdev/core/fbcon.c:1427 hide_cursor+0xdc/0x2d0 drivers/tty/vt/vt.c:883 update_region+0x100/0x18c drivers/tty/vt/vt.c:669 vcs_write+0x8ec/0xaf0 drivers/tty/vt/vc_screen.c:685 bit_putcs_aligned() 및 bit_putcs_unaligned()는 이미 글리프 인덱스를 vc_font.charcount로 제한한다. bit_cursor()에서 속성을 추출하고 마스킹한 후 판단된 인덱스를 글꼴 데이터에 색인하기 전에 동일한 제한을 적용한다. 패치는 commit 18c4ef4e765a("fbdev: bitblit: bound-check glyph index in bit_putcs*")에서 시작된 경계 검사를 완성하며, 커서 경로를 놓쳤던 문제를 해결한다. 이 변경은 fbcon의 기존 계약에서 글자 수가 console_lock 하에서 con_font_set() 및 fbcon_font_set()에 의해 유지되며, hi_font_mask는 512에서 256 글리프로 전환할 때 제거되므로 안전하다. 글꼴 전환 후에도 오래된 화면 데이터가 남아 있거나 vcs_write()가 임의의 값을 저장하는 경우, 인덱스를 0으로 제한하는 것이 경계 밖 읽기를 방지하고 커서 동작의 의미를 바꾸지 않는다 — 동일한 fallback bit_putcs가 사용하는 방식이다.
CVE-2026-74634
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: ring-buffer: 크기 조정이 비활성화된 경우 하위 버퍼 순서 변경을 방지 ring_buffer_subbuf_order_set()가 버퍼 페이지를 해제하기 때문에 크기 조정이 비활성화된 경우 이를 허용할 수 없습니다. 소비하지 않는 리더가 사용 후 해제(use-after-free, rb_advance_iter())에 취약합니다. resize_disabled에서 -EBUSY를 반환하고, ring_buffer_resize() 동작과 일치합니다.
CVE-2026-74633
2026년 8월 23일In the Linux kernel, the following vulnerability has been resolved: tracing: Fix NULL pointer dereference in module event cache removal A module-only event filter such as ":mod:foo" is cached with a NULL event_mod->match when foo has not been loaded. If a later write tries to remove a specific match from the same module, remove_cache_mod() passes the NULL cached match to strcmp(), causing a NULL pointer dereference. The issue can be reproduced from userspace: echo ':mod:trace_events_kunit_missing' > /sys/kernel/tracing/set_event echo '!foo_bar:mod:trace_events_kunit_missing' >> /sys/kernel/tracing/set_event The second write must be a concatenation (">>") to not include O_TRUNC as that would cause ftrace_clear_events() to clear the cached modules lines. The crash was reproduced on x86_64 QEMU while KUnit workers contended on the event tracing path: BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode RIP: 0010:strcmp+0x10/0x30 Call Trace: __ftrace_set_clr_event_nolock+0x373/0x4a0 ftrace_set_clr_event+0xf0/0x180 ftrace_event_write+0xdf/0x110 vfs_write+0xf6/0x440 ksys_write+0x68/0xe0 do_syscall_64+0xf9/0x540 entry_SYSCALL_64_after_hwframe+0x77/0x7f Check event_mod->match before comparing it, consistent with the existing NULL checks for the cached system and event fields. The mismatched removal continues to return -EINVAL; a broad cached module filter is removed with "!:mod:<module>".
CVE-2026-74632
번역 확인 필요2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: mm/huge_memory: huge_zero_pfn 레이싱 수정 "mm/huge_memory: fix huge_zero_pfn race" 패치 시리즈, 버전 v2. 참조 카운트가 된 huge_zero_folio 구현에 미묘한 레이스가 있습니다. 빠른 경로의 원자 로직은 shrinker가 최종 huge_zero_refcount 핀을 드롭할 수 있고, racing get_huge_zero_folio()가 거기에 유효한 값을 설치한 뒤 shrink_huge_zero_folio_scan()에서 huge_zero_pfn을 ~0UL 시그널 값으로 덮어쓸 수 있다는 사실을 고려하지 못합니다. 이로 인해 huge_zero_folio는 올바르게 설정되지만 huge_zero_pfn이 잘못 설정되어서 is_huge_zero_pfn() 및 결과적으로 is_huge_zero_pmd()가 큰 제로 folio를 보통의 THP folio로 잘못 식별하게 됩니다. 이로 인해 큰 제로 folio가 분할되거나 잘못 취급될 수 있습니다. 이 문제의 해결은 아주 미묘합니다. 원자적 빠른 경로가 존재하므로 약하게 순서가 지정된 아키텍처에서의 순서를 매우 신중하게 다루어야 합니다. 첫 커밋은 huge_zero_[pfn, folio, refcount] 쓰기 주변에 스핀락을 도입하고, 빠른 경로에서의 로드/저장 순서를 신중하게 고려합니다. 이 커밋은 우선 배치되어 독립적으로 백포트될 수 있도록 가능한 한 작게 유지됩니다. 두 번째 커밋은 CONFIG_PERSISTENT_HUGE_ZERO_FOLIO 로직을 재구성하여 영구적으로 할당된 로직과 동적으로 할당된 로직을 더 잘 분리합니다. 이 패치(2개 중 1): CONFIG_PERSISTENT_HUGE_ZERO_FOLIO가 아닌 경우 huge_zero_folio는 huge_zero_refcount에 의해 참조 카운트되고 mm_get_huge_zero_folio()로 반환됩니다. 호출자가 큰 0 페이지를 다 쓴 경우 참조 카운트가 감소합니다. 오직 shrinker만이 참조 카운트를 0으로 설정할 수 있습니다. 종종 shrinker가 참조 카운트를 0으로 감소시키는 것과 동시 페이지 오류가 발생하는 레이스가 발생할 수 있습니다. 이는 shrink_huge_zero_folio_scan()가 huge_zero_refcount를 0으로 설정하고 잘못된 값을 기록하는 동안 아주 운이 좋지 않게 선점될 수 있기 때문입니다. 이 기간 동안 get_huge_zero_folio()가 huge_zero_pfn에 쓸 수 있습니다. 이 경우 큰 제로 folio가 지속적으로 잘못 식별되어 THP 경로로 잘못 진입하는 문제가 발생합니다: CPU 0 CPU 1 =======================================|================================= shrink_huge_zero_folio_scan() | atomic_cmpxchg()가 참조 카운트를 0으로 설정 | xchg()가 huge_zero_folio를 NULL로 설정 | get_huge_zero_folio() | | atomic_inc_not_zero() -> 0 긴 시간 동안 선점 | 새 큰 제로 folio 할당 | | 유효한 huge_zero_folio 기록 v | 유효한 huge_zero_pfn 기록 huge_zero_pfn을 ~0UL로 덮어쓰기 <--- 잘못된 덮어쓰기! 이로 인해 is_huge_zero_pfn() 및 is_huge_zero_pmd()가 큰 제로 페이지에 대해 잘못 false를 반환하게 되어 큰 제로 folio가 잘못 분할되는 등의 문제가 발생할 수 있습니다. 문제는 huge_zero_pfn에 있으며 huge_zero_folio가 아니므로 get_huge_zero_folio()는 NULL인 huge_zero_folio에 대해 cmpxchg()로 게이트되고 재시도 루프가 있으며 shrink_huge_zero_folio_scan()은 xchg()를 사용하여 huge_zero_folio를 설정합니다. huge_zero_folio, huge_zero_pfn, huge_zero_refcount의 동시 쓰기를 방지하기 위해 huge_zero_lock를 도입하여 문제를 해결합니다. 해당 로직에서 정확성을 보장하기 위해 주의가 필요합니다: get_huge_zero_folio()의 빠른 경로는 원자적_inc_not_zero()를 사용하며, 이는 임계 구역 외부에 있고 큰 제로 할당이 0 huge_zero_refcount에 의해 게이트됩니다. 빠른 경로는 huge_zero_lock를 사용하지 않으므로 임계 구역은 여기에 영향받지 않습니다. 따라서 불변식은 다음과 같아야 합니다 - huge_zero_refcount는 반드시: * huge_zero_lock 임계 구역에서만 설정되어야 하며, 이를 통해 huge_zero_pfn, huge_zero_folio 및 huge_zero_refcount의 직렬화를 보장해야 한다.
CVE-2026-74631
번역 확인 필요2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: net: smc: smc_rx_splice에서 스파이스(entry) 생명주기 불균형 수정 smc_rx_splice()가 splice_to_pipe()에 페이지를 넘겨주기 전에 각 스파이스(entry)의 생명주기를 커버하는 참조를 획득합니다. VM 기반 RMB 경로에서 splice_to_pipe()는 큐에 들어가지 않은 엔트리를 smc_rx_spd_release()를 통해 떨어뜨릴 수 있는 반면, 큐에 들어간 엔트리는 파이프 버퍼 콜백을 통해 나중에 해제됩니다. 예전 포스트-스파이스 회계는 또한 디스크립터를 구성하는 동안 변형된 오프셋으로 큐에 들어간 VM 페이지의 수를 도출했고, 다중 페이지 스파이스는 하나의 sock_hold()를 여러 sock_put() 호출과 연결합니다. 스파이스_to_pipe() 이전에 모든 후보 엔트리의 페이지와 소켓 참조를 얻고, 큐에 들어가지 않는 엔트리에 대해서는 smc_rx_spd_release()에서 매칭되는 프라이빗 상태, 페이지 참조 및 소켓 참조를 제거합니다. 이는 참조 횟수 불균형으로 인해 페이지 refcount가 언더플로우되고 use-after-free를 트리거할 수 있는 문제를 수정합니다.
CVE-2026-74630
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었습니다: ipv6: in6_dev_get()가 inet6_dev를 부활시키지 못하게 차단 in6_dev_get()은 RCU 하에 dev->ip6_ptr를 읽은 다음 이를 무조건 증가시킵니다(refcount 증가). 기기 종료 시 포인터를 지우고 이 연산 사이에 마지막 참조를 떨어뜨릴 수 있습니다. 그 후 증가가 이미 해제 대기 중인 객체를 다시 활성화시키므로 호출자는 해제된 객체를 사용할 수 있게 됩니다. 객체가 이미 0에 도달한 경우 refcount_inc_not_zero()를 사용하고 NULL을 반환합니다. RCU는 시도된 참조 취득을 통해 메모리에 대한 접근을 유지하고, 성공적인 증가가 해당 객체를 호출자 쪽에서 고정시킵니다. 정확히 패치되지 않은 6f5156d7a31a(v7.2-rc3)에서 독립적으로 실행한 결과 잘못된 참조 취득이 UID 1000으로 재현되었습니다: refcount_t: 0에서의 증가; 사용 후 해제(use-after-free). ip6_mc_source+0xef4/0x17e0 그 다음 ip6_mc_source()에서 대응하는 참조 하한이 따라왔습니다. 동일한 패치되지 않은 리비전에 대한 동일한 추적은 또한 RCU 읽기 측 섹션 끝난 후의 접근을 보여줍니다: BUG: KASAN: slab-use-after-free in mutex_lock+0x76/0xe0 작업 poc/1219에 의해 주소 ffff888015b50240에 크기 8의 쓰기가 발생 OpenAI 보안 연구팀에 의해 발견되고 분류되었으며 Trail of Bits에 의해 검증되었습니다.
CVE-2026-74629
번역 확인 필요2026년 8월 23일Linix 커널에서 다음 취약점이 해결되었습니다: net/dibs: dmb_clientid_arr의 해제 시점 수정 dibs 디바이스 인터럽트 핸들러가 dibs_dev_del() 이후에도 활성 상태일 수 있으며, 여전히 dmb_clientid_arr에 접근할 수 있습니다. (UAF) dibs_lo_dev_probe()에 의해 dibs_dev_add()가 호출될 때 실패하는 경우, dibs_dev_add() 대신 dibs_dev_alloc()에서의 할당은 여전히 더블 프리(double free) 문제를 일으킬 수 있습니다. dmb_clientid_arr은 마지막 참조가 사라진 후 dibs_dev_release()에서 해제됩니다. 참고로 dibs_dev_add()에서 할당하는 것이 현재로서는 허용되지만, dibs_dev_add() 이전에 dmbs가 등록되지 않으므로 문제가 되지 않습니다.
CVE-2026-74628
2026년 8월 23일리눅스 커널에서 다음 취약점이 해결되었다: net/x25: 타이머에 의한 소켓의 해제 후 사용(use-after-free) 수정 x25 타이머는 mod_timer()로 활성화되고 timer_delete()로 취소되는데, 대기 중인 타이머는 소켓에 대한 참조를 보유하지 않으며 취소는 이미 다른 CPU에서 실행 중인 콜백을 기다리지 않는다. x25_heartbeat_expiry()는 무조건 재활성화하므로 __x25_destroy_socket()이 취소 지점을 지난 후에도 sk->sk_timer를 다시 설치할 수 있다. 다음 __sock_put()은 타이머가 아직 큐에 있는 동안 소켓을 해제하며, 다음 만료 시 해제된 메모리를 사용한다. KASAN은 close()에 의해 해제된 kmalloc-2k 객체에서 slab-use-after-free를 보고한다. timer_delete_sync()는 사용할 수 없다: x25_heartbeat_expiry()와 x25_timer_expiry()는 모두 __x25_destroy_socket()과 x25_disconnect()를 통해 자신들이 기다릴 타이머 내부에서 취소에 도달한다. sk_reset_timer()로 타이머를 활성화하고 sk_stop_timer()로 취소하여 활성화된 타이머가 참조를 소유하도록 하며, 만료 핸들러 둘 다에서 이를 해제한다. __x25_destroy_socket()이 소켓을 해제하기 전에 연결 해제하므로 sk_hashed(sk)가 여전히 true인 동안에만 하트비트를 재활성화한다. 지연 파괴 타이머도 같은 방식으로 활성화하고 x25_destroy_timer()에서 참조를 해제한다. KASAN과 함께 하트비트 주기를 단축하여 net에서 재현되었다. 이 패치로 재현기는 더 이상 보고서를 발생시키지 않으며 /proc/net/x25가 비워진다. XBOW가 발견하고 Baul Lee <[email protected]>가 분류함