총 15,720건
CVE-2026-99351
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: sunrpc: treat empty auth.unix.gid replies as negative entries When rpc.mountd cannot resolve a uid (getpwuid() or getgrouplist() failure, e.g. while winbind or sssd is briefly unreachable), it answers the auth.unix.gid upcall with zero groups. unix_gid_parse() installs that as a valid positive entry, and svcauth_unix_set_client() then replaces the credential's group list with the empty one on every request, RPCSEC_GSS included via svcauth_gss_set_client(). One failed lookup strips that uid of all supplementary groups on every export for up to mountd's configured TTL (30 minutes by default), long after the NSS backend has recovered. mountd cannot send an empty list for a successful lookup, since getgrouplist(3) always includes at least the user's primary group, so a zero-group reply can only mean the lookup failed. Record it as a negative entry: unix_gid_find() then returns -ENOENT and svcauth_unix_set_client() keeps the groups the RPC credential already carries. This is the fallback that commit 3fc605a2aa38 ("[PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication") promised when no answer is available, and the same state try_to_negate_entry() already creates when no listener holds the channel open.
CVE-2026-99350
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix update of call->tx_pending without holding lock Currently, rxrpc_send_data() updates call->tx_pending just before it returns - but it won't be holding the call->user_mutex when it does this if a wait was interrupted by a signal. This would allow a parallel sendmsg() to race. Further, both the callers of rxrpc_send_data() call it with the lock held, and then it returns an indication through the parameter list to say whether it has dropped the lock or not - after which the callers both just drop the lock if it's still held. Fix this by: (1) Moving the release of call->user_mutex down into rxrpc_send_data() and get rid of the indicator parameter. This makes it easier to see where the lock is held. (2) After waiting, if the attempt to reacquire the mutex is interrupted, just return directly there rather than going to out_unlock (3) Restricting the txb variable to inside the buffering loop and leaving ->tx_pending set until we've queued the buffer. Note that there's a slight change in behaviour in that wait_for_space failure now doesn't check for completion because it doesn't hold the call user_mutex. The caller, however, should re-issue the send and pick up any error at a second attempt.
CVE-2026-99349
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix lack of short-send handling in rxrpc_kernel_send_data() Fix rxrpc_kernel_send_data() to loop around if it detects a short send. David Laight suggested doing it here rather than wrapping all the calls in loops. Further, remove the len argument and use the iterator count instead and return 0 on success, not the amount copied. Note this is also a prerequisite for changing the way rxrpc_send_data() works to return a short send rather than an error if some data was buffered.
CVE-2026-99348
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs to abort the rxrpc call on send error Fix afs_send_empty_reply() and afs_send_simple_reply() to always try to abort the rxrpc call rather than just aborting on -ENOMEM and otherwise abandoning it. If the call is already complete due to network failure or a received abort, this will do nothing. Also make afs_make_call() always abort on send error; again, it does nothing if the rxrpc call is already dead.
CVE-2026-99347
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ALSA: x86: hdmi: fix chmap array missing terminator entry had_build_channel_allocation_map() allocates a single struct snd_pcm_chmap_elem via kzalloc() and stores it as intelhaddata->chmap->chmap. struct snd_pcm_chmap.chmap is expected to be a zero-terminated array (see snd_pcm_std_chmaps[]), but had_register_chmap_ctls() never overrides the TLV callback installed by snd_pcm_add_chmap_ctls(), so the generic pcm_chmap_ctl_tlv() from ALSA core is left in place. pcm_chmap_ctl_tlv() is reachable by any local user via SNDRV_CTL_IOCTL_TLV_READ on the "Playback Channel Map" control and walks the array with "for (map = info->chmap; map->channels; map++)". Since the driver's single element is never terminated, this walks past the allocation. The same pointer is also freed on hot-unplug and rebuilt on hot-plug under intelhaddata->mutex, while the TLV callback runs under card->controls_rwsem without that mutex, so the walk can also race a concurrent free of the array. Fix this by allocating a second, zeroed element so the array is properly terminated, and by dropping the inherited TLV callback entirely at registration time, since the driver never implements one of its own.
CVE-2026-99346
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: KVM: SVM: pCPU 전환 시 두 VMCB에서 새로운 ASID 할당 유발 VMCB가 가장 최근에 사용됐던 pCPU가 전환될 때, 두 VMCB의 ASID 생성을 재설정하여 즉시 VMRUN 및 다른 VMCB의 다음 VMRUN에 대해 새로운 ASID 할당을 유발합니다. ASID는 vmcb01과 vmcb02 간에 공유되며 중첩 전환 시마다 플러시됩니다. 그러나 pCPU 추적은 VMCB별로 수행되므로, 한 VMCB가 새 pCPU로 이동할 때 새로운 ASID를 할당하고 다른 VMCB가 이전 pCPU에서 그 ASID를 재사용할 수 있습니다. 이로 인해 같은 ASID가 이전 pCPU의 여러 vCPU에서 사용될 수 있습니다. 예시 시나리오: - vCPU가 pCPU A에서 실행 중이고 vmcb01이 활성화되며 asid=1입니다. - vCPU가 pCPU B로 마이그레이션하고 vmcb01의 pCPU가 변경되면 새로운 asid=2가 할당됩니다. - 다른 vCPU가 pCPU A에서 실행되어 역시 asid=2를 할당합니다. - vCPU가 다시 pCPU A로 마이그레이션하고 vmcb01과 함께 다시 실행되기 전에 vmcb02로 전환됩니다. - vmcb02에 대해 pCPU 전환이 감지되지 않으므로 asid=2로 VMRUN이 수행됩니다. - 두 vCPU가 동일한 pCPU에서 asid=2를 사용하게 됩니다. 활성 VMCB만 dirtying 하도록 유지합니다. 각 VMCB의 pCPU는 pCPU에 의해 추적되며, pCPU가 바뀌지 않으면 불필요하게 VMCB를 dirty하지 않습니다. 또한 중첩 활성화 시 vmcb02의 추적된 pCPU를 -1로 초기화하여, 중첩이 비활성화되고 다시 활성화될 때 항상 새로운 ASID 할당이 트리거되도록 합니다. L1 vCPU를 L0에서 과도하게 스케줄링하여 어떤 성능 저하도 관찰되지 않았고, L1 ↔ L2 vCPU를 고정하고 CPUID를 빡빡한 루프에서 실행하는 경우에도 마찬가지였습니다. 더 적절한 수정 방식으로는 ASID를 VMCB별로 추적하는 방법이 있을 수 있습니다(예: [1]). 그러나 이는 더 복잡한 변경이며, 실제로는 L1과 L2에 대해 서로 다른 ASID를 유지하면서도 이를 제대로 관리하지 않는 결과를 낳습니다. 모든 TLB 플러시가 현재 VMCB를 대상으로 하며, 다른 VMCB는 중첩 전환 시 항상 플러시되지만, 이 코드는 더 취약한 상태로 남게 됩니다. 적절한 정리는 앞으로의 SVM의 ASID 사용 overhaul로 미룬다는 취지의 수정이 제시됩니다 [2]. [1] https://lore.kernel.org/lkml/[email protected] [2] https://lore.kernel.org/kvm/[email protected]
CVE-2026-99345
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었다: KVM: nSVM: L1의 EFER.LMA=1 && EFER.LME=0이라는 불가능한 EFER 조합에 대해 KVM_SET_NESTED_STATE를 거부 들어오는 L1 호스트 상태가 EFER.LMA가 1이지만 EFER.LME가 0인 사실상 불가능한 EFER 조합을 가지고 있을 때 KVM_SET_NESTED_STATE를 거부한다. 즉, 롱 모드가 활성화되어 있지만 활성화되지 않은 경우와 같은 상태를 거부한다. VMX와 달리 SVM은 불법 조합에 대한 명시적 일관성 검사를 가지지 않으며, 하드웨어가 EFER.LMA를 EFER.LME=0일 때 무시하는 것으로 추정된다. 안타깝게도 KVM은 이 경우 EFER.LMA를 무시하지 않고 L2에 대한 그림자 MMU를 구성할 때 불법 상태를 소비한다. 예를 들어 사용자가 공간에서 CR4.PAE를 지우면 kvm_calc_cpu_role()가 4계층 또는 5계층 페이지 매핑의 역할을 계산하지만, shadow_mmu_init_context()는 MMU를 2계층으로 최대화하는 paging32 템플릿을 사용하도록 연결한다. "진짜 나쁨"은 커밋 112e66017bff("KVM: nVMX: add missing consistency checks for CR0 and CR4")로 수정된 nVMX 버그와 사실상 동일하다. 다만 커밋 72e2fb24a0b0("KVM: x86/mmu: Bug the VM if a vCPU ends up in long mode without PAE enabled")가 추가한 선 확인은 이 경우에는 작동하지 않는데, 왜냐하면 페이지 폴트 시점에 이미 L2 상태가 활성화되어 있지만 bad state인 것은 L1이기 때문이다.
CVE-2026-99344
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Ignore EFER.LMA if EFER.LME=0 when preparing L2 state Force EFER.LMA=0 if EFER.LME=0 when preparing L2 state for VMRUN, i.e. mimic real hardware's behavior of ignoring EFER.LMA if EFER.LME=0. VMRUN unfortunately allows the nonsensical combination, i.e. doesn't fail, but KVM itself has an invariant EFER.LMA can be set et if and only if EFER.LME is set. Breaking that invariant can lead to a variety of issue, particularly in MMU code that keys off EFER.LMA when determining whether to emulate/virtualization 4/5-level paging versus PAE paging.
CVE-2026-99343
번역 확인 필요2026년 11월 20일리눅스 커널의 다음 취약점이 해결되었습니다: KVM: x86/mmu: KVM이 MMU가 가질 수 있는 수준보다 더 많은 수준의 페이징을 걸려고 할 때 VM에 버그가 발생합니다 "EFER.LMA && !CR4.PAE" 검사 확장은 주로 KVM이 2단계 이상 페이징으로 paging32 MMU를 구성하는 것을 방지하기 위해 존재하며, 정확히 그에 대한 아주 명시적 검사를 추가합니다: KVM이 MMU 템플릿이 제공하는 수준보다 더 많은 페이징 단계를 걸려고 하는지가 아닌지 확인하는 것. 즉, KVM이 게스트_walkers 배열의 경계를 넘는 접근을 생성하는 모든 버그로부터 KVM을 강화하여, KVM이 어떻게 잘못 구성된 MMU를 얻게 되었는지에 관계없이 이를 방지합니다. 참고로 paging64 템플릿은 32비트 호스트에서 PAE 페이징에 대해 두 개의 레벨의 페이지 테이블만 제공하고, 세 번째 레벨은 PDPTR 접근을 수동으로 에뮬레이션하여 처리합니다. " w->cpu_role.base.level를 직접 사용하지 마십시오. 이는 paging64 템플릿이 32비트 호스트에서 PAE 페이징에 대해 두 레벨의 페이지 테이블만 제공하고, 세 번째 레벨은 PDPTR 접근을 수동으로 에뮬레이션하여 처리하기 때문입니다."
CVE-2026-99342
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration Xen's map_guest_area() enforces that vcpu_info is aligned to sizeof(xen_ulong_t). KVM has no such check, allowing a guest to register vcpu_info at an arbitrary byte alignment. Enforce unconditional 4-byte alignment regardless of the current shinfo mode. This is sufficient because subsequent commits ensure that all locked atomic operations on vcpu_info fields use at most 32-bit accesses. Return -ENXIO on failure, matching Xen's map_guest_area() behaviour for unaligned requests. Originally observed in review of an unrelated patch: https://lore.kernel.org/all/[email protected]/
CVE-2026-99341
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Request event processing for exception VM-Exits Request event processing whenever kvm_queue_exception_vmexit() queues an exception VM-Exit. Most callers reach the helper through kvm_multiple_exception(), which already sets KVM_REQ_EVENT, but nested asynchronous page faults call it directly. Without another event request, vcpu_enter_guest() skips kvm_check_and_inject_events() and re-enters L2. A subsequent VM-Exit can clear the pending exception while reconstructing vectoring state, losing the synthetic #PF VM-Exit. The APF reason remains PAGE_NOT_PRESENT and a later regular #PF can consume the stale value. Setting KVM_REQ_EVENT in the common helper ensures that L1 receives the queued VM-Exit before KVM re-enters L2.
CVE-2026-99340
번역 확인 필요2026년 11월 20일리눅스 커널의 다음 취약점이 해결되었습니다: KVM: x86: kvm_zap_gfn_range()에서 SRCU 사용 kvm_zap_gfn_range()는 memslots와 rmaps를 순회하며 reschedule을 위해 mmu_lock을 해제할 수 있습니다. 이미 kvm->srcu(또는 slots_lock)를 보유하지 않은 호출자들은 memslot 삭제와 레이스 상태를 가질 수 있습니다: synchronize_srcu_expedited()는 대기하지 않고, kvm_free_memslot()은 기존 슬롯과 그 rmap을 해제하며, 제프는 해제된 메모리에서 재개합니다. VFIO 비동일성 DMA 경로가 SRCU 없이 전체 GPA 공간을 제거하면서 이 문제에 영향을 받습니다. KASAN은 다음과 같이 보고했습니다: BUG: KASAN: vmalloc-out-of-bounds in slot_rmap_walk_next+0x82/0x1c0 Read of size 8 at addr ffffc900005c1008 Call Trace: slot_rmap_walk_next+0x82/0x1c0 __kvm_rmap_zap_gfn_range+0x17a/0x280 kvm_zap_gfn_range+0x2a6/0x6a0 kvm_vfio_set_attr+0x576/0x770 kvm_device_ioctl+0x1ff/0x3b0 이제 모든 호출자에 대해 SRCU를 사용하도록 kvm_zap_gfn_range() 내부에서 SRCU를 적용합니다. 이미 존재하는 kvm->srcu 임계 영역과의 중첩은 괜찮으며; 헬퍼는 로컬 인덱스를 사용합니다. __kvm_set_or_clear_apicv_inhibit()에서 이제 필요 없는 SRCU 페어를 제거합니다.
CVE-2026-99339
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak Ensure all reserved flags are zeroed when setting the msg_pending flag as part of SynIC message delivery, as setting only msg_pending can leak seven bits of kernel stack data to the guest. E.g. gcc typically uses a bitwise-OR to set the msg_pending flag, without initializing the on-stack variable. Precisely zero the flags, e.g. as opposed to zeroing the entire structure, to make it somewhat more obvious that the flags *need* to be zeroed. E.g. it would be quite easy to misread the initial read of guest memory and think that zeroing the entire structure is completely superfluous.
CVE-2026-99338
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: TDX: Enable Notify VM exit Enable Notify VM exit functionality for TDX guests. Notify VM exit is an existing feature supported by KVM. Userspace can enable Notify VM exit through KVM_CAP_X86_NOTIFY_VMEXIT when it's reported as supported. However, KVM reports the support of this CAP just based on the hardware capability but doesn't differentiate between VMX and TDX. This leads to the issue that userspace can enable this cap for TDX guests without getting an error, but the feature is not actually enabled because KVM doesn't call the TDX module API to program the relevant TD VMCS fields. Enable Notify VM exit for TDX guests by: - Invoking TDX module API calls to set NOTIFY_VM_EXITING and Notify Window in TD VMCS. It's done in tdx_vcpu_init() where other TD VMCS bits are set. Since TDX vCPU cannot be reset, it only needs to be configured once when initializing the TDX vCPU. - Adding corresponding exit handler for TDX Notify VM Exit. Notify VM exit can happen when executing the IRET instruction. If the IRET unblocks the NMI blocking state, bit 12 of the exit qualification is set. In this case, the VMM needs to restore the "blocked by NMI" state when it decides to re-enter the guest. For TDX, KVM cannot manage the GUEST_INTERRUPTIBILITY_INFO and it's TDX module's responsibility to handle it. Extract the common part without NMI blocking handling into a helper in common.h so that it can be shared between VMX and TDX. Note, KVM uses "pre-production" terminology for the feature formally called Notify VM-Exit. All public versions of the SDM refer to the feature as Instruction Timeout. This will be remedied in the near future, for now, use KVM's terminology for consistency. Note, #2, there is no enumeration bit for Notify VM exit by TDX module because all TDX modules support it, and allow to set the corresponding TD VMCS fields as long as the hardware supports the feature.
CVE-2026-99337
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: TDX: Enable Bus Lock VM exit Enable Bus Lock VM exit functionality for TDX guests. Bus Lock VM exit is an existing feature supported by KVM. Userspace can enable Bus Lock VM exit through KVM_BUS_LOCK_DETECTION_EXIT when it's reported as supported. However, KVM reports the support of this CAP just based on the hardware capability but doesn't differentiate between VMX and TDX. This leads to the issue that userspace can enable this cap for TDX guests without getting an error, but the feature is not actually enabled because KVM doesn't call the TDX module API to program the relevant TD VMCS fields. Enable Bus Lock VM exit for TDX guests by programming the BUS_LOCK_DETECTION control in the TD VMCS and by adding the exit handler. Note, there is no enumeration bit for this feature by TDX module because all TDX modules support it and allow to set the TD VMCS as long as the hardware supports the feature.
CVE-2026-99336
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: KVM: guest_memfd: dying 파일을 언바인딩할 때 invalidate 잠금을 취함 kvm_gmem_unbind()는 get_file_active()가 성공해야만 mapping->invalidate_lock을 얻습니다. guest_memfd 파일이 소멸 중일 때 참조 카운트가 이미 0이므로 get_file_active가 실패하고 바인딩은 invalidate 잠금을 보유하지 않은 채 제거됩니다. kvm_gmem_invalidate_{start,end}()은 KVM MMU 무효화를 시작하거나 끝낼지 결정하기 위해 독립적으로 f->bindings를 검사합니다. 따라서 두 호출 사이에 바인딩은 안정적으로 유지되어야 합니다. 그렇지 않으면 start가 mmu_invalidate_in_progress를 증가시킨 뒤 end가 바인딩을 찾아 감소하기 전에 언바인드가 바인딩을 제거할 수 있습니다. 예시: 메모리 장애와의 언바인드 경쟁: CPU 0: 메모리 장애 CPU 1: memslot 삭제 ---------------------------------- --------------------------- (guest_memfd 파일이 소멸 중) kvm_gmem_error_folio() kvm_gmem_invalidate_start() 바인딩을 찾음 mmu_invalidate_in_progress++ kvm_gmem_unbind() get_file_active() 실패 바인딩 제거 kvm_gmem_invalidate_end() 바인딩을 찾지 못함 카운터가 상승된 채 유지됨 mmu_invalidate_retry()가 계속 1을 반환하므로 게스트 페이지 폴트가 다시 시도되지만 맵핑이 한 번도 설치되지 않아 게스트가 중단됩니다. 언바인드 경로에서 라이브 파일과 dying 파일 간의 구분을 제거합니다. slot->gmem.file을 항상 사용하고 NULL이 아닐 때 invalidate 잠금을 잡습니다. 일반적인 언바인드 호출자는 slots_lock를 보유하고 있어 언바인드가 완료될 때까지 포인터를 해제하거나 파일 상태를 해제하는 것을 방지합니다. 최종 VM 종료는 guest_memfd가 모든 바인딩을 해제할 때까지 KVM를 핀 상태로 유지하기 때문에 NULL 포인터만 볼 수 있습니다.
CVE-2026-99335
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Establish memslot<=>guest_memfd bindings *after* memslot is ready Wait to bind a memslot to a guest_memfd instance until *after* the memslot is fully prepared, as creating the binding in guest_memfd will effectively expose the memslot to readers. As pointed out by Sashiko, binding the memslot before it's ready to be exposed to the rest of the world can break various memslot assumption and rules. E.g. x86 could observe a NULL rmap pointer if a PUNCH_HOLE hit the guest_memfd after the binding was created, but before KVM made it through kvm_prepare_memory_region().
CVE-2026-99334
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: KVM: PPC: Book3S HV: Add preempt_disable() around virtual-mode HPTE bit-lock users kvmppc_hv_find_lock_hpte() requires virtual-mode callers to run with preemption disabled, because it can return with HPTE_V_HVLOCK still held until the caller later unlocks the HPTE. Existing virtual-mode callers in book3s_64_mmu_hv.c already follow that rule. Two virtual-mode call paths do not: 1. kvmppc_handle_exit_hv() calls kvmppc_hpte_hv_fault() for hash-mode data-side and instruction-side faults after guest exit, with preemption already enabled. kvmppc_hpte_hv_fault() calls kvmppc_hv_find_lock_hpte() directly. 2. kvmppc_pseries_do_hcall() executes virtual-mode handlers for HPT hcalls via kvmppc_pseries_do_hpt_hcall() with preemption enabled. The handlers for H_ENTER, H_REMOVE, H_READ, H_CLEAR_MOD, H_CLEAR_REF, H_PROTECT, and H_BULK_REMOVE spin on try_lock_hpte() or lock_rmap(), and H_ENTER also reaches kvmppc_do_h_enter(), which uses arch_spin_lock() on kvm->mmu_lock. That raw lock choice is intentional because kvmppc_do_h_enter() is also used by real-mode callers, so the correct fix is to establish the proper preemption context at the virtual-mode caller boundary. If a vCPU thread is preempted while holding HPTE_V_HVLOCK, any other thread on the same CPU trying to acquire the same bit-lock can spin indefinitely. The same applies to lock_rmap() users and to the H_ENTER path while holding the raw mmu_lock. Fix this by adding preempt_disable()/preempt_enable() pairs around the two kvmppc_hpte_hv_fault() call sites in kvmppc_handle_exit_hv(), and around the kvmppc_pseries_do_hpt_hcall() invocation in kvmppc_pseries_do_hcall(). Targeting only the HPT hcall helper avoids wrapping non-HPT hcalls (such as H_RTAS, H_CONFER, H_REGISTER_VPA) that perform page faults, blocking memory allocations, or context switches.
CVE-2026-99333
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: HID: amd_sfh: Use report type from request node Use report type from request node while sending feature and input reports to HID core. The cli_data report type array is never assigned and feature reports are sent as input reports.
CVE-2026-99332
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Syzbot reported an out-of-bounds shift (32-bit integer shifted left by 32) in the s32ton() routine in the HID core. This routine converts a signed 32-bit integer to a signed n-bit integer, and it caps the value of n at 32. But when n == 32 there's no need to do anything; it can simply return the input value. This will avoid calculating (1 << n) when n is 32, which was the cause of the invalid shift.