총 16,344건
CVE-2026-93233
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/dmem: fix callocated underflow on large folio split nouveau_dmem_folio_free() drops chunk->callocated once per freed folio, while a large (compound) device-private folio is only counted once when it is allocated. When such a folio is split, the mm core invokes ->folio_split() (nouveau_dmem_folio_split()) once for each new sub-folio, but the hook only fixes up the sub-folio metadata and leaves chunk->callocated unchanged. Each resulting sub-folio is later freed separately, so after a split the single allocation (+1) is met by N frees (-N), leaving chunk->callocated short by N-1. On the first split/free cycle it underflows: WARN_ON(!chunk->callocated) fires, the unsigned counter wraps and never returns to zero, so the chunk can no longer be reclaimed (nouveau_dmem_fini() also warns on the leaked count). Account for the new sub-folio in the split hook, under the same lock as nouveau_dmem_folio_free(), so the count stays balanced.
CVE-2026-93232
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix boot panic with CONFIG_DEBUG_VM and HVO bootmem pages Patch series "mm: Refactor bootmem gigantic hugepage allocation", v4. This series is split out from the earlier larger series "mm: Generalize HVO for HugeTLB and device DAX" [1]. It collects the first 19 patches of that series as a standalone set of fixes and preparatory cleanups around bootmem HugeTLB handling, sparse initialization ordering, and related vmemmap setup. The first patches fix a few bugs found while reviewing the existing code, including incorrect bootmem HVO handling, wrong vmemmap registration arguments, a powerpc compound-vmemmap tracking bug, and too-late initialization of gigantic bootmem HugeTLB struct pages. The rest of the series reorders early memory initialization so the relevant zone state is available before sparse and HugeTLB boot-time setup runs, then simplifies the remaining bootmem gigantic hugepage allocation path and removes code made obsolete by that rework. At a high level: - patches [1-4] fix boot-time and arch-specific bugs - patches [5-12] reorder and simplify sparse/mm/hugetlb early init - patches [13-19] refactor bootmem gigantic hugepage allocation and remove obsolete helpers and state This patch (of 19): Commit 622026e87c40 ("mm/hugetlb: remove fake head pages") switched HVO to reuse per-zone shared tail pages from zone->vmemmap_tails[]. Those shared tail pages were initialized in hugetlb_vmemmap_init(), but bootmem HugeTLB folios are prepared earlier from gather_bootmem_prealloc(). With hugetlb_free_vmemmap=on, prep_and_add_bootmem_folios() can access pageblock flags on bootmem HugeTLB pages whose mirrored tail struct pages already point to the shared tail page. On CONFIG_DEBUG_VM kernels, get_pfnblock_bitmap_bitidx() then dereferences the still-uninitialized shared tail page and can panic during boot. Initialize zone->vmemmap_tails[] from gather_bootmem_prealloc(), before bootmem HugeTLB folios are processed, and drop the later initialization from hugetlb_vmemmap_init(). This bug only affects CONFIG_DEBUG_VM kernels, where the relevant assertion is evaluated.
CVE-2026-93231
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: lockd: fix swapped arguments in nlmsvc_match_ip() When releasing locks by server IP address via /proc/fs/nfsd/unlock_ip, nlmsvc_unlock_all_by_ip() calls nlm_traverse_files() with the server sockaddr as the opaque @data argument: nlm_traverse_files(server_addr, nlmsvc_match_ip, NULL); The match callback is later invoked from nlm_traverse_locks() as: match(lockhost, host); where the first argument is the nlm_host that owns the lock, and the second argument is the @data that was originally passed down (here the server sockaddr). This is the convention every other match callback relies on (nlmsvc_mark_host(), nlmsvc_same_host(), nlmsvc_is_client()): arg1 is the real nlm_host, arg2 is the caller-supplied reference value. nlmsvc_match_ip() has had these two arguments reversed ever since the unlock-by-IP feature was introduced in commit 4373ea84c84d ("lockd: unlock lockd locks associated with a given server ip"): return rpc_cmp_addr(nlm_srcaddr(host), datap); Here @host is actually the server sockaddr, so nlm_srcaddr(host) dereferences a struct sockaddr as a struct nlm_host and reads garbage at the offset of h_srcaddr; meanwhile @datap is actually the lock owner's nlm_host but is compared as a sockaddr. As a result the comparison practically never matches and locks are not released for the requested IP. Swap the arguments so the lock owner's source address is compared against the requested server address: return rpc_cmp_addr(nlm_srcaddr(datap), (struct sockaddr *)host); [ cel: fix the misleading typedef parameter names too ]
CVE-2026-93230
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: initialize gigantic bootmem hugepage struct pages earlier Gigantic bootmem HugeTLB pages are currently initialized from hugetlb_init(), but page_alloc_init_late() runs earlier and walks pageblocks to determine zone contiguity. If a bootmem HugeTLB region is marked noinit, set_zone_contiguous() can observe still-uninitialized struct pages through __pageblock_pfn_to_page(). This may not trigger an immediate failure, but it can make set_zone_contiguous() compute the wrong zone contiguity state. If extra poisoned-page checks are added in this path, such as PF_POISONED_CHECK() in page_zone_id(), it can also trigger an early boot panic. Initialize gigantic bootmem HugeTLB struct pages from page_alloc_init_late(), before zone contiguity is evaluated, so later page allocator setup only sees valid struct page state. This also makes the initialization order more natural, as struct pages should be initialized before later code inspects them.
CVE-2026-93229
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: nfsd: rpc_status_get dumpit seqcount 재시도에 누락된 읽기 배리어 추가 nfsd_nl_rpc_status_get_dumpit()의 수작업으로 구현된 seqcount 유사 프로토콜은 두 번째 카운터 확인 전에 읽기 메모리 배리어(smp_rmb)가 누락되어 있다. 표준 커널의 read_seqcount_retry()는 모든 데이터 읽기가 완료된 후 카운터를 다시 확인하도록 보장하기 위해 smp_rmb()를 포함한다. 이 배리어가 없으면, 약한 순서 보장 아키텍처(ARM, POWER)에서 CPU가 두 번째 카운터 확인 이후 필드 읽기를 재정렬할 수 있어 재시도 로직이 무효화된다. 이로 인해 작성자가 동시에 수정한 필드를 읽으면서 일관된 카운터 쌍을 관찰할 수 있다. 두 번째 카운터 확인 전에 smp_rmb()를 추가하여 필드 읽기가 그 앞에서 순서대로 이루어지도록 하여 표준 seqcount 읽기 측의 배리어 의미와 일치시킨다. 시작 측의 smp_load_acquire()는 이미 nfsd_dispatch()의 smp_store_release()와 쌍을 이루고 있다. 이제 smp_rmb()가 필드 읽기를 순서대로 정렬하므로 재시도 확인은 더 이상 획득 의미(acquire semantics)가 필요 없으며 read_seqcount_retry()가 하는 것처럼 단순 READ_ONCE()로 카운터를 읽는다. [ cel: smp_load_acquire() 대신 READ_ONCE 사용 ]
CVE-2026-93228
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: segcount가 0인 Write/Reply 청크 거부 피어는 segcount 필드가 0인 Write 또는 Reply 청크를 보낼 수 있다. xdr_check_write_chunk()는 segcount가 rc_maxpages보다 큰 경우만 거부하므로 0은 범위 검사를 통과하며, xdr_inline_decode(stream, 0)은 현재(널이 아닌) 커서를 반환하고 진행하지 않는다. 함수는 true를 반환하고 pcl_alloc_write()는 ch_segcount가 0인 struct svc_rdma_chunk를 rc_write_pcl 또는 rc_reply_pcl에 연결한다. 이 시리즈의 이전 패치는 pcl_for_each_segment()가 ch_segcount가 0인 경우에도 안전하도록 했으므로, 이는 더 이상 메모리 탐색을 유발하지 않는다. 디코드 경계에서 잘못된 프레임을 거부하는 것은 깊이 있는 방어로서 여전히 가치가 있다: 이는 퇴화된 0-세그먼트 청크가 파싱된 청크 목록에 전혀 포함되지 않도록 하여, ch_segments를 직접 탐색하는 미래의 소비자가 이를 관찰하지 못하게 하고, 0-기준을 매크로 변경이 더 침습적인 트리에 쉽게 백포트할 수 있게 한다. RFC 8166은 원격 버퍼를 설명하지 않는 Write/Reply 청크에 의미가 없으므로, 정당한 클라이언트는 영향을 받지 않는다. xdr_check_reply_chunk()는 Reply 청크를 xdr_check_write_chunk()를 통해 처리하며 동일한 거부를 상속한다. pcl_alloc_write()는 세그먼트 배열을 채우기 전에 각 청크를 파싱된 청크 목록에 연결한다. 미래의 변경으로 segcount-0 거부가 약화되면, 채우기 루프 동안 불완전한 청크가 소비자에게 보일 수 있다. 따라서 list_add_tail()이 세그먼트 채우기 루프 다음에 오도록 순서를 변경하여, 완전히 채워진 청크만 목록에 나타나도록 한다.
CVE-2026-93227
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/mm_init: deferred_grow_zone(): fix out-of-range first_deferred_pfn With CONFIG_DEFERRED_STRUCT_PAGE_INIT enabled, deferred_grow_zone() initializes struct pages early in boot to satisfy an allocation. With a large CMA reservation in place, the ranges deferred_init_memmap() finds may not add up to the allocation it was asked for, and the function ends up initializing the memory map of the entire zone and still falls short. That is fine in itself: the function accounts for it and leaves the caller to decide whether it now has enough memory. However, the update of pgdat->first_deferred_pfn that tracks where uninitialized memory map starts could overflow. If the node's RAM end is not aligned on PAGES_PER_SECTION boundaries and some deferred struct pages were initialized, pgdat->first_deferred_pfn would point past the end of the node's memory. deferred_init_memmap() later picks up from pgdat->first_deferred_pfn and hits a BUG_ON(), because it expects a pfn within its node. For example, when running a kernel with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y and CONFIG_CMA=y using the following qemu command line qemu-system-x86_64 -enable-kvm -m 8032M -kernel bzImage \ -append "nokaslr cma=4768M@0x100000000" the kernel panics: kernel BUG at mm/mm_init.c:2131! CPU: 3 UID: 0 PID: 36 Comm: pgdatinit0 Not tainted 7.2.0-rc6 #1 RIP: 0010:deferred_init_memmap+0x1b8/0x1c0 RAX: 0000000000236000 R13: 0000000000238000 Call Trace: kthread+0xdf/0x120 ret_from_fork+0x187/0x250 Make sure that the update of pgdta->first_deferred_pfn does not overflow when the entire zone's (and therefore node's) memory map is initialized. [rppt: massaged the changelog]
CVE-2026-93226
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: ipv6: use RCU iterator to dump route exceptions rt6_nh_dump_exceptions() uses hlist_for_each_entry() to iterate over RCU-protected exception lists. The caller holds rcu_read_lock(), but does not hold rt6_exception_lock, so rt6_insert_exception() can concurrently add an entry with hlist_add_head_rcu(). KCSAN reports this race (irrelevant details omitted): ================================================================== BUG: KCSAN: data-race in rt6_insert_exception / rt6_nh_dump_exceptions write (marked) to 0xffff8a7c44c59620 of 8 bytes by interrupt on cpu 5: rt6_insert_exception+0x3bb/0x760 __ip6_rt_update_pmtu+0x4fe/0x750 ip6_sk_update_pmtu+0x19a/0x3b0 udpv6_err+0x3ff/0x800 icmpv6_notify+0x1e1/0x440 icmpv6_rcv+0x8c0/0xab0 ip6_protocol_deliver_rcu+0x616/0x840 ip6_input_finish+0xb9/0x160 ... entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8a7c44c59620 of 8 bytes by task 549 on cpu 14: rt6_nh_dump_exceptions+0xb3/0x260 rt6_dump_route+0x53e/0x5f0 fib6_dump_node+0x6d/0xf0 fib6_walk_continue+0x290/0x2d0 fib6_dump_table+0x28d/0x360 inet6_dump_fib+0x37d/0x620 rtnl_dumpit+0x7b/0xd0 netlink_dump+0x3ae/0x7e0 ... entry_SYSCALL_64_after_hwframe+0x77/0x7f 4 locks held by dumper/549: ... #1: (rcu_read_lock){....}-{1:3}, at: inet6_dump_fib+0x88/0x620 #2: (&tb->tb6_lock){+.-.}-{3:3}, at: fib6_dump_table+0x1e9/0x360 #3: (rcu_read_lock){....}-{1:3}, at: rt6_dump_route+0x483/0x5f0 value changed: 0xffff8a7c44e05700 -> 0xffff8a7c45d60100 Reported by Kernel Concurrency Sanitizer on: CPU: 14 UID: 0 PID: 549 Comm: dumper Not tainted 7.2.0-rc7-virtme #38 PREEMPT(lazy) ... Use hlist_for_each_entry_rcu() to safely iterate over the exception list.
CVE-2026-93225
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: phy: fsl-imx8mq-usb: 프로브 오류 경로에서 typec 스위치 누수 수정 imx95_usb_phy_get_tca()가 성공한 후 프로브가 실패하면, .remove()에서만 정리 경로가 있었기 때문에 typec 스위치가 누수된다. .remove()는 프로브 실패 시 실행되지 않는다. devm_add_action_or_reset()를 사용하여 프로브 실패와 드라이버 제거 시 모두 스위치가 정리되도록 한다. imx95_usb_phy_put_tca()는 더 이상 필요하지 않으며, .remove()에서 제거될 것이다.
CVE-2026-93224
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: 실패한 accept에서 일치하지 않는 rn_unregister 수정 svc_rdma_accept()가 rpcrdma_rn_register()가 성공하기 전에 errout 경로를 탈 때, 기존 정리 블록은 조건 없이 rpcrdma_rn_unregister(dev, &newxprt->sc_rn)를 호출한다. svcxprt_rdma는 kzalloc로 할당되므로 해당 경로에서 sc_rn.rn_index는 0이고 sc_rn.rn_done은 NULL이다; 따라서 unregister는 다른 호출자의 슬롯 0을 xa_erase()하고 rpcrdma_device의 rd_kref에 대해 일치하지 않는 kref_put()을 수행한다. 같은 errout은 또한 kref_init() 생성 참조 주위에 svc_xprt_get()/svc_xprt_put()로 정리를 감싼다. kref는 1 -> 2 -> 1로 변하며 0에 도달하지 않아 svcxprt_rdma(및 고정된 net/ns_tracker)가 모든 실패한 accept에서 누수된다. rpcrdma_rn_register()는 xa_alloc()과 kref_get()이 모두 성공한 후에만 rn->rn_done을 마지막에 쓰므로 rn_done == NULL은 자연스러운 "등록되지 않음" 신호이다. rn_done이 NULL일 때 조기 반환으로 rpcrdma_rn_unregister()를 보호하고, 일치하는 xa_erase() 전에 rn_done을 지워 반복 unregister도 무효로 만든다. 이 보호가 적용되면 accept errout은 svc_xprt_put()을 통해 kref_init() 생성 참조를 떨어뜨리며, 이는 svc_rdma_free()를 호출한다. sc_qp, sc_sq_cq, sc_rq_cq, sc_pd의 해체는 svc_rdma_free() 내 기존 IS_ERR/NULL 보호 하에 실행된다; sc_rn은 새로운 rn_done 신호로 보호된다; sc_cm_id는 svc_rdma_accept()가 첫 번째 goto errout 위에서 역참조하므로 모든 errout 경로에서 NULL이 아니다. svc_xprt_free()는 해제된 전송과 연관된 모듈 참조를 떨어뜨리고, svc_handle_xprt()는 ->xpo_accept()가 NULL을 반환할 때 미리 획득한 참조를 떨어뜨린다. svc_xprt_put() 전에 대체 모듈 참조를 취해 두 module_put() 호출이 균형을 이루도록 한다. rn_done 보호는 또한 등록 시도가 실패했거나 실행되지 않은 전송에 대해 svc_rdma_free()의 비리스너 호출에서 rpcrdma_rn_unregister()를 보호한다.
CVE-2026-93223
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: staging: media: tegra-video: fix of_node_put() on VIP parse errors tegra_vip_channel_of_parse() initializes np from dev->of_node without taking a reference, but its error paths drop one through the err_node_put label. This underflows the refcount of the VIP device's OF node when endpoint parsing fails on a malformed device tree. The only reference the function takes on np is the success-path of_node_get() stored in vip->chan.of_node, and that one is already released by the tegra_vip_init() error path and by tegra_vip_exit(). Return errors directly instead of jumping to the bogus cleanup label.
CVE-2026-93222
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: signal: avoid shared siginfo namespace rewrites send_signal_locked() rewrites sender ids for the target namespace. Group sends reuse the same siginfo, so one recipient can affect the next. Copy the siginfo before changing it.
CVE-2026-93221
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: nfsd: nfsd_net 불리언 플래그를 부호 없는 롱 플래그 워드로 변환 nfsd_net에는 직렬화 없이 동시 컨텍스트에서 접근되는 여러 불리언 필드가 포함되어 있다. 특히, nfsd4_end_grace()는 단순 불리언으로 드레인 경로를 보호한다: if (nn->grace_ended) return; nn->grace_ended = true; 읽기와 쓰기는 독립적이며, nfsd_net 구조체 내에는 이를 직렬화하는 것이 없다. 최소 두 개의 컨텍스트가 락 없이 이 코드를 실행할 수 있다: laundromat 경로 laundry_wq kworker nfs4_laundromat() nfsd4_end_grace() RECLAIM_COMPLETE 경로 nfsd compound kthread nfsd4_reclaim_complete() inc_reclaim_complete() nfsd4_end_grace() 두 호출자 모두 서로 다른 CPU에서 grace_ended == false를 관찰하고, 둘 다 true를 저장하며, 둘 다 nfsd4_record_grace_done()으로 진행한다. 이 함수는 active client_tracking_ops->grace_done 콜백을 호출한다. reclaim_str_hashtbl을 드레인하는 추적 작업(legacy_tracking_ops는 nfsd4_recdir_purge_old를 통해, cld v1+ 작업은 nfsd4_cld_grace_done을 통해)에서 grace_done은 nfs4_release_reclaim()을 호출하며, 이 함수는 락 없이 reclaim_str_hashtbl의 모든 버킷을 순회하며 각 항목에 대해 nfs4_remove_reclaim_record() (list_del + kfree)를 호출한다. 두 개의 동시 워커가 리스트를 손상시키고 모든 nfs4_client_reclaim을 이중 해제한다. 동시에 실행되는 nfsd4_find_reclaim_client()는 같은 버킷을 반복하면서 해제된 메모리를 읽는다. 세 번째 호출 지점은 nfs4_state_start_net()의 skip_grace 시작 경로에 존재하지만, 이는 클라이언트가 연결되기 전과 laundromat의 첫 번째 지연 작업이 실행되기 전에 nfsd_mutex 하에서 실행되므로 위 두 호출자와 경쟁하지 않는다. nfsd_net 내 흩어져 있는 불리언 필드를 단일 부호 없는 롱 플래그 워드와 비트 위치를 위한 enum nfsd_net_flag로 교체한다. grace_ended 경쟁 조건은 모든 아키텍처에서 원자적인 test_and_set_bit()를 사용하여 수정한다. 나머지 플래그들(grace_end_forced, in_grace, somebody_reclaimed, track_reclaim_completes, nfsd_net_up, lockd_up)은 일관성을 위해 test_bit/set_bit/clear_bit를 사용하도록 변환한다. 이는 Hexagon과 같이 워드 크기 원자 연산만 지원하는 아키텍처에서 서브워드 cmpxchg 문제를 방지한다.
CVE-2026-93220
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Keep kick_sync waiting on the rq's own CPU kick_sync_wait_bal_cb() assumes it runs on the rq's CPU from the __schedule() tail: the snapshots it compares against live in that CPU's percpu area and the busy-wait runs with the rq lock dropped and IRQs enabled. However, dispatch can now drop the rq lock while the callback sits queued, and rq lock takers in that window (the sched class change paths, the scx task iterator) flush pending balance callbacks on release, running the callback on a foreign CPU. Such a run compares against unrelated snapshots and can deadlock when the executing CPU is itself a wait target. Bail on a foreign CPU and leave the wait state alone. The wait only observes progress that the resched kicks already guarantee and the rq's next wait picks up the stale cpus_to_sync bits.
CVE-2026-93219
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: clocksource/drivers/timer-sun4i: Advertise a real minimum delta sun4i_clkevt_next_event() compensates for the timer stop/start synchronization delay by programming evt - TIMER_SYNC_TICKS into the hardware interval register. The clockevent device currently advertises TIMER_SYNC_TICKS as min_delta_ticks, so the clockevents core is allowed to call set_next_event() with evt == TIMER_SYNC_TICKS. That programs a zero-tick interval. With oneshot/highres/nohz timer operation this can leave the next event stuck, which was observed as a boot hang on Allwinner D1 after the clockevents core started reusing forced minimum-delta events. Advertise one extra tick instead, so the smallest event accepted by the core still programs at least one hardware tick after the synchronization compensation.
CVE-2026-93218
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: skip device-private PMDs in madvise_free_huge_pmd madvise_free_pte_range() checks pmd_trans_huge(*pmd) unlocked, then madvise_free_huge_pmd() takes pmd_trans_huge_lock(). pmd_is_huge() returns true for a device-private PMD, so orig_pmd can be device-private and enter the !pmd_present() branch. Skip device-private PMDs in that non-present branch and continue to out before calling pmd_folio(). Downgrade the check to VM_WARN_ON_ONCE() so an unexpected PMD softleaf logs a warning rather than panicking. Drop the thp_migration_supported() guard: it expands to IS_ENABLED(CONFIG_ARCH_SUPPORTS_PMD_SOFTLEAF), and both pmd_is_migration_entry() and pmd_is_device_private_entry() already return false when that config is not selected, so the guard suppresses only the case where the warning would already be silent. Potential trigger: an HMM-based GPU driver races with madvise(MADV_FREE): migrate_vma_pages() flips the PMD to a device-private entry between the caller's pmd_trans_huge() check and the callee's pmd_trans_huge_lock().
CVE-2026-93217
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/madvise: skip device-private PMDs in cold and pageout walks madvise_cold_or_pageout_pte_range() takes pmd_trans_huge_lock(), whose pmd_is_huge() check returns true for a device-private PMD. The subsequent !pmd_present() branch has a VM_BUG_ON() asserting migration is the only allowed non-present case; a device-private PMD trips it. Skip device-private PMDs in that non-present branch and continue to huge_unlock before calling pmd_folio(). Downgrade the check to VM_WARN_ON_ONCE() so an unexpected PMD softleaf logs a warning rather than panicking. Drop the thp_migration_supported() guard: it expands to IS_ENABLED(CONFIG_ARCH_SUPPORTS_PMD_SOFTLEAF), and both pmd_is_migration_entry() and pmd_is_device_private_entry() already return false when that config is not selected, so the guard suppresses only the case where the warning would already be silent. Potential trigger: an HMM-based GPU driver races with madvise(MADV_COLD)/MADV_PAGEOUT: pmd_trans_huge(*pmd) reads true, then migrate_vma_pages() flips the PMD to a device-private entry before the PMD lock is acquired.
CVE-2026-93216
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg() print_page_owner_memcg() reads page->memcg_data via READ_ONCE() at the start to guard against tail pages and NULL data. However, it later re-reads page->memcg_data locklessly in two places: 1: page_memcg_check(page) 2: PageMemcgKmem(page) (via folio_memcg_kmem(), which includes VM_BUG_ON assertions for tail pages and MEMCG_DATA_OBJEXTS) If the page is concurrently freed and reallocated as a THP tail page or slab page between these calls, the VM_BUG_ON assertions can trigger on CONFIG_DEBUG_VM=y builds, crashing the kernel. Fix both TOCTOU issues by using the memcg_data snapshot throughout.
CVE-2026-93215
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: cdx: Fix double free when sysfs file creation fails In cdx_create_res_attr(), if sysfs_create_bin_file() fails, the code frees res_attr but doesn't set cdx_dev->res_attr[num] to NULL. This leaves a dangling pointer in the array. Then cdx_destroy_res_attr() frees the already-freed memory. Fix the double free by initializing cdx_dev->res_attr[num] after sysfs_create_bin_file() completes.
CVE-2026-93214
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_tcm: fix deadlock in usbg_make_tpg() usbg_make_tpg() held dep_lock while calling configfs_depend_item_unlocked(), which acquires the configfs root inode lock when operating across subsystems. This creates a circular lock dependency with configfs_rmdir(): dep_lock -> configfs root inode lock -> su_mutex -> dep_lock In usbg_make_tpg(), dep_lock only serialized the read of opts->ready, which is a monotonic flag that transitions from false to true exactly once (in tcm_set_name()) and never reverts. Remove dep_lock from usbg_make_tpg() entirely and use READ_ONCE/WRITE_ONCE to access opts->ready locklessly instead.