총 15,720건
CVE-2026-100052
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: skbuff: don't BUG() on a bad csum_start in skb_copy_and_csum_dev() skb_copy_and_csum_dev() copies everything up to the checksum start out of the linear area, and BUG()s if the checksum start is past the end of the linear area. It misses the other direction: a CHECKSUM_PARTIAL skb that has been pulled past its csum_start gives a negative offset, which gets past the check and becomes a ~4GB copy. It also trusts csum_offset when it stores the folded checksum. So far skb_copy_and_csum_bits() BUG()ing on a short skb has covered for that, but once it returns instead, a bad csum_offset would write past the end of the caller's buffer. The function returns void and its callers are drivers copying a frame into a bounce buffer just before handing it to the hardware. There's nothing for them to back out of, so check both ends of csum_start and that the checksum field fits in the frame, and if not, copy the whole frame with skb_copy_bits() without filling in the checksum, with a DEBUG_NET_WARN_ON_ONCE() for debug kernels. The frame goes out with a bad checksum and is dropped by the receiver. If even that copy fails, zero the buffer so the driver doesn't send stale bytes.
CVE-2026-100051
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: rds: 핸드쉐이크 확장 헤더를 통한 경계 표식(out-of-bounds) 경로 워크를 수정 랜/연결 생성 협상이 핸드쉐이크 패킷의 확장 헤더에 의해 주도되며, 멀티패스가 가능하지 않은 전송에서도 무조건 처리됩니다. 비 MP 연결(t_mp_capable가 설정되지 않음)은 정확히 하나의 rds_conn_path 슬롯을 소유하므로, 피어가 최대 RDS_MPATH_WORKERS 레인까지 주장하면 이후의 모든 팬아웃 워크가 단일 할당 슬롯을 초과하여 conn->c_path[0..7]를 504바이트 간격으로 읽게 됩니다(KASAN: "Read of size 8 in rds_conn_path_connect_if_down"); 생성 협상도 같은 배열에서 유사한 범위 밖 읽기를 엽니다. 연결의 전송이 멀티패스 가능할 때만 핸드쉐이크 확장 헤더를 처리하도록 하여, 피어가 존재하지 않는 레인을 읽도록 만들 수 없게 됩니다. rds_recv_incoming()의 두 호출 지점 모두 게이트 처리됩니다. 이 문제는 Oracle UEK에 대한 수정 포트를 같은 이슈에 대해 도입한 것으로, Paula 시리즈의 동일 변경에서 중단된 부분을 이어받아 적용되었습니다. 이 취약점은 Tencent CodeBuddy Security에 의해 발견되었습니다.
CVE-2026-100050
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ipv6: defrag: orphan skb before queuing IPv4 and nf_conntrack fragment queues orphan skbs before returning -EINPROGRESS, but ip6_frag_queue() leaves the socket association intact. Commit 18685451fc4e ("inet: inet_defrag: prevent sk release while still in use") moved skb_orphan() into ip_frag_queue() and nf_ct_frag6_queue(), but missed ip6_frag_queue(). Without orphaning, inet_frag_reasm_finish() clears fp->sk on frag_list skbs but leaves fp->destructor set to sock_pfree. Freeing the reassembled skb then calls sock_pfree() with a NULL socket. A socket using SOCK_RCU_FREE may also be released while its fragment is queued, leaving a stale socket pointer; this is a second consequence of the same missing orphan. Orphan the skb before returning -EINPROGRESS so the queued fragment no longer retains the socket association or destructor.
CVE-2026-100049
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: RDS/IB: validate receive fragment completions rds_ib_process_recv() accounts every receive fragment as contributing min(i_recv_data_rem, RDS_FRAG_SIZE) bytes, regardless of the completion length. When a completion is shorter than the header-declared amount, receive accounting can advance beyond the payload supplied by the completion. Only an IB_WC_RECV completion has the buffer layout expected by this receive path. Other successful completion opcodes must not be interpreted as ordinary receive completions. Reject successful completions with any other opcode before processing their length. For ordinary receive completions, require enough payload to cover the amount accounted to the fragment before linking its page into the incoming message. This is compatible with the current transmit paths. MSG_ZEROCOPY is restricted to RDS/TCP, while RDS/IB copied and page-vector messages use full-sized non-final scatterlist entries. Found during an LLM-assisted source audit and validated under KMSAN with a malformed short receive completion.
CVE-2026-100048
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: bgmac: enable interrupts only after NAPI is ready bgmac_open() calls bgmac_chip_init(), which unmasks the interrupts and enables the MAC receiver, before request_irq() and napi_enable(). bgmac_enet_resume() also enables NAPI only after bgmac_chip_init(). When frames arrive in that window, the first RX interrupt masks all interrupts in bgmac_interrupt() and calls napi_schedule() on a NAPI instance that is still disabled, so nothing is scheduled. Nothing unmasks the interrupts again, the RX ring fills up and the interface stays deaf until it is brought down and up without traffic. On an Asus RT-N16 (BCM4716) a single "ip link set eth0 down/up" while a host sends UDP to the router left INT_MASK at 0, INT_STATUS with RX pending and the RX DMA idle on a full ring, with the RX packet and interrupt counters no longer moving. With this change, 10 of 10 such cycles recovered on their own. Request the IRQ and enable NAPI before the chip is initialized.
CVE-2026-100047
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: fuse: don't launder folios of a bad inode fuse_flush() and fuse_writepages() reject writing back dirty data for any inode that has been marked bad, but fuse_launder_folio() doesn't. This can cause the following warning in fuse_write_file_get() to trigger, as reported by syzbot: WARNING: fs/fuse/file.c:2043 at fuse_write_file_get fs/fuse/file.c:2043 [inline] WARNING: fs/fuse/file.c:2043 at fuse_iomap_writeback_range+0x7c8/0x18f0 fs/fuse/file.c:2227 Call Trace: iomap_writeback_folio+0x1526/0x2490 fs/iomap/buffered-io.c:2022 fuse_launder_folio+0x17b/0x240 fs/fuse/file.c:2331 folio_unmap_invalidate+0x4cd/0x830 mm/truncate.c:634 invalidate_inode_pages2_range+0x629/0xb30 mm/truncate.c:726 fuse_open+0x5a6/0x770 fs/fuse/file.c:297 This can be hit on a writeback cache mount: 1) a writeable file is open and a buffered write dirties some pages 2) another thread opens the same file read-only. fuse_open() passes the bad inode check and sends OPEN to the server. 3) a SETATTR reply with the wrong file type marks the inode bad 4) the writeable file is closed. Flush and release skip writeback because the inode is bad. The pages stay dirty but the file gets removed from write_files. 5) server replies to the OPEN. The reply has no FOPEN_KEEP_CACHE, so fuse_open() calls invalidate_inode_pages2(). 6) the invalidation finds the dirty pages and calls fuse_launder_folio(), which finds no wriable file and hits the WARN_ON in fuse_write_file_get(). Instead of trying to write back dirty data for the bad inode, fuse_launder_folio() should return -EIO.
CVE-2026-100046
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었다: virtiofs: 고정된 출력 응답 길이의 유효성 검사 짧은 성공적인 virtiofs 응답은 요청 인자 버퍼의 고정된 출력 부분을 쓰지 않고 남겨둘 수 있다. 그러나 완성 경로는 선언된 전체 출력을 여전히 요청 대상에 복사하여, 오래된 할당자 내용이 fuse_statfs()와 같은 호출자에게 도달하게 한다. 성공적인 고정 출력 응답이 선언된 전체 출력을 포함하도록 요구한다. 마지막 인자의 짧은 부분은 out_argvar 요청에 대해서만 허용한다. 양의 오류 값 및 내부 재시작 오류 값을 거부하고, 헤더 전용으로 유효한 오류 응답을 요구한다. FUSE 출력 헤더에 이미 저장된 오류는 fuse_request_end()에 의해 반환되므로, 오류 응답에서 출력 인자를 복사하지 않는다. AI 지원을 통한 소스 리뷰로 발견되었다. 헤더 전용의 성공적인 FUSE_STATFS 응답이 세 부팅 동안의 아홉 번의 호출에서 오래된 필드를 반환했다. 커널은 짧은 응답을 거부하고 전체 응답, 유효한 부정 오류 응답, 가변 출력 응답을 보존했다.
CVE-2026-100045
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: fuse: fix copy_file_range reply handling race __fuse_copy_file_range() selects its request opcode and output buffer using fc->no_copy_file_range_64, then reads the flag again to handle the reply. Copies to different destination inodes can run concurrently on the same connection, so the flag may change while a request is pending. For example, task A submits FUSE_COPY_FILE_RANGE_64 and waits for its reply. Task B submits the same opcode, receives -ENOSYS and sets no_copy_file_range_64. When A receives a successful reply, it reads the uninitialized outarg.size instead of outarg_64.bytes_copied. This can produce an incorrect return value, page cache invalidation range and inode size update, and disclose stack contents if automatic stack initialization is disabled. If A also receives -ENOSYS, it instead mistakes that reply for rejection of the legacy opcode and sets no_copy_file_range, skipping the legacy fallback and unnecessarily disabling copy offload for the connection. KCSAN reported the conflicting accesses: BUG: KCSAN: data-race in __fuse_copy_file_range / __fuse_copy_file_range read to 0xffff8881014a4d4d of 1 bytes by task 123 on cpu 4: __fuse_copy_file_range+0x1a7/0x6e0 fuse_copy_file_range+0x54/0xd0 vfs_copy_file_range+0x290/0x9d0 __do_sys_copy_file_range+0x10f/0x2f0 write to 0xffff8881014a4d4d of 8 bytes by task 119 on cpu 0: __fuse_copy_file_range+0x633/0x6e0 fuse_copy_file_range+0x54/0xd0 vfs_copy_file_range+0x290/0x9d0 __do_sys_copy_file_range+0x10f/0x2f0 The bug can lead to leak kernel base address for KASLR bypass, the corresponding reproducer can be provided per request. Use args.opcode for both -ENOSYS handling and output buffer selection. It records the opcode actually sent and is updated on fallback, keeping each reply tied to its request regardless of concurrent flag updates.
CVE-2026-100044
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ublk: pin module while release work is pending ublk_ch_release() takes a device reference and queues exit_work. The VFS module reference held through the file operations is dropped after ->release() returns. A queued work item does not acquire its own module reference for the callback. Consequently, normal module removal can start while exit_work is pending or executing. In addition to the worker callback itself, the final device put can invoke ublk_cdev_rel(), which is also module code. Take a module reference while ->release() is still covered by the file operations reference and drop it only after the worker has completed its final device put. A rearming worker retains the same reference. Merely canceling exit_work during module exit is insufficient. The worker is the terminal path for the device reference taken by ublk_ch_release(), so its cancellation would strand that reference and skip the associated cleanup.
CVE-2026-100043
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again Since commit 734bbc1c97ea7 ("ipc, msg: Use dedicated slab buckets for alloc_msg()"), alloc_msg() allocates with GFP_KERNEL, and a msg_msg is accounted only through SLAB_ACCOUNT on its bucket caches. With CONFIG_SLAB_BUCKETS=n, kmem_buckets_create() creates no caches and kmem_buckets_alloc() is a GFP_KERNEL kmalloc() from the general caches, which do not account it; the same happens when kmem_buckets_create() fails. Either way, the allocation is not charged to the sender's memory cgroup. Allocate with GFP_KERNEL_ACCOUNT again, as before that commit, so the allocation is charged whichever cache serves it. Build tested ARCH=x86_64 defconfig with GCC 16.2.0, with CONFIG_SLAB_BUCKETS as y and n.
CVE-2026-100042
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: oss: Skip events until fully initialized When an OSS sequencer device is opened, it creates a sequencer port, then further initializes the internal states like a timer instance, etc. Since the sequencer port is published, an event can be already delivered, and this may hit unexpected event handling, which can eventually cause a NULL dereference (like the timer start/stop event triggered before the timer initialization). For avoiding such a race, introduce a simple guard and skips the event processing until the port is fully initialized. At releasing the device, in turn, clear this guard, so that any input events will be discarded during the teardown.
CVE-2026-100041
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Don't map an LPI from more than one event KVM keeps one vgic_irq per LPI. A MAPTI of an LPI whose vgic_irq already exists reuses it for the new ITE and leaves its target vCPU as it was. Mapping one LPI from two events is UNPREDICTABLE (IHI 0069H.b, 5.2.10), but nothing stops a guest from doing it. If the first MAPTI names a collection the guest never maps and the second a mapped one, the LPI translates through the second event with a NULL target vCPU. When the VMM routes an assigned device's MSI to that event on a host with GICv4 enabled, kvm_vgic_v4_set_forwarding() takes the vPE from the NULL target vCPU and the host oopses: Unable to handle kernel paging request at virtual address 0000000000001980 [...] Call trace: its_build_vmapti_cmd (drivers/irqchip/irq-gic-v3-its.c:943) (P) its_irq_set_vcpu_affinity (drivers/irqchip/irq-gic-v3-its.c:1380) irq_set_vcpu_affinity (kernel/irq/manage.c:670) its_map_vlpi (drivers/irqchip/irq-gic-v4.c:326) kvm_vgic_v4_set_forwarding (arch/arm64/kvm/vgic/vgic-v4.c:485) kvm_arch_irq_bypass_add_producer (arch/arm64/kvm/arm.c:2977) irq_bypass_register_consumer (virt/lib/irqbypass.c:44) kvm_irqfd (arch/arm64/kvm/../../../virt/kvm/eventfd.c:496) kvm_vm_ioctl (arch/arm64/kvm/../../../virt/kvm/kvm_main.c:5270) Track in each vgic_irq whether an ITE maps it. Drop a MAPTI of an LPI that is already mapped, as a failed MAPTI already is. Restoring the ITS tables keeps the first ITE it reads for each LPI and drops any later one, so a guest saved with a double mapping still restores. Key the check on the mapping, not on the vgic_irq. A vgic_irq outlives its ITE while anything holds a reference to it, such as the vCPU it was last queued on. A later MAPTI of such an LPI succeeds as before, and now retargets it to its collection.
CVE-2026-100040
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: alpha: handle VM_FAULT_HWPOISON in do_page_fault() do_page_fault() handles VM_FAULT_OOM, VM_FAULT_SIGSEGV and VM_FAULT_SIGBUS and then falls into BUG() for anything else in VM_FAULT_ERROR. VM_FAULT_HWPOISON and VM_FAULT_HWPOISON_LARGE are in that set, so a fault on a poisoned page takes down the kernel instead of delivering a signal. Alpha does not select ARCH_SUPPORTS_MEMORY_FAILURE, so the machine check paths cannot produce these. UFFDIO_POISON can: it installs a poison PTE marker without any memory failure support, and a subsequent access returns VM_FAULT_HWPOISON. Registering an anonymous range with userfaultfd, poisoning it and reading it back reliably hits the BUG(): Kernel bug at arch/alpha/mm/fault.c:188 poison(50809): Kernel Bug 1 pc is at do_page_fault+0x4e8/0x550 ra is at do_page_fault+0xfc/0x550 The BUG() fires with mmap_read_lock() still held, so the faulting task is left unkillable in D state holding the lock, and shutdown stalls behind it. A UFFD_USER_MODE_ONLY userfaultfd is always allowed, so any local user can do this. Deliver SIGBUS with BUS_MCEERR_AR instead, reporting the size of the poisoned area, as the other architectures do. That is the huge page size for VM_FAULT_HWPOISON_LARGE, which becomes reachable once alpha implements huge pages. Tested on an UP1500 (EV68AL): the reproducer above now takes a SIGBUS and the kernel logs poison[373]: hardware memory error at 0000020000030000 pc 00000200010007ec with no oops, no wedged task and no taint. A backport needs the show_signal_msg() call dropped, since alpha only has it since commit 9ca6af1aac40 ("alpha: select SYSCTL_EXCEPTION_TRACE").
CVE-2026-100039
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: alpha: switch_mm()가 현재 작업을 전환할 때 MMU 맥락을 로드한다 ev5_switch_mm()는 들어오는 PCB만 준비한다. 맥락은 PAL_swpctx에 의해 설치되는데, alpha_switch_to()가 scheduler를 벗어날 때 그 PCB에 대해 이를 실행한다. 직접 호출자는 alpha_switch_to()를 거치지 않고 switch_mm()에 도달한다: kthread_use_mm()가 현재 커널 스레드의 mm을 차용하고, CPU 핫플러그 해제 경로의 sched_force_init_mm()가, IPI에서 init_mm으로 전환하는 do_shoot_lazy_tlb()가 있다. 어떤 경우도 명시적으로 맥락을 로드하지 않으므로 작업은 이전에 로드된 상태로 계속 실행될 수 있다. kthread_use_mm()의 경우 current->mm은 맥락이 로드되지 않았음에도 차용된 mm을 명명한다. 나머지 두 호출자는 현재의 current->mm을 NULL로 남겨둔 채 활성 MM을 바꾼다. 오래된 페이지 테이블 루트는 swapper_pg_dir일 필요가 없으며, CPU에서 이전에 실행되었던 사용자 프로세스에 속할 수 있고, 그때의 kthread의 사용자 접근은 오래된 매핑이 허용하는 어디에서나 그 프로세스의 메모리를 읽고 쓸 수 있다. 그렇게 취득한 번역은 차용된 mm의 ASN으로 태그될 수 있는데, ev5_switch_mm()가 그 ASN을 PCB에 쓰고, 다음 PAL_swpctx가 이것을 오래된 ptbr에 설치한다. 오래된 테이블이 매핑하지 않는 주소에 대한 권한이 실패하지 않으며, do_page_fault()가 current->mm에 대해 맥락을 다시 로드하지 않고 faults를 해결하기 때문에 반환 시에도 같은 접근이 다시 실패할 수 있다. sched_force_init_mm()는 CONFIG_HOTPLUG_CPU가 필요하고 do_shoot_lazy_tlb()는 CONFIG_MMU_LAZY_TLB_SHOOTDOWN이 필요하다. Alpha는 둘 다 선택하지 않으므로 실질적으로는 kthread_use_mm()만이 도달 가능하다. 호출자의 신원을 테스트하고 개별 호출자를 특수 처리하기보다 일반적으로 확인하라. 스케줄러는 들어오는 작업을 전달하는데, 이는 alpha_switch_to()가 실행될 때까지 현재가 아니다. 세 가지 직접 호출자는 모두 현재를 전달한다. 그것을 테스트하고 activate_mm()가 로드하는 방식으로 맥락을 로드하라. 스위치 구간 전체에서 인터럽트는 비활성화된 상태로 실행되므로 이 작업은 어떤 asn_lock 핸드셰이크도 필요 없이 완료된다.
CVE-2026-100038
번역 확인 필요2026년 11월 30일리눅스 커널의 다음 취약점이 해결되었습니다: alpha: finish_arch_post_lock_switch()에서 check_mmu_context()를 실행 check_mmu_context()는 asn_lock를 지우고 need_new_asn에서 작동하지만, switch_to()의 끝에서 alpha_switch_to()가 반환된 후에만 실행됩니다. 새로 포크된 사용자 태스크는 그 지점에 도달하지 못합니다: 첫 컨텍스트 스위치의 재개는 ret_from_fork에서 이루어져 schedule_tail()에 도달하며 alpha_switch_to() 이후의 코드로 돌아가지 않습니다. asn_lock는 그 CPU에 남아 있어 새 사용자 태스크가 인터럽트가 활성화된 상태에서 실행될 수 있으며 shootdown IPIs가 지연 경로를 계속 차단합니다. 그 실패를 완료하기 위한 핸드셰크는 결국 해당 이슈가 무조건 수행되도록 설계되었습니다. 이제의 이번 버전에서 불필요한 switch_to()의 호출은 제외합니다. 후크는 finish_lock_switch()가 rq 잠금을 해제하고 인터럽트를 활성화한 직후에 실행됩니다. asn_lock이 제거되기 전에 도착한 IPI는 flush_tlb_other()를 통해 슬롯을 비웁니다. 이후에 도착한 IPI는 이미 들어오는 컨텍스트를 PAL_swpctx가 설치했기 때문에 직접 플러시할 수 있습니다. ASN을 재사용하거나 ASN을 할당하는지에 따라 need_new_asn를 설정합니다. 그 사이의 IPI는 어느 쪽 슬롯도 0으로 만들 수 있습니다. 그렇지 않으면 할당된 경우라도 컨텍스트 슬롯이 0인 상태로 사용자 공간으로 반환될 수 있으며, 이후 컨텍스트 기반의 shootdown 단축 경로가 이를 비활성화된 CPU로 오인할 수 있습니다. check_mmu_context()는 슬롯이 0일 때만 재로딩합니다. 후크를 무조건 호출합니다. Alpha는 ARCH_NO_PREEMPT를 선택하고, kthread_use_mm()나 sched_force_init_mm()가 이 후크 이전의 직접 전환 사이에 대기하지 않습니다. RCU_STRICT_GRACE_PERIOD는 PREEMPT_COUNT를 가능하게 할 수 있지만, 이 호출자들을 그 위치로 마이그레이션시키지는 못합니다. preemptible()를 테스트해도 해당 구성에서만 asn_lock가 남아 있게 됩니다. 이전의 직접 전환 수정인 "alpha: switch_mm()가 현재 태스크를 전환할 때 MMU 컨텍스트를 로드한다"에 앞선 수정이 필요합니다. 이 수정은 kthread_use_mm()가 이 후크에 도달하기 전에 차용된 컨텍스트를 설치하므로, 잘못된 컨텍스트에 대해 대상이 된 무효화를 노출하지 않게 합니다.
CVE-2026-100037
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: alpha: 대상 mm이 실제로 현재인 경우에만 표적으로 한 tbi()를 사용 ipi_flush_tlb_page()는 current->active_mm에서 표적 tbi()를 게이트합니다. tbi()는 현재 CPU에 로드된 주소 공간 컨텍스트에서 작동하므로, 해당 mm의 쓰레드가 거기 실행 중일 때만 mm의 변환에 도달할 수 있는 것이 보장됩니다. current->active_mm 만으로는 충분하지 않습니다: 느긋한 TLB 아래에서 대기 상태인 또는 커널 태스크는 다른 ASN이 로드된 상태에서도 active_mm를 mm으로 계속 유지하므로 무효화가 잘못된 컨텍스트에 대해 이루어져 오래된 엔트리가 살아 있을 수 있습니다. 또한 이후에도 오래된 ASN을 제거하지 않으므로(mm->context[cpu]가 여전히 유효한 상태로 남아) 재개 중인 스레드가 이를 재사용할 수 있습니다. 다른 방식으로는 current->mm를 확인하고 그렇지 않은 경우 flush_tlb_other()로 돌아가 mm->context[cpu]를 지우고 다음 스위치 시점에 새 ASN을 강제로 로드합니다. kthread_use_mm()를 통해 빌린 mm의 경우 이 시퀀스의 패치 1은 태스크가 shootdown IPI를 받기 전에 컨텍스트를 설치합니다. 따라서 current->mm 테스트는 그 경우도 커버합니다.
CVE-2026-100036
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: alpha: flush_tlb_page()에서 로컬 컨텍스트를 무효화합니다 타깃 mm이 호출하는 CPU의 active_mm가 아닐 때, flush_tlb_page()는 로컬적으로 아무 작업도 하지 않으며 smp_call_function()은 다른 CPU들로만 전달됩니다. 이 CPU는 여전히 mm에 대한 번역을 보유하고 있을 수 있으며, 이후에 그들과 함께 이전 ASN을 재사용할 수 있습니다. 누락된 else 분기를 추가합니다. flush_tlb_other()는 mm->context[cpu]를 지워 새 ASN이 다음 전환에서 사용되도록 합니다. current->active_mm 검사 값을 current->mm으로 바꾸기 전에 이 작업을 수행하는데, 이 변경은 지연 호출자들도 여기에 보내므로 그들의 로컬 무효화가 이미 제자리에 있어야 합니다. asm/tlbflush.h 및 asm/cacheflush.h의 단일 프로세서 구현인 flush_tlb_mm()와 flush_icache_user_page()는 이미 이 분기를 정확히 포함하고 있습니다.
CVE-2026-100035
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: alpha: flush_tlb_page()에서 로컬 TLB 무효화를 수정 flush_tlb_page()는 호출 CPU 자신을 먼저 무효화한 뒤 다른 CPU에 요청하며 current->active_mm으로 이를 묶습니다. 실행 불가능한 vma의 경우 대상 tbi(2, addr)가 현재 로드된 컨텍스트를 대상으로 작동하며 대상 mm의 컨텍스트가 로드된 컨텍스트일 때만 의도한 번역을 무효화하는 것이 보장됩니다. 지연된 active_mm은 이를 보장하지 못하므로 ipi_flush_tlb_page()처럼 대상 mm의 오래된 번역이 살아남을 수 있고, 이후에 오래된 ASN이 해제될 것을 강제하지 않습니다. 다시 current->mm를 테스트합니다. 그러면 지연된 호출자는 이전 패치에 의해 추가된 flush_tlb_other() 분기를 사용하여 로컬 컨텍스트를 해제합니다. 그 분기를 먼저 추가하면 EV7에서 타깃 ASN에 대한 외부 tbi()가 작동하는 것으로 보였던 상황에서도 매 단계에서 로컬 무효화를 유지합니다. 어떤 호출자가 외부 mm과 함께 이 위치에 도달하는지는 설정에 따라 다릅니다. folio_mkclean(), 자신만의 mm이 없는 writeback 플러셔 kworker의 경우 공유 매핑의 writeback 중 대략 절반의 호출에서 계수되었고 익명 메모리의 경우에는 전혀 없었습니다. CONFIG_COMPACTION=n으로 측정된 수치이며, COMPACTION=y이면 asm/pgtable.h가 ptep_clear_flush()를 migrate_flush_tlb_page()를 호출하도록 재정의하고, 이 함수는 모든 CPU와 컨텍스트 자체를 조정하므로 folio_mkclean()은 이 함수에 도달하지 않습니다.
CVE-2026-100034
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: alpha: UP 플러시_tlb_page()에서 로컬 TLB 무효화를 수정 asm/tlbflush.h의 단일 프로세서(UP) 구성에서의 flush_tlb_page()는 SMP 버전과 동일한 잘못된 테스트를 가지고 있습니다: 대상 tbi()는 대상 mm의 컨텍스트가 로드될 때에만 의도된 전 translations를 무효화할 것이 보장되지만, 게이트는 current->active_mm로, 이는 지연 로딩된 mm도 만족시키기 때문입니다. 대신 current->mm를 검사합니다. 그것이 벗어나는 else 분기가 이미 여기에 존재하므로, SMP 쪽과 달리 이것이 전체 수정점입니다. arch/alpha/kernel/smp.c는 CONFIG_SMP=n으로 빌드되지 않으므로, 이처럼 동일한 결함이 단일 프로세서로 확산되어 플러셔(kworker)가 작성자와 동일한 CPU를 공유하게 됩니다.
CVE-2026-100033
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: alpha: flush_tlb_mm()에서 로컬 컨텍스트를 무효화합니다 flush_tlb_mm()는 flush_tlb_page()에서 수정된 호출자-CPU 생략과 동일한 경우를 갖습니다. 대상 mm이 호출 CPU의 active_mm가 아닐 때는 로컬에서 아무 일도 일어나지 않으며, smp_call_function()은 다른 CPU들만 처리하므로 이 CPU는 나중에 여전히 보유한 번역과 함께 이전 ASN을 재사용할 수 있습니다. 활성 MM 검사 자체는 이 위치에서 그대로 남아 있습니다. 그 경로는 flush_tlb_current()를 호출하며, __load_new_mm_context()를 통해 새 컨텍스트를 로드하기 때문에 어떤 ASN이 로드되었는지에 관계없이 대상화된 tbi()를 발행하지 않으므로 현재 컨텍스트가 무엇인지에 의존하지 않습니다. asm/tlbflush.h의 단일 프로세서 구현은 이미 누락된 분기를 포함하고 있습니다. 포크가 많이 일어나는 실행에서, flush_tlb_mm()는 이 CPU의 active_mm가 아닌 mm으로 두 번째로 들어갔고, 그렇지 않을 때는 2934회, 유휴 상태일 때는 632회 들어갔습니다. 제안된 Alpha hugetlb 지원 경로는 hugetlb 무효화를 이 함수로 전달합니다. 다른 컨텍스트에서 매핑 해제되거나 마이그레이션된 hugetlb folio도 로컬 무효화를 통해 처리해야 합니다.