총 15,720건
CVE-2026-99997
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: do not map a vcn as a hole when its runlist lookup failed ntfs_attr_vcn_to_rl() retries ntfs_map_runlist_nolock() for any lcn up to LCN_RL_NOT_MAPPED, which includes LCN_ENOENT, but turns a failed retry into an error only for LCN_RL_NOT_MAPPED. For LCN_ENOENT the error is dropped and the read path maps the range as a hole. An LCN_ENOENT below allocated_size comes from a base extent with a highest_vcn of 0, which ntfs_mapping_pairs_decompress() takes to map the whole attribute, so the runlist ends after its last mapping pair. If the pairs end early, the retry finds the same extent and fails with -ENOENT. On a crafted volume with 4 KiB clusters, a 64-cluster file whose mapping pairs stop after 16 clusters reads 48 clusters of zeros, with no error. The same layout gets a crafted $MFT past the check from "ntfs: fail the mount when $MFT needs its own extent records". With 512-byte clusters and $MFT's mapping pairs ending at vcn 4, an unpatched kernel hangs on the folio lock reading records 0-3. With the check alone, the -EIO is dropped, records 2 and 3 read as zeros and the mount carries on until check_mft_mirror() finds the zeroed record 2. Fail the lookup whenever the retry leaves @vcn unmapped below allocated_size, -ENOENT included. At or beyond allocated_size the end of the runlist is still returned as it is. A failed expansion in ntfs_non_resident_attr_expand() or ntfs_attrlist_repack() truncates the runlist under the runlist lock but restores allocated_size only after dropping it. A lookup in between would now fail, so restore allocated_size before dropping the lock in both, under size_lock, which ntfs_attr_vcn_to_rl() takes to read it. The crafted file now fails from vcn 16 on with -EIO, and the crafted volume fails to mount with the check's message.
CVE-2026-99996
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: ntfs: 비주 resident 속성을 확장하는 동안 실행 리스트 잠금을 보유합니다 ntfs_non_resident_attr_expand()가 클러스터를 할당하는 동안 ni->runlist.rl을 변경합니다: ntfs_attr_map_whole_runlist(), 압축 분기의 ntfs_rl_realloc() 및 ntfs_runlists_merge()는 각각 이전 배열을 kvfree()할 수 있습니다. 호출자가 이미 ni->runlist.lock을 보유하고 있지 않으면 이 작업은 그 아래에서 실행되지 않으며 롤백만이 이를 가집니다. 이를 보유하지 않는 호출자에는 쓰기 경로, fallocate, ntfs_inode_attr_pwrite(), ntfs_resident_attr_resize()가 포함됩니다. 이 호출자들은 mrec_lock을 보유하며 쓰기 경로는 inode_lock도 보유하지만 iomap 읽기 측은 이를 보유하지 않습니다: FIEMAP, 페이지 결함, 재읽기 및 splice 읽기가 ntfs_read_iomap_begin_non_resident()에 도달하며 이때만 ni->runlist.lock을 가져옵니다. write(2)가 동일 파일을 확장하는 동안 실행되는 FIEMAP은 ntfs_runlists_merge()가 방금 해제한 배열을 순회할 수 있습니다: 버그: KASAN: 슬랩-해제 후 사용 in ntfs_attr_vcn_to_rl+0x19b/0x200 유효하지 않은 배열에서 vcn을 찾은 리더는 디스크에서 런리스트로 매핑된 것을 읽는 글자도 이렇게 보여집니다. 이는 "Run lists overlap. Cannot merge!"로 나타납니다. 변형된 매핑 쌍 업데이트를 포함하여 런리스트와 할당된 크기 부분에 쓰기용으로 ni->runlist.lock을 사용하고, commit 91709ba5d6d7("ntfs: protect runlist updates with the runlist lock") 이후 롤백 동안에도 이를 유지합니다. ntfs_cluster_free()가 이를 필요로 하기 때문입니다. 락은 이미 truncate-up 경로의 mrec_lock 내부에 중첩되며, 이 함수가 이미 런리스트 락이 보유된 상태에서 호출됩니다. 호출자가 락 보유를 명시하면(locked_ni == ni) 쓰기용으로 이를 보유하고 있음을 확인합니다. 호출자가 락을 보유하지 않는 경우, 매핑 쌍 업데이트 이전에 락을 해제합니다: 해당 업데이트는 ntfs_attrlist_update_locked()를 통해 동일 리스트를 재사이즈할 수 있으며, 리스트의 락이 보유되었다고 알려진 경우 -ENOSPC를 반환합니다. 거기에 락을 보유한 상태에서 구멍을 큰 조각으로 분해하는 동작은 -ENOSPC로 실패하게 됩니다.
CVE-2026-99995
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: add a runlist merge that leaves the source runlist to the caller ntfs_runlists_merge() frees the source runlist once its runs are in the destination. A caller that may have to undo the merge then has to work out its runs again from the merged runlist, where the first and the last of them may have been coalesced with neighbouring runs. Add ntfs_runlists_merge_keep_src(), which neither modifies nor frees the source runlist. For that, ntfs_rl_append() and ntfs_rl_replace() now merge the right-hand end into the copied run in the destination instead of into the last source run before copying it, and the merge helpers take the source as const, so the compiler checks that none of them writes to it. The merged runlist is the same as before. For every caller, a source runlist without any mapped run, which the merge already warns about, now fails with -EINVAL instead of carrying on with nothing to insert: with no run copied, the right-hand merge into the destination would index before the insertion point. The next patch uses ntfs_runlists_merge_keep_src() to free exactly the clusters it allocated when it has to undo an $MFT data extension.
CVE-2026-99994
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: balance the $MFT runlist lock in data extension error paths ntfs_mft_data_extend_allocation_nolock() drops the $MFT runlist lock before allocating clusters, and every path into undo_alloc arrives without it, except a map_mft_record() failure, which takes it first. undo_alloc never releases it, so the lock leaks and the next $MFT extension and $MFT writeback hang. The restore_undo_alloc failure path, on the other hand, releases the lock without holding it. And undo_alloc frees the clusters with ntfs_cluster_free() and truncates the runlist without the lock, although both require it. Enter undo_alloc without the lock on every path. Merge the new clusters with ntfs_runlists_merge_keep_src() and keep the runlist that ntfs_cluster_alloc() returned until the extension is complete. On failure, undo_alloc truncates $MFT's runlist under the lock and, after dropping it, frees the clusters from the kept runlist with ntfs_cluster_free_from_rl(). That keeps lcnbmp_lock outside the runlist lock, the order given by the comment before the cluster allocation. Unlike ntfs_cluster_free() on a volume mounted with -o discard, this does not issue discards for the clusters, which were never written; the runlist merge failure path already frees them the same way. If the truncation fails, the runlist may still reference the clusters, so they stay allocated and the volume is marked for chkdsk; at this call site the truncation only shrinks the runlist and cannot fail today. A shorter fix would keep calling ntfs_cluster_free() on the live runlist without the lock, relying on $MFT's runlist being fully mapped and changed only by this function under mrec_lock. That breaks ntfs_cluster_free()'s documented locking rule on an argument about the rest of the driver, so this patch does not do that.
CVE-2026-99993
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kunmap_local() of advanced pointers in check_mft_mirror() check_mft_mirror() compares the mft records of a page with the mirror records by advancing kmft and kmirr by the record size for every record. It then passes the advanced pointers to kunmap_local(). After the last record of a page they point one page past the mapping. With HIGHMEM kunmap_local() warns that the address does not match the top of the kmap_local stack. What it does next depends on how the architecture finds the page table entry: - 32-bit ARM looks the entry up by that address. It clears the entry of the neighbouring fixmap slot and leaves the real mapping in place. The next kmap_local() on that CPU that reaches the slot hits the BUG_ON(!pte_none()) in __kmap_local_pfn_prot(). - x86-32 takes the entry from the stack index, so the wrong address does not select a wrong entry. In QEMU the mount carried on after the warning. With 4 KiB pages and 1 KiB mft records the four mirror records fill exactly one page, so every mount whose $MFT and $MFTMirr folios are in highmem hits it. A fresh mkntfs volume on 32-bit ARM (multi_v7_defconfig, 256 MiB of highmem) fails on the first mount: WARNING: mm/highmem.c:623 at kunmap_local_indexed+0x254/0x26c, CPU#1: mount/85 kunmap_local_indexed from ntfs_fill_super+0x224c/0x35a0 ntfs_fill_super from get_tree_bdev_flags+0x1d8/0x2a4 ntfs: volume version 3.1, dev loop0, cluster size 4096 kernel BUG at mm/highmem.c:565! PC is at __kmap_local_pfn_prot+0x210/0x214 __kmap_local_page_prot from ntfs_check_logfile+0x1fc/0x1210 Found with syzkaller. Kernels without HIGHMEM do not show it. kmap_local_folio() returns the direct map address there and kunmap_local() has no mapping to remove. Keep the addresses returned by kmap_local_folio() and unmap with those.
CVE-2026-99992
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in ntfs_check_logfile() ntfs_check_logfile() calls kmap_local_folio() on every iteration of its search loop but kunmap_local() only once per folio. The loop visits positions 0, 512, 1024, 2048, 4096 and so on. With 4 KiB pages the first four are in one page, so a mount whose first LogFile folio is in highmem leaves three entries on the kmap_local stack of the mounting task. Kernels without HIGHMEM are not affected. The leaked entries keep migration disabled. nr_pinned of the runqueue the mount ran on stays raised after the task exits, so taking that CPU offline blocks forever in balance_hotplug_wait(). The fifth mount in one task reaches KM_MAX_IDX (12 leaked entries plus 4 in the loop) and hits the BUG_ON() in kmap_local_idx_push(): kernel BUG at mm/highmem.c:480! On x86-32 the generic entry code also warns on return to user space: DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx) WARNING: include/linux/highmem-internal.h:17 at __do_fast_syscall_32+0x21e/0x550 Map each page once, when it is read, and unmap that address.
CVE-2026-99991
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: roll back the ACL xattr commit when the WSL mode update fails ntfs_set_acl_ex() commits the ACL xattr before it rewrites the WSL mode EA, and removes it again when the rewrite fails. That only undoes a set that created the xattr: when the update replaced or removed an existing one, the old ACL is discarded along with the failed update. No error is recorded when the undo fails, so the new, typically more permissive, ACL is left on disk while i_mode, the mode EA and the cached ACL keep the old values. After a remount, a chmod 0640 -> 0777 that reported failure leaves the file accessible to the relaxed ACL while stat() still reports 0640. Save the previous xattr before committing the update, and restore it when the mode EA rewrite fails. A removed xattr is created again, since XATTR_REPLACE fails with -ENODATA once the removal dropped the entry. Remove the new xattr only when there was no previous one, and skip the undo when the commit changed nothing. A failed rollback is recorded: NVolSetErrors(), which the next persistence point persists as VOLUME_IS_DIRTY, and a log message the errors= policy acts on. The flag cannot be written to disk here directly: the target inode's mrec_lock is held and the $Volume mrec_lock cannot be nested under it.
CVE-2026-99990
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었다: ALSA: emux: 모든 경우에 존을 해제하기 전에 보이스를 중지 emux 음향 폰트 존 포인터를 vp->zone에 캐시하는데, 후에 snd_emux_send_effect() 등에서 참조된다. 매니퓰레이션 포인터를 악용하지 않도록 음향 폰트 코드는 존을 해제하기 전에 모든 보이스를 중지하기 위해 sample_reset 콜백을 호출한다. 그러나 몇 가지 경우(e.g. emu10k1의 누락된 sample_reset 또는 remove_info() 경로를 통해) sample reset이 올바르게 호출되지 않아 재생 중인 보이스가 남아있게 된다. 드라이버가 자체 연산을 갖고 있지 않을 때도 항상 sample_reset 콜백을 등록하고, 드라이버가 자체 ops를 가지지 않으면 snd_emux_terminate_all()로 대체하며, remove_info()에서 존을 해제하기 전에 sample_reset을 호출하여 존을 해제하는 것으로 수정한다.
CVE-2026-99989
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: gpiolib: Free chip resources when allocating the label fails If desc_set_label() fails after the chip's request callback succeeds, gpiod_request_commit() clears GPIOD_FLAG_REQUESTED without calling the free callback. The caller receives an error and has no GPIO to release, leaving resources acquired by the request callback held. Call the chip's free callback, if present, before clearing the requested bit on label allocation failure. Leave request callback errors on the existing path to avoid freeing a failed request.
CVE-2026-99988
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Handle period elapsed calls outside the locks LINE6 driver may call snd_pcm_period_elapsed() for both playback and capture substreams at processing the playback substream, and this may lead to a ABBA deadlock. Move the actual calls of snd_pcm_period_elapsed() outside the locks for avoiding it. The capture period notification at submitting the initial playback URBs (only with the impulse mode) is simply skipped, as it's done in the lock context; it'll be caught up at the next period.
CVE-2026-99987
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: blk-mq: clear stale inactive flag on hctx reuse When the last CPU mapped to an hctx goes offline, blk_mq_hctx_notify_offline() sets BLK_MQ_S_INACTIVE. Updating the number of hardware queues exits every hctx and parks it on q->unused_hctx_list. A later update can reuse a parked hctx through blk_mq_alloc_and_init_hctx(), at any queue index, and nothing clears the flag. If the reused hctx is mapped to an online CPU, blk_mq_get_tag() keeps returning BLK_MQ_NO_TAG for it. __blk_mq_alloc_requests() sleeps and retries, expecting CPU hotplug to move the task to another CPU, so a task that stays on that CPU never gets a tag. Onlining the original CPU doesn't recover it either, because blk_mq_hctx_notify_online() only clears the flag on the hctx that CPU now maps to. Clear BLK_MQ_S_INACTIVE in blk_mq_init_hctx() so a reused hctx starts like a freshly allocated one. A reused hctx has no cpuhp instances at that point, so the offline callback can't set the flag again before blk_mq_add_hw_queues_cpuhp() registers it. Clearing the flag in blk_mq_exit_hctx() is not enough, because a parked hctx keeps its cpuhp instances until blk_mq_remove_hw_queues_cpuhp(). Preserve the other hctx state flags. Reproduced with null_blk on v7.3 in a four-vCPU arm64 QEMU/KVM guest: modprobe null_blk nr_devices=0 mkdir /sys/kernel/config/nullb/nullb0 cd /sys/kernel/config/nullb/nullb0 echo 4 > submit_queues; echo 1 > memory_backed; echo 16 > size echo 1 > power echo 0 > /sys/devices/system/cpu/cpu3/online echo 2 > submit_queues echo 4 > submit_queues Offlining CPU3 marks hctx3 inactive. After the two updates it comes back as hctx1 and is mapped to CPU0: # cat /sys/block/nullb0/mq/1/cpu_list 0 # cat /sys/kernel/debug/block/nullb0/hctx1/state INACTIVE A 4K O_DIRECT read pinned to CPU0 hangs in D state, while the same read on CPU1 and CPU2 completes. Onlining CPU3 again leaves hctx1 inactive and the CPU0 read still hangs. With this change hctx1 state is empty and the reads on CPU0, CPU1 and CPU2 complete, before and after onlining CPU3.
CVE-2026-99986
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: drm/amdkfd: 도어벨 할당 경쟁으로 중복 할당 생성 수정 pdd->qpd.proc_doorbells에 대한 검사-할당 시퀀스는 kfd_alloc_process_doorbells()의 모든 호출 지점에서 잠금 없이(lockless) 수행됩니다: kfd_get_process_doorbells() (/dev/kfd의 mmap), kfd_ioctl_create_queue() 및 CRIU 복원 경로는 서로 다른 잠금(또는 잠금 없이) 아래에서 포인터를 테스트하므로 두 개의 경쟁 스레드가 NULL을 모두 관찰하고 각기 도어벨 BO와 비트를 할당하게 되어, 한 대상을 보유한 하나의 할당이 고아가 되고 두 매핑이 서로 다른 백링 페이지를 가지는 문제가 발생할 수 있습니다. 직렬화를 kfd_alloc_process_doorbells() 자체로 옮겨 새로운 프로세스-디바이스별 뮤텍스를 사용하여 세 개의 호출 지점이 자체 잠금 방식과 무관하게 모두 커버되도록 했습니다. 디바이스 전역의 kfd->doorbell_mutex는 here에 적합하지 않습니다: 이는 커널 도어벨 경로(start_cpsch() -> pm_init() -> kq_initialize() -> kfd_get_kernel_doorbell())에서 dqm->lock 아래에서 획득되므로 위의 느슨한(슬립) 할당과 함께 잠금 순서 역전 현상을 유발하고, 또한 디바이스 전체 잠금 뒤에 관련되지 않은 프로세스의 도어벨 설정까지 직렬화합니다. 이 문제는 Tencent CodeBuddy Security에 의해 발견되었습니다. v3(Felix Kuehling): - Sashiko Bot에 의해 문제점으로 지목된 kfd_get_process_doorbell의 잠금 해제 확인 제거. 내부에서 kfd_alloc_process_doorbells에 잠금 검사로 대체 - 누락된 mutex_destroy 추가 v4(Felix Kuehling): - 다른 kfd_alloc_process_doorbells 호출들 주위의 잠금 해제 검사 제거 (commit 4e27ba5ad5f76932d4f6cbacd25c81c2dd40ec4a에서 cherry-pick)
CVE-2026-99985
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't drop an SVM CWSR reference that was never taken When kfd_queue_acquire_buffers() fails, its error path calls kfd_queue_release_buffers(), which also drops a queue_refcount on the SVM range at ctx_save_restore_area_address. The SVM range is the last buffer acquired, and kfd_queue_buffer_svm_get() takes no reference when it fails, so on every error path this reference was never taken. If another queue of the process uses that CWSR range, its reference is dropped instead, and unmapping the range no longer evicts that queue while its CWSR area is unmapped from the GPU. On navi31, with queue A using an SVM CWSR range: munmap() of the range logs Freeing queue vital buffer 0x..., queue evicted but after a CREATE_QUEUE that reuses A's CWSR address with an unmapped write pointer (-EINVAL), the same munmap() leaves A running without the message. Only put the BOs on the acquire error path. The warning and the eviction are back after the failed CREATE_QUEUE. (cherry picked from commit 9a08122e6361ef73f4b512d5db9596d561305519)
CVE-2026-99984
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1 Reading the KFD HQD debugfs node (dqm_debugfs_hqds) on a gc_12_1_0 part oopses with a NULL pointer dereference: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: hqd_sdma_dump_v12_1+0x6a [amdgpu] Call Trace: dqm_debugfs_hqds+0x2da/0x360 [amdgpu] kfd_debugfs_hqds_by_device+0x74/0xa0 [amdgpu] seq_read ... __x64_sys_read get_sdma_rlc_reg_offset() assumes an interleaved layout where the second SDMA per XCC lives in a separate SDMA1_HWIP register aperture. On gc_12_1_0 that aperture does not exist. Rewrite get_sdma_rlc_reg_offset() to mirror sdma_v7_1_get_reg_offset(): base the offset on adev->reg_offset[GC_HWIP][xcc_id][0] and add the per-instance SDMA1 offset for the odd instance. (cherry picked from commit 94b2c5b06d37adc0e9a23138252758657b64b58a)
CVE-2026-99983
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었다: drm/amdgpu/gmc9: gfx942/gfx950에 대해 추가적인 타입-2 TLB 플러시를 추가 GC 9.5.0에 대해 추가적인 타입-2 TLB 플러시를 추가하고, Vega20+XGMI와 비슷한 경쟁 상태가 관찰되었다. 동일한 멀티-XCD TLB 토폴로지를 공유하므로 GC 9.4.3 및 9.4.4에도 추가되었다. (cherry picked from commit 138cfb165ae6aa98c0767b431e718d1a8199db28)
CVE-2026-99982
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: drm/amdkfd: GPU 리셋 전까지 BO를 해제하지 않도록 대기 GPU 리셋이 리셋 도메인을 차지하면 KFD 제거(eviction)로 인해 user 큐를 매핑 해제할 수 없고: execute_queues_cpsch()가 trylock에서 -EIO를 반환하므로 큐가 ASIC가 리셋될 때까지 계속 실행됩니다. 리셋이 진행되는 동안 TLB 플러시도 건너뜁니다. 프로세스가 그 창에서 BO를 매핑 해제하고 해제하면, 페이지가 여전히 오래된 변환으로 큐를 통해 접근될 수 있는 상태에서 페이지가 해제됩니다. MI300X에서 munmap()은 mmu_gather 배치 페이지의 작은 잘못된 페이지 포인터에서 free_swap_cache()에서 충돌합니다: BUG: address: 0000000000002900의 페이지 폴트 처리 불가 RIP: 0010:free_swap_cache+0x5/0xb0 Call Trace: free_pages_and_swap_cache+0x3a/0x60 tlb_batch_pages_flush+0x43/0x80 tlb_flush_mmu+0x3d/0x110 zap_pte_range+0x80d/0xcd0 ... do_vmi_align_munmap+0x3e8/0x5b0 do_vmi_munmap+0xdf/0x190 __vm_munmap+0xad/0x180 __x64_sys_munmap+0x1b/0x30 추적 중 충돌에서 잘못된 포인터는 프로세스가 막 파괴한 SDMA 큐의 읽기 포인터 값이었고, 읽기 포인터의 페이지 오프셋에서 페이지가 재사용된 이후에 배치 페이지로 의해 Writeback가 해당 rptr 페이지에 떨어졌습니다. commit f0b4440cdc18 ("drm/amdkfd: Fix mode1 reset crash issue")는 프로세스의 BO 해제를 기다려 리셋이 완료된 후에야 종료를 처리하도록 하여 이 레이스를 해결했습니다. ioctl를 통한 해제에서도 동일한 레이스가 발생합니다. 거기에서도 동일한 헬퍼를 사용해 리셋을 기다리십시오. (커밋 06ff8ce77726b15a98fcc285dd6005cb3f48558b에서 체리피킹)
CVE-2026-99981
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: wait for pending page table updates before switching a VM to CPU updates amdgpu_vm_make_compute() switches a VM from SDMA to CPU page table updates when a KFD process acquires it. It syncs "with the last SDMA update/clear" through amdgpu_bo_sync_wait() on the root PD, but that walks the reservation with DMA_RESV_USAGE_READ, and the clears of the VM's page tables (the root PD from amdgpu_vm_init(), and the PDs/PTs the seq64 mapping allocates at the render node's open) are added there by amdgpu_vm_sdma_commit() with DMA_RESV_USAGE_BOOKKEEP only: amdgpu_vm_pt_clear() commits them with a NULL fence, so they do not reach vm->last_update. The CPU path's own waits (amdgpu_vm_cpu_update(), amdgpu_bo_kmap()) use DMA_RESV_USAGE_KERNEL. None of them waits for a clear that is still queued. When one is, the CPU writes the first entries of the new compute VM (the KFD trap handler's TBA/TMA page at AMDGPU_VA_RESERVED_TRAP_START, mapped during ACQUIRE_VM) into a page directory the SDMA then clears. The entries are gone, the handler's page is unmapped, and the first wave save of any queue of the process faults in the SQC instruction fetch at the handler's address (GCVM_L2_PROTECTION_FAULT_STATUS 0x008012B1, PERMISSION_FAULTS 0xb). The MES then fails REMOVE_QUEUE and SUSPEND, and the device takes a MODE1 reset with VRAM lost on 7.2.9; on 7.3-rc6 the queue is reset instead. The window is the time between the render node's open and ACQUIRE_VM. ROCr spends milliseconds there and is practically never hit; a minimal KFD client that opens the render node and acquires the VM at once is hit most of the time. On a Radeon AI PRO R9700 (gfx1201, Resizable BAR, so vm_update_mode defaults to CPU updates for compute VMs), a wave reading the trap handler's page right after queue creation found it unmapped in 8 of 12 runs; a 5 ms sleep between the open and ACQUIRE_VM made that 0 of 9, and the same sleep after queue creation instead 3 of 3. The wait covered these jobs until commit 926c79ad6ecd ("drm/amdgpu: promote the implicit sync to the dependent read fences") narrowed amdgpu_sync_resv() from DMA_RESV_USAGE_BOOKKEEP to DMA_RESV_USAGE_READ; the VM's page table jobs have been added with BOOKKEEP since commit 4247084057cf ("drm/amdgpu: use DMA_RESV_USAGE_BOOKKEEP v2"), so from v6.16 on the sync in amdgpu_vm_make_compute() waits for nothing of them. Record the clears in vm->last_update, as amdgpu_vm_update_pdes() does with its updates, and wait for it, uninterruptibly, before switching the update functions. The clears all go through vm->delayed, so the last one covers the earlier ones; immediate clears are not recorded, as before. With this, on 7.3-rc6 and on 7.2.9, the same client reads the handler 10 of 10 times, 8 busy queues on the 4 compute slots complete in 5 of 5 runs on 7.3-rc6 and 3 of 3 on 7.2.9 (1 of 6 before), 16 and 32 queues complete on 7.3-rc6, and two processes with 8 queues each complete together on both, with no fault. (cherry picked from commit 9ec91b35baba45209c3fcd00f086224a158dd512)
CVE-2026-99980
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: netdev: Hide the netdev_priv() origin from GCC in netdev_from_priv() GCC 15.1 and later can compute an object size of 0 for a pointer that container_of() derives from a pointer into a __counted_by flexible array member[1]; Clang gets it right. netdev_from_priv() does this with struct net_device's "priv" array, so when GCC can see that its argument came from netdev_priv(), FORTIFY_SOURCE sees a zero-sized net_device. Since commit 9027497a25e3c ("team: use netdev_from_priv()"), adding a port of another type to a team device can then fail the memcpy() to "dev->broadcast" in team_setup_by_port(), which GCC sees through after inlining team_port_add() into team_add_slave(): memcpy: detected buffer overflow: 4 byte write of buffer size 0 ... kernel BUG at lib/string_helpers.c:1044! ... Call Trace: <TASK> team_add_slave.cold+0x88/0x201 do_set_master+0x11c/0x180 do_setlink.isra.0+0x3a4/0x1410 Whether GCC inlines that far depends on the architecture and the configuration. It does on ppc64le, where this was reported, and on x86_64 with defconfig plus hardening.config or with Debian's configuration, but not with allmodconfig. Hide where "priv" came from with OPTIMIZER_HIDE_VAR(), so GCC sees a net_device of unknown size whose members have their declared sizes. (An "unknown" size is considered uncheckable by FORTIFY.) FORTIFY still bounds writes to members; only the whole-object size becomes unknown, as it already is for any net_device pointer GCC can't trace to its allocation. In an extracted PoC, the __builtin_dynamic_object_size() of "dev->broadcast" for the two types FORTIFY sees, before and after this patch: GCC 16.2.0 Clang 22 and 24 before after plain pointer, whole object unknown unknown 44 container_of(), whole object 0 unknown 44 container_of(), member 0 32 32 In addition to getting the bogus "0" fixed in GCC, I'll be following up to solve the whole-object visiblity disparity as well. Build tested with GCC 16.2.0: ARCH=x86_64 defconfig with hardening.config, CONFIG_NET_TEAM=y, and CONFIG_NET_IPGRE=y; ARCH=arm64 defconfig with hardening.config, CONFIG_NET_TEAM=y, CONFIG_PPP=y, and CONFIG_NET_AIROHA=m; and drivers/net/team/, drivers/net/ppp/, and drivers/net/ethernet/airoha/ in ARCH=x86_64 allmodconfig. Under QEMU, the x86_64 kernel hits the BUG above when adding the GRE fallback device "gre0" as a port of a new team device without this patch, and adds it with the patch.
CVE-2026-99979
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: ipv6: ifaddr를 해시에서 제거하여 ifdown 목록 정리 시점을 처리 addrconf_ifdown()는 스냅샷하기 전에 디바이스별 주소 목록을 해시에서 제거합니다. 동시 실행 중인 ipv6_add_addr()가 해시 검색 후 목록 스냅샷 사이에 주소를 게시할 수 있습니다. 그 후 ifdown 경로는 디바이스 목록에서 주소를 제거하고 해시에서 아직 연결이 남아 있는 참조를 해제하는 동안 리스트 주소를 소유하는 참조를 제거합니다. 남아 있는 참조가 해제되면 inet6_ifa_finish_destroy()가 경고하지만 DEAD 주소가 kfree_rcu()를 계속 실행합니다. 따라서 해시는 향후 RCU 워커가 역참조할 수 있는 해제된 메모리를 가리키게 됩니다. 이 패치는 소스 검토로 발견되었고 런타임에서 별도로 트리거되지 않았습니다. 각 비-저장 주소를 디바이스 목록에서 제거하기 직전에 해시에서 즉시 제거합니다. 삭제 알림 동안 해시를 유지하면 같은 주소의 게시가 차단됩니다. hlist_del_init_rcu()는 앞선 해시 스캔이 이미 주소를 제거한 경우에 안전합니다. 이는 목록 스냅샷으로 포착된 늦은 게시자를 처리합니다. 다음 변경은 정리 작업과 게시를 직렬화하여 추가가 두 관찰을 놓치지 않도록 합니다. 백포트 시 전체 수정이 필요한 경우 두 변경이 모두 필요합니다.
CVE-2026-99978
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ipv6: serialize address publication with device teardown ipv6_add_addr() checks idev state before allocating an ifaddr, but publishes the object later. addrconf_ifdown() can mark and detach the idev between the check and publication. This happens when a non-loopback device MTU falls below IPV6_MIN_MTU. A forced interleaving published an address on a dead idev, and ipv6_get_ifaddr() still returned it after teardown. Later device deletion remained blocked with: unregister_netdevice: waiting for ac0 to become free. Usage count = 3 Protect the dead indication with idev->lock and keep that lock across both hash and device-list publication. Recheck dead before publishing; if teardown wins the lock, reject the unpublished object. Non-unregister teardown does not set dead. The preceding change covers an add that misses the initial hash scan but reaches the per-device list snapshot. Both changes are required when backporting this fix.