Database/Kernel, userspace & hypervisor

KVM PPC Book3S HV: use-after-free on nested guest struct during all-LPID tlbie emulation
Impact
kvmhv_emulate_tlbie_all_lpid() iterates the nested-guest IDR and drops mmu_lock without taking a reference on the kvm_nested_guest pointer. A concurrent vCPU issuing a single-LPID tlbie can race the guest through kvmhv_remove_nested() to kfree(gp), leaving the iterating vCPU with a dangling pointer that it then locks and dereferences. The commit message states the free path is fully L1-controlled, so a nested-virtualization guest can drive the race from inside the VM against host kernel memory - the strongest class of guest-to-host escape primitive. Confined to POWER Book3S HV hosts running nested guests.
Who can reach it
An L1 guest on a powerpc KVM HV host, running nested virtualization, issuing tlbie instructions. Requires only guest-level code execution - no host authentication.
What to do
Apply the stable fix that takes gp->refcnt before dropping mmu_lock and releases it with kvmhv_put_nested(). Kernel update and host reboot: evacuate or shut down guests on the node. Where nested virtualization is not needed on POWER hosts, disabling it removes the exposure. No CVSS score or vendor advisory in the record.
References
Related entries
- Xen netfront: backend-supplied short RX slot triggers BUG() in eth_type_trans or an over-readCVE-2026-98375 · Linux kernel xen-netfront (RX slot shorter than ETH_HLEN)Unscored
- Linux kernel bpf: percpu array inner map can be swapped for a smaller one, giving out-of-bounds accessCVE-2026-98376 · Linux kernel BPF percpu array map (inner map replacement in map-of-maps)Unscored
- Linux BPF: link iterator takes a reference to an unsettled link, leading to use-after-freeCVE-2026-98378 · Linux kernel BPF link iterator (bpf_link_get_curr_or_next, unsettled links)Unscored
- Linux BPF: dev-bound-only program can attach to a sibling netdev and run driver-specific kfuncsCVE-2026-98382 · Linux kernel BPF offload matching (__bpf_offload_dev_match, dev-bound programs)Unscored
- Linux BPF: LWT_SEG6LOCAL program can leave a dangling SRH pointer via bpf_skb_pull_data()CVE-2026-98383 · Linux kernel BPF LWT_SEG6LOCAL (bpf_skb_pull_data with cached SRH)Unscored
- Linux BPF: bpf_sock_destroy() reads sk_protocol out of bounds on timewait and request socketsCVE-2026-98384 · Linux kernel bpf_sock_destroy() (sk_protocol read on timewait/request socks)Unscored
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.