Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2021-47465
linux linux kernel

Puan5.5 Orta
CVSS 3.1
İstismar olasılığı (EPSS)0.33%
önümüzdeki 30 gün içinde
KategoriHizmet engelleme (DoS)
Yayımlanma22 Mayıs 2024
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık cihaza yerel erişimle, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

In the Linux kernel, the following vulnerability has been resolved: KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest() In commit 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C") kvm_start_guest() became idle_kvm_start_guest(). The old code allocated a stack frame on the emergency stack, but didn't use the frame to store anything, and also didn't store anything in its caller's frame. idle_kvm_start_guest() on the other hand is written more like a normal C function, it creates a frame on entry, and also stores CR/LR into its callers frame (per the ABI). The problem is that there is no caller frame on the emergency stack. The emergency stack for a given CPU is allocated with: paca_ptrs[i]->emergency_sp = alloc_stack(limit, i) + THREAD_SIZE; So emergency_sp actually points to the first address above the emergency stack allocation for a given CPU, we must not store above it without first decrementing it to create a frame. This is different to the regular kernel stack, paca->kstack, which is initialised to point at an initial frame that is ready to use. idle_kvm_start_guest() stores the backchain, CR and LR all of which write outside the allocation for the emergency stack. It then creates a stack frame and saves the non-volatile registers. Unfortunately the frame it creates is not large enough to fit the non-volatiles, and so the saving of the non-volatile registers also writes outside the emergency stack allocation. The end result is that we corrupt whatever is at 0-24 bytes, and 112-248 bytes above the emergency stack allocation. In practice this has gone unnoticed because the memory immediately above the emergency stack happens to be used for other stack allocations, either another CPUs mc_emergency_sp or an IRQ stack. See the order of calls to irqstack_early_init() and emergency_stack_init(). The low addresses of another stack are the top of that stack, and so are only used if that stack is under extreme pressue, which essentially never happens in practice - and if it did there's a high likelyhood we'd crash due to that stack overflowing. Still, we shouldn't be corrupting someone else's stack, and it is purely luck that we aren't corrupting something else. To fix it we save CR/LR into the caller's frame using the existing r1 on entry, we then create a SWITCH_FRAME_SIZE frame (which has space for pt_regs) on the emergency stack with the backchain pointing to the existing stack, and then finally we switch to the new frame on the emergency stack.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Açık türü: CWE-674

Etkilenen ürünler

ÜreticiÜrünSürümler
linuxlinux kernel>=5.2 <5.4.156
linuxlinux kernel>=5.5 <5.10.76
linuxlinux kernel>=5.11 <5.14.15
linuxlinux kernel5.15

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-133641 Puanlanmadı
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-133640 Puanlanmadı
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. The fix released for CVE-2026-104712 in Struts 6.12.0 and 7.4.0 does not cover all affected values. When a request parameter is bound to…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-127170 Yüksek 8.7
    The affected products contain a memory leak in the packet processing of the network stack. An unauthenticated remote attacker can send specially crafted UDP packets to exhaust available packet buffers. Successful…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-127169 Yüksek 8.7
    The affected products do not properly handle certain return values generated during TCP connection processing. An unauthenticated remote attacker can send specially crafted TCP connection requests that cause the…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-138364 Orta 5.5
    A vulnerability has been found in Open5GS up to 2.8.0. The impacted element is the function pcf_sess_add of the file src/pcf/context.c of the component PCF. Such manipulation of the argument pduSessionId leads to…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-138363 Orta 5.5
    A flaw has been found in Open5GS 2.8.0. The affected element is the function pcf_metrics_inst_by_slice_add of the file src/pcf/metrics.c of the component PCF. This manipulation of the argument allowedSnssais causes…
    Hizmet engelleme (DoS) · 30 Kasım 2026