총 16,344건
CVE-2026-98487
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: net: bridge: mdb: 삭제 후 포트 그룹 탐색 재시작 br_mdb_flush_pgs()는 mp->ports를 탐색하는 동안 포인터-투-포인터 커서를 유지한다. br_multicast_del_pg()는 br_multicast_sg_del_exclude_ports()를 통해 동일한 MDB 엔트리에 재진입하여 다른 포트 그룹을 연결 해제할 수 있다. 만약 커서가 그 그룹들 중 하나를 가리키고 있다면, 다음 반복에서 오래된 커서를 역참조하여 mp->ports가 해제된 메모리를 가리키게 될 수 있다. 이후 RTM_GETMDB 호출은 이 댕글링 포인터를 노출시킨다: BUG: KASAN: slab-use-after-free in br_mdb_dump 크기 8 바이트 읽기 br_mdb_dump rtnl_mdb_dump rtnl_dumpit netlink_dump 삭제 후 커서를 mp->ports로 재설정한다. 삭제는 적어도 선택된 그룹을 제거하므로, 재시작된 탐색은 항상 진행된다.
CVE-2026-98486
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: net: ena: fix MMIO read buffer leak on probe failure ena_device_init() initializes the MMIO read mechanism with ena_com_mmio_reg_read_request_init(), which allocates a coherent DMA buffer for MMIO read responses. The normal removal path releases this buffer through ena_com_mmio_reg_read_request_destroy(). However, if ena_probe() fails after ena_device_init() succeeds, the error path destroys the admin resources and eventually frees ena_dev without destroying the MMIO read request, leaving the coherent DMA buffer allocated. Call ena_com_mmio_reg_read_request_destroy() in the probe error path before releasing the remaining device resources. This issue was found by manual code inspection.
CVE-2026-98485
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: netfilter: ip6t_rt: 0 주소 비엄격 일치 시 범위 밖 읽기 수정 rt_mt6_check()는 주소 일치(IP6T_RT_FST_MASK)가 요청된 경우에도 rtinfo->addrnr == 0인 규칙 구성을 허용한다. IP6T_RT_FST_NSTRICT 경로에서 rt_mt6()는 패킷 라우팅 주소를 rtinfo->addrs[i]와 비교하며 루프 하단에서 역방향으로 종료한다: if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) { i++; } if (i == rtinfo->addrnr) break; addrnr가 0일 때, 첫 번째 패킷 주소가 rtinfo->addrs[0]와 일치하면 i가 1로 증가한다. i가 이제 addrnr(0)보다 엄격히 크므로 루프 종료 조건(i == rtinfo->addrnr)이 우회되어 절대 만족하지 않는다. 조작된 IPv6 패킷이 일치하는 라우팅 주소를 포함하면 i가 IP6T_RT_HOPS(16)를 초과한다. 이후 ipv6_addr_equal() 호출은 struct ip6t_rt를 넘어 읽기를 수행하여 UBSAN/KASAN 범위 밖 읽기 경고 또는 커널 패닉을 유발한다. 다음과 같이 수정하였다: 1. rt_mt6_check()에서 IP6T_RT_FST_MASK가 설정되었으나 rtinfo->addrnr가 0인 규칙을 거부한다. 2. rt_mt6()에서 종료 조건(i < rtinfo->addrnr)을 for 루프 헤더 조건으로 이동하고 루프 본문 끝의 역방향 break를 제거한다.
CVE-2026-98484
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: skip expired catchall elements on insert and delete nft_setelem_catchall_insert() looks up duplicates with nft_set_elem_active() only, while nft_set_catchall_lookup() and the dump path additionally skip expired elements. Once a catchall element with a timeout expires, this predicate drift makes it invisible to userspace dumps, yet it still blocks re-insertion: with NLM_F_EXCL the request fails with -EEXIST, and without it the request reports success but silently inserts nothing. The stale entry only goes away when the (user-tunable) gc interval elapses, so the catchall rule may silently stop matching for an arbitrarily long time after its first expiration. The delete path shows the same drift: nft_setelem_catchall_deactivate() picks the first active-next entry in the catchall list, so with an expired entry still pending GC it retires the stale entry instead of the fresh one, and it deactivates an element that userspace no longer sees instead of failing with -ENOENT. Align both walks with the lookup and dump predicates: only an element that is active and not expired counts as a duplicate or delete candidate, using the per-netns timestamp taken at transaction start, in line with the set backend .insert/.deactivate and catchall GC sync paths.
CVE-2026-98483
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: nfc: fix use-after-free in nfc_get_local_general_bytes Commit 6709d4b7bc2e ("net: nfc: Fix use-after-free caused by nfc_llcp_find_local") attempted to fix a use-after-free (UAF) issue by invoking nfc_llcp_local_put(local) after accessing local->gb. However, if the reference count drops to zero, local is freed immediately, leading to a use-after-free when callers access the returned pointer. Alternative approaches using dynamic allocation (e.g. kmemdup) introduced memory leaks because callers consistently treat the returned pointer as borrowed memory. Fix this properly by refactoring nfc_llcp_general_bytes() and nfc_get_local_general_bytes() to accept a caller-provided output buffer (out_gb) and its maximum length (gb_max_len). The general bytes are safely copied into out_gb before calling nfc_llcp_local_put(local), ensuring safe lifetime management without ownership transfer complications. Update all callers across drivers (microread, pn533, pn544, st21nfca, digital_dep, and nci) to provide their own destination buffers and pass them to nfc_get_local_general_bytes().
CVE-2026-98482
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: drop truncated I/RR/RNR PDUs in nfc_llcp_recv_hdlc() nfc_llcp_recv_hdlc() reads the sequence byte skb->data[2], via nfc_llcp_ns()/nfc_llcp_nr(), before any length check. The receive path only guarantees the two-byte LLCP header -- __nfc_llcp_recv() checks it with pskb_may_pull() and nfc_llcp_recv_agf() admits two-byte inner PDUs -- so a two-byte I, RR or RNR PDU reads one byte of uninitialised skb tailroom. The byte becomes N(R)/N(S); a peer can already set those with a well-formed PDU, so this is acting on uninitialised memory, not new peer control. Guard the read with pskb_may_pull(), as commit 95674f506c63 ("nfc: llcp: reject PDUs shorter than the LLCP header") did for the two-byte header, so the sequence byte is present and linear before it is read. RR and RNR PDUs are LLCP_HEADER_SIZE + LLCP_SEQUENCE_SIZE bytes and an I PDU is longer, so no valid frame is rejected; a truncated PDU is malformed, so return without a DM reply.
CVE-2026-98481
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: nfc: port100: reject frames whose declared length exceeds the received data port100_recv_response() passes the URB transfer buffer to port100_rx_frame_is_valid(), which checksums le16_to_cpu(frame->datalen) bytes of frame->data. datalen is a 16-bit field supplied by the device and is never checked against the number of bytes actually received (urb->actual_length), so a device reporting a datalen larger than the received frame makes port100_data_checksum() read out of bounds past the transfer buffer. Reject a response whose declared frame size does not fit the received length before validating it. Found by 0sec (https://0sec.ai) using automated source analysis; the missing bound is evident from source. Compile-tested.
CVE-2026-98480
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: nfc: trf7970a: power down on startup RX gain failure trf7970a_startup() powers up the device before applying the optional RX gain reduction. If the register read or write fails, it returns without undoing that power-up. Probe's unwind only drops the separate regulator references acquired by probe, leaving the additional VIN enable from startup unbalanced. The system resume caller also has no power-down on this error. Call trf7970a_power_down() before returning the RX gain error to deassert the enable GPIOs, release the startup VIN reference and restore the powered-off state. Runtime PM has not been enabled yet, so the full shutdown helper is not appropriate here. Preserve the original SPI error. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
CVE-2026-98479
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: scsi: libiscsi_tcp: Data-In PDU의 데이터 방향 확인 iscsi_tcp_hdr_dissect()의 Data-In 분기에서 ITT를 작업으로 해석하고 PDU의 데이터 세그먼트를 해당 명령의 scatterlist에 복사하는데, 명령이 읽기 작업인지 묻지 않는다. 같은 파일의 iscsi_tcp_r2t_rsp()는 묻고, DMA_TO_DEVICE가 아닌 명령에 대한 R2T를 거부한다. 따라서 WRITE 명령의 ITT에 Data-In으로 응답하는 타겟은 이니시에이터가 타겟이 제공한 바이트를 쓰려던 페이지에 쓰게 된다. 이는 O_DIRECT 쓰기의 경우 호출자의 고정된 페이지이며, 버퍼드 쓰기의 경우 페이지 캐시 페이지이다. 128KB 쓰기의 ITT를 명명하는 512바이트 Data-In을 방출하는 테스트 타겟에서 관찰되었으며, 해당 쓰기에 대한 R2T 이후 발생한다. O_DIRECT에서는 호출자의 버퍼가 타겟 데이터 512바이트를 보유하며 pwrite()는 131072를 반환한다. 버퍼드는 조용하며 pwrite()와 fsync()가 모두 성공하고 로그가 없으며, 해당 블록을 다시 읽으면 명령 없이 페이지 캐시에서 타겟 바이트를 반환한다. scatterlist를 사용하기 전에 방향을 확인하도록 수정했으며, 이는 R2T 경로가 이미 수행하는 방식이다.
CVE-2026-98478
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Keep internal commands dispatchable during error handling Commit 08b12cda6c44 ("scsi: ufs: core: Switch to scsi_get_internal_cmd()") switched UFS internal commands to allocate requests on hba->host->pseudo_sdev->request_queue, which shares the host tagset with regular LUNs. During error recovery, ufshcd_err_handling_prepare() calls blk_mq_quiesce_tagset(&hba->host->tag_set), marking all queues in the tagset as quiesced, including pseudo_sdev->request_queue. When ufshcd_verify_dev_init() subsequently issues internal commands (e.g. NOP OUT UPIU) via blk_execute_rq(), blk_mq_run_hw_queue() skips running the quiesced queue, resulting in an unrecoverable circular wait deadlock. Keep quiescing the tagset and unquiesce the pseudo SCSI device on top of that, so internal commands stay dispatchable while the logical units remain quiesced. Re-quiesce the pseudo device before unquiescing the tagset so that quiesce_depth stays balanced. Clock scaling and ufshcd_pause_command_processing() are unaffected: they keep quiescing the whole tagset, internal commands included.
CVE-2026-98477
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix NULL pmu_ctx passed to pmu->sched_task() perf_pmu_sched_task() returns early when cpuctx->task_ctx is set, and cpc->task_epc is only non-NULL while a task context is scheduled in on this CPU. __perf_pmu_sched_task() therefore always passes NULL: Unable to handle kernel NULL pointer dereference at virtual address 00 pc : armv8pmu_sched_task+0x14/0x50 Call trace: armv8pmu_sched_task+0x14/0x50 (P) perf_pmu_sched_task+0xac/0x108 __perf_event_task_sched_out+0x6c/0xe0 Pass &cpc->epc instead, the CPU-wide context for this PMU, which the function already dereferences a few lines up to find pmu. armv8pmu_sched_task() is the only in-tree implementation that dereferences the argument, and it only reads ->pmu, so the oops needs BRBE, added in v6.17.
CVE-2026-98476
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: s390/cio: Fix NULL pointer dereference in ccw_device_get_util_str() The channel path registry entry associated with a CHPID may be removed while the subchannel's PMCW still references that CHPID. In this case, chpid_to_chp() can return NULL, leading to a NULL pointer dereference. Add the missing NULL check before dereferencing the returned pointer.
CVE-2026-98475
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: s390/cmf: Fix virtual vs physical address confusion The measurement block address is an absolute address. Define the associated schib_config and schib fields as dma64_t to enable automatic detection of incorrect assignments. Also add the missing virt_to_dma64() translation. Without this fix, a wrong address will be used by firmware when storing extended format channel measurement data on kernels built with CONFIG_RANDOMIZE_IDENTITY_BASE=y.
CVE-2026-98474
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix missing device lock in zpci_report_status() When pdev is non-NULL, zpci_report_status() accesses the device's driver. To get a consistent state matching the recovery, the device lock needs to be held. Do so by expanding the existing device lock critical section. The lock only needs to be held when the pdev is non-NULL, so extract the pdev-specific reporting into a helper function which also adds a lockdep assertion to detect calls without the device lock held.
CVE-2026-98473
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: fix KVM GISC and page leak when queue removed from host config Three related problems exist in the handling of KVM interrupt and page resources when a queue is removed from the host's AP configuration while assigned to a mediated device (mdev). Problem 1: ~~~~~~~~~ AP_RESPONSE_Q_NOT_AVAIL not handled in vfio_ap_mdev_reset_queue() When the AP bus removes a queue device whose adapter or domain has been removed from the host's AP configuration, vfio_ap_mdev_remove_queue() is called. If the queue is still in the host's AP configuration at that point, it calls vfio_ap_mdev_reset_queue(), which issues a PQAP(ZAPQ). Since the adapter is already gone from the host configuration, ap_zapq() returns AP_RESPONSE_Q_NOT_AVAIL (0x01). This response code is not handled in vfio_ap_mdev_reset_queue()'s switch statement and falls through to the default case, which issues a WARN but does not call vfio_ap_free_aqic_resources(). As a result, if IRQ handling was enabled for the queue by the guest, the KVM GISC registration and the pinned guest page holding the notification indicator byte (NIB) are both leaked. This is fixed by adding AP_RESPONSE_Q_NOT_AVAIL to the same case as AP_RESPONSE_DECONFIGURED and AP_RESPONSE_CHECKSTOPPED in vfio_ap_mdev_reset_queue(). Like those response codes, Q_NOT_AVAIL indicates the queue is not operational and no further reset attempts are possible; the correct action is to free the IRQ resources immediately. Problem 2: ~~~~~~~~~ AP_RESPONSE_Q_NOT_AVAIL not handled in apq_status_check() In vfio_ap_mdev_reset_queue(), there are four cases that indicate a queue reset has not yet completed, in which case apq_reset_check() is queued to a work queue to verify completion of the reset operation. This function uses the PQAP(TAPQ) function to get the queue's status and calls apq_status_check() to verify whether the reset has completed, failed or needs to be executed again. As described in Problem #1 above, apq_reset_check() does not specifically check for AP_RESPONSE_Q_NOT_AVAIL, thereby potentially leaking KVM GISC registration and the pinned guest page holding the NIB. This is fixed by adding a case statement for AP_RESPONSE_Q_NOT_AVAIL to apq_status_check() and returning -ENODEV for that case. The caller, apq_reset_check() will then check for this return code and call vfio_ap_free_aqic_resources() to prevent the leak. Problem 3: ~~~~~~~~~ vfio_ap_free_aqic_resources() leaks saved_isc when kvm is NULL vfio_ap_free_aqic_resources() guards the call to kvm_s390_gisc_unregister() with: if (q->saved_isc != VFIO_AP_ISC_INVALID && !WARN_ON(!(q->matrix_mdev && q->matrix_mdev->kvm))) If matrix_mdev->kvm is NULL -- which can happen when vfio_ap_mdev_unset_kvm() has already run and cleared kvm before a subsequent cleanup path reaches this function -- the WARN_ON fires and the entire block is skipped. This leaves q->saved_isc set to a non-invalid value, creating a potential double-free on any subsequent call to this function. When kvm is NULL the KVM guest is already torn down, so kvm_s390_gisc_unregister() need not and cannot be called; however, q->saved_isc must always be cleared. Fix this by separating the kvm_s390_gisc_unregister() call from the q->saved_isc reset. The WARN_ON now guards only the genuinely impossible case of matrix_mdev being NULL. A NULL kvm is handled gracefully by skipping only the unregister call, and q->saved_isc = VFIO_AP_ISC_INVALID is set unconditionally whenever saved_isc was not already invalid. Additionally, add an else clause to the host-config check in vfio_ap_mdev_remove_queue() to call vfio_ap_free_aqic_resources() directly when the queue is not in the host's AP configuration. This serves as a backstop: when the AP bus fires the driver .remove callback after an adapter is removed from the host config, the queue is by definition no longer addressable, so vfio_ap_mdev_reset_queue ---truncated---
CVE-2026-98472
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV Unconditionally free SEV's "have run CPUs" cpumask in the VM destroy path, i.e. even for what appear to be non-SEV VMs, as an SEV VM becomes a non-SEV VM if its state is intra-host migrated. Alternatively, the mask could be freed in sev_migrate_from() when "converting" the source VM, but that gets annoying because ideally KVM would nullify the mask to guard against UAF, and nullifying the mask would need be conditioned on CPUMASK_OFFSTACK=y. Freeing the mask during sev_migrate_from() is also not robust against other KVM bugs, though that's kind of a moot point since any such bugs would show up even if sev->active is never set. I.e. KVM must get that side of things correct. But, that's not a great reason to add more code just to make things marginally less robust.
CVE-2026-98471
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: KVM: SEV: 호스트 내 마이그레이션 중 소스 VM에서 캐시 유지 관리를 수행 호스트 내 마이그레이션 중 소스 VM에서 수동으로 캐시 유지 관리를 수행하여 VM이 파괴된 후 CPU 캐시에 오래된 데이터가 남지 않도록 한다. 소스 VM이 "비-SEV VM"으로 "변환"되기 때문에, KVM의 메모리 회수 흐름은 캐시 유지 관리를 트리거하지 않는다. 예를 들어, mmu_notifier에서 분리될 때 모든 게스트 메모리가 회수되는 경우가 그렇다. 목적지 VM에 캐시 유지 관리를 의존하는 것은 옵션이 아니다. KVM은 동일한 게스트 메모리 구성을 요구하지 않기 때문이다. 즉, 소스 VM은 목적지 VM이 접근하지 못하는 메모리에 접근할 수 있다. 동등한 메모리 구성을 강제하는 것은 불가능하다. 이는 memslot이 동일한지뿐만 아니라 memslot이 가리키는 내용까지도 *깊게* 비교해야 하기 때문이다.
CVE-2026-98470
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode kvm_pkvm_ioctl_allowed() WARNs when kvm_get_cap_for_kvm_ioctl() doesn't find the ioctl number in vm_ioctl_caps[], and kvm_arch_vm_ioctl() calls it for every number the generic code doesn't handle, so ioctl(vm_fd, 0xdeadbeef) from userspace taints a pKVM host and panics it under panic_on_warn. The lookup is fed userspace input: return false, and userspace gets the -EINVAL kvm_arch_vm_ioctl() returns for that number on a host without pKVM.
CVE-2026-98469
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: KVM: arm64: AArch32 DBGBXVR<n> 처리 수정 중단점과 감시점 레지스터 접근자의 통합으로 인해 DBGBXVR<n>가 trap_bvr()에서 trap_dbg_wb_reg()로 전환되었다. 후자는 demux_wb_reg()를 사용하여 백업 저장소를 선택하는데, 이는 Op2 값 4에서 7까지만 처리한다. DBGBXVR<n>는 Op2 1을 사용하므로 AArch32 게스트 접근 시 KVM_BUG_ON()이 발생하고 VM이 종료된다. DBGBXVR<n>는 DBGBVR<n>_EL1[63:32]와 별칭이며, AA32(HI) 디스크립터는 이미 상위 절반을 선택한다. Op2 1을 Op2 4와 함께 dbg_bvr[]에 매핑하여 이전 동작을 복원한다.
CVE-2026-98468
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix spurious warning for benign stage 2 teardown race kvmtool was used to establish an L1 guest with 8 CPUs and 8 GiB of RAM, an L2 guest with 4 CPUs and 4 GiB of RAM and an L3 guest with 2 CPUs and 2 GiB of RAM, all of which was then exited. Under memory pressure in the L0 host warnings were observed due to migration triggered by compaction: WARNING: arch/arm64/kvm/mmu.c:336 at __unmap_stage2_range+0x64/0x80, CPU#5: kcompactd0/66 Which was, in turn, triggered by an MMU notifier for the host invalidation: mmu_notifier_invalidate_range_start() -> ... -> kvm_mmu_notifier_invalidate_range_start() -> kvm_mmu_unmap_gfn_range() -> kvm_unmap_gfn_range() -> kvm_nested_s2_unmap() -> kvm_stage2_unmap_range() -> __unmap_stage2_range() -> stage2_apply_range() <- -EINVAL, triggering a WARN_ON() Racing with L0's teardown of stage 2 page tables: exit_mm() -> mmput() -> __mmput() -> exit_mmap() -> mmu_notifier_release() -> ... -> kvm_mmu_notifier_release() -> kvm_flush_shadow_all() -> kvm_arch_flush_shadow_all() -> kvm_free_stage2_pgd() -> [ acquire kvm->mmu_lock for write ] -> mmu->pgt = NULL [ among other tasks ] -> [ release kvm->mmu_lock for write ] It turns out there is a benign race resulting in a spurious warning: Thread A - notify: migration | Thread B - notify: release -------------------------------|--------------------------------- < kvm->mmu_lock held > | stage2_apply_range() | get mmu->pgt, check !NULL | ... | kvm_arch_flush_shadow_all() cond_resched_rwlock_write(); | < contend, sleep kvm->mmu_lock > < drop kvm->mmu_lock > | < acquire kvm->mmu_lock> | ... | kvm_free_stage2_pgd() | mmu->pgt = NULL | < invalidate MMU > | ... | < release kvm->mmu_lock > [ scheduled ] | stage2_apply_range() | < loop to next > | get, mmu->pgt, check !NULL | is NULL, return -EINVAL | __unmap_stage2_range() | WARN_ON(-EINVAL) <--- entirely spurious - the race was handled correctly. Fix the spurious warning by updating stage2_apply_range() to no longer treat concurrent PGT teardown on lock release as an error - whether the walker is tearing down page tables or doing something else this is a legitimate reason to abort the operation without error. This keeps the warning in place for all other circumstances. In practice only __unmap_stage2_range() actually does anything with the error so this only impacts that.