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-47209
linux linux kernel

Puan5.5 Orta
CVSS 3.1
İstismar olasılığı (EPSS)0.29%
önümüzdeki 30 gün içinde
KategoriBellek bozulması
Yayımlanma10 Nisan 2024
Son güncelleme: 4 Ağustos 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.

Açık türü: Serbest bırakılan belleğin kullanımı (use-after-free).

✨ 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: sched/fair: Prevent dead task groups from regaining cfs_rq's Kevin is reporting crashes which point to a use-after-free of a cfs_rq in update_blocked_averages(). Initial debugging revealed that we've live cfs_rq's (on_list=1) in an about to be kfree()'d task group in free_fair_sched_group(). However, it was unclear how that can happen. His kernel config happened to lead to a layout of struct sched_entity that put the 'my_q' member directly into the middle of the object which makes it incidentally overlap with SLUB's freelist pointer. That, in combination with SLAB_FREELIST_HARDENED's freelist pointer mangling, leads to a reliable access violation in form of a #GP which made the UAF fail fast. Michal seems to have run into the same issue[1]. He already correctly diagnosed that commit a7b359fc6a37 ("sched/fair: Correctly insert cfs_rq's to list on unthrottle") is causing the preconditions for the UAF to happen by re-adding cfs_rq's also to task groups that have no more running tasks, i.e. also to dead ones. His analysis, however, misses the real root cause and it cannot be seen from the crash backtrace only, as the real offender is tg_unthrottle_up() getting called via sched_cfs_period_timer() via the timer interrupt at an inconvenient time. When unregister_fair_sched_group() unlinks all cfs_rq's from the dying task group, it doesn't protect itself from getting interrupted. If the timer interrupt triggers while we iterate over all CPUs or after unregister_fair_sched_group() has finished but prior to unlinking the task group, sched_cfs_period_timer() will execute and walk the list of task groups, trying to unthrottle cfs_rq's, i.e. re-add them to the dying task group. These will later -- in free_fair_sched_group() -- be kfree()'ed while still being linked, leading to the fireworks Kevin and Michal are seeing. To fix this race, ensure the dying task group gets unlinked first. However, simply switching the order of unregistering and unlinking the task group isn't sufficient, as concurrent RCU walkers might still see it, as can be seen below: CPU1: CPU2: : timer IRQ: : do_sched_cfs_period_timer(): : : : distribute_cfs_runtime(): : rcu_read_lock(); : : : unthrottle_cfs_rq(): sched_offline_group(): : : walk_tg_tree_from(…,tg_unthrottle_up,…): list_del_rcu(&tg->list); : (1) : list_for_each_entry_rcu(child, &parent->children, siblings) : : (2) list_del_rcu(&tg->siblings); : : tg_unthrottle_up(): unregister_fair_sched_group(): struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; : : list_del_leaf_cfs_rq(tg->cfs_rq[cpu]); : : : : if (!cfs_rq_is_decayed(cfs_rq) || cfs_rq->nr_running) (3) : list_add_leaf_cfs_rq(cfs_rq); : : : : : : : : : ---truncated---

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-416 – Serbest bırakılan belleğin kullanımı (use-after-free)

Etkilenen ürünler

ÜreticiÜrünSürümler
linuxlinux kernel>=5.13 <5.15.5

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-119225 Yüksek 8.7
    A NULL pointer dereference in the binary command protocol handler of Reprise Software Reprise License Manager allows an unauthenticated remote attacker to cause a denial of service via a crafted network request. A…
    Bellek bozulması · 30 Kasım 2026
  • CVE-2026-119224 Kritik 9.2
    A stack-based buffer overflow in the embedded web server of Reprise Software Reprise License Manager, allows an unauthenticated remote attacker to cause denial of service and potentially execute code via an oversized…
    Bellek bozulması · 30 Kasım 2026
  • CVE-2026-138781 Yüksek 7.8
    A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow…
    Bellek bozulması · 30 Kasım 2026
  • CVE-2026-138700 Yüksek 7.5
    A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to…
    Bellek bozulması · 30 Kasım 2026
  • CVE-2025-6622 Düşük 1.8
    Improper Validation of Specified Quantity in Input vulnerability in ABB KNXnet/IP Interface IPS/S3.1.1. This issue affects KNXnet/IP Interface IPS/S3.1.1: through 1.0.494.
    Bellek bozulması · 30 Kasım 2026
  • CVE-2025-59850 Düşük 1.6
    HCL CAMWorks is affected by an Insecure Binary Compilation vulnerability where an attacker could potentially reverse engineer the binary and leak information or tamper with the code.
    Bellek bozulması · 30 Kasım 2026