İçeriğe atla
Noroxi
CVE-2022-50214· NVD / CVE Programı· CNA Linux

coresight: Clear the connection field properly

In the Linux kernel, the following vulnerability has been resolved: coresight: Clear the connection field properly coresight devices track their connections (output connections) and hold a reference to the fwnode. When a device goes away, we walk through the devices on the coresight bus and make sure that the references are dropped. This happens both ways: a) For all output connections from the device, drop the reference to the target device via coresight_release_platform_data() b) Iterate over all the devices on the coresight bus and drop the reference to fwnode if *this* device is the target of the output connection, via coresight_remove_conns()->coresight_remove_match(). However, the coresight_remove_match() doesn't clear the fwnode field, after dropping the reference, this causes use-after-free and additional refcount drops on the fwnode. e.g., if we have two devices, A and B, with a connection, A -> B. If we remove B first, B would clear the reference on B, from A via coresight_remove_match(). But when A is removed, it still has a connection with fwnode still pointing to B. Thus it tries to drops the reference in coresight_release_platform_data(), raising the bells like : [ 91.990153] ------------[ cut here ]------------ [ 91.990163] refcount_t: addition on 0; use-after-free. [ 91.990212] WARNING: CPU: 0 PID: 461 at lib/refcount.c:25 refcount_warn_saturate+0xa0/0x144 [ 91.990260] Modules linked in: coresight_funnel coresight_replicator coresight_etm4x(-) crct10dif_ce coresight ip_tables x_tables ipv6 [last unloaded: coresight_cpu_debug] [ 91.990398] CPU: 0 PID: 461 Comm: rmmod Tainted: G W T 5.19.0-rc2+ #53 [ 91.990418] Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform, BIOS EDK II Feb 1 2019 [ 91.990434] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 91.990454] pc : refcount_warn_saturate+0xa0/0x144 [ 91.990476] lr : refcount_warn_saturate+0xa0/0x144 [ 91.990496] sp : ffff80000c843640 [ 91.990509] x29: ffff80000c843640 x28: ffff800009957c28 x27: ffff80000c8439a8 [ 91.990560] x26: ffff00097eff1990 x25: ffff8000092b6ad8 x24: ffff00097eff19a8 [ 91.990610] x23: ffff80000c8439a8 x22: 0000000000000000 x21: ffff80000c8439c2 [ 91.990659] x20: 0000000000000000 x19: ffff00097eff1a10 x18: ffff80000ab99c40 [ 91.990708] x17: 0000000000000000 x16: 0000000000000000 x15: ffff80000abf6fa0 [ 91.990756] x14: 000000000000001d x13: 0a2e656572662d72 x12: 657466612d657375 [ 91.990805] x11: 203b30206e6f206e x10: 6f69746964646120 x9 : ffff8000081aba28 [ 91.990854] x8 : 206e6f206e6f6974 x7 : 69646461203a745f x6 : 746e756f63666572 [ 91.990903] x5 : ffff00097648ec58 x4 : 0000000000000000 x3 : 0000000000000027 [ 91.990952] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00080260ba00 [ 91.991000] Call trace: [ 91.991012] refcount_warn_saturate+0xa0/0x144 [ 91.991034] kobject_get+0xac/0xb0 [ 91.991055] of_node_get+0x2c/0x40 [ 91.991076] of_fwnode_get+0x40/0x60 [ 91.991094] fwnode_handle_get+0x3c/0x60 [ 91.991116] fwnode_get_nth_parent+0xf4/0x110 [ 91.991137] fwnode_full_name_string+0x48/0xc0 [ 91.991158] device_node_string+0x41c/0x530 [ 91.991178] pointer+0x320/0x3ec [ 91.991198] vsnprintf+0x23c/0x750 [ 91.991217] vprintk_store+0x104/0x4b0 [ 91.991238] vprintk_emit+0x8c/0x360 [ 91.991257] vprintk_default+0x44/0x50 [ 91.991276] vprintk+0xcc/0xf0 [ 91.991295] _printk+0x68/0x90 [ 91.991315] of_node_release+0x13c/0x14c [ 91.991334] kobject_put+0x98/0x114 [ 91.991354] of_node_put+0x24/0x34 [ 91.991372] of_fwnode_put+0x40/0x5c [ 91.991390] fwnode_handle_put+0x38/0x50 [ 91.991411] coresight_release_platform_data+0x74/0xb0 [coresight] [ 91.991472] coresight_unregister+0x64/0xcc [coresight] [ 91.991525] etm4_remove_dev+0x64/0x78 [coresight_etm4x] [ 91.991563] etm4_remove_amba+0x1c/0x2c [coresight_etm4x] [ 91.991598] amba_remove+0x3c/0x19c ---truncated---

YüksekCVSS 7.8 · v3.1—İstismar yok Düzeltme var
Yayın
18 Haz 2025
Güncelleme
17 Haz 2026
EPSS
%0,2 · 12. yüzdelik
Bu CVE’yi takip et

Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.

Rapor araçları

JSON

Aksiyon skoru

31

İzleyin

Şimdilik düşük öncelik.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,2

Noroxi analizi

Bu kayıt için henüz Noroxi analizi yok

Veritabanındaki yüz binlerce zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.

Bu ürünü kullanıyoruz, yardım isteyin

Etkilenen sistemler

ÜreticiÜrün
linuxlinux kernel

Etkilenen sürümler

NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.

  • linux linux kernel5.3 ve sonrası · 5.4.211 öncesi
  • linux linux kernel5.5 ve sonrası · 5.10.137 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.61 öncesi
  • linux linux kernel5.16 ve sonrası · 5.18.18 öncesi
  • linux linux kernel5.19 ve sonrası · 5.19.2 öncesi

Üreticinin bildirdiği sürümler

Kaydı açan otorite (Linux) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.

  • Linux Linux

    • 5.3etkilenir
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · e9205d8dd1cafb7cff689ef9ddf06276a68f54a4 öncesietkilenir · git
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · 847b9273dd61567fb77617eabc5fa002594db062 öncesietkilenir · git
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · b49b29ee113a87997bcca0bb0585bb46582846c1 öncesietkilenir · git
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · d43e967963c4d1b2b49f894d2f1b12865f87b098 öncesietkilenir · git
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · bc57850fcb7e4cb91b6321d0ce83357cefd55c54 öncesietkilenir · git
    • 37ea1ffddffa63c920ce826786fe610c78f57842 ve sonrası · 2af89ebacf299b7fba5f3087d35e8a286ec33706 öncesietkilenir · git
    • 5.3 öncesietkilenmez · semver
    • 5.4.211 ve sonrası · 5.4.* dahil öncesietkilenmez · semver
    • 5.10.137 ve sonrası · 5.10.* dahil öncesietkilenmez · semver

Paket düzeyi etkilenme

OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.

EkosistemPaketEtkilenen aralıkDüzeltme
Debian:12linux6.0.2-1 öncesi6.0.2-1
Red Hat:enterprise_linux:9::appstreamkernel-64k-debug-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-64k-debug-devel0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-64k-debug-devel-matched0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-64k-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-64k-devel0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-64k-devel-matched0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debug-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debug-devel0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debug-devel-matched0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debuginfo-common-aarch640:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debuginfo-common-ppc64le0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debuginfo-common-s390x0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-debuginfo-common-x86_640:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-devel0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-devel-matched0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-doc0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-rt-64k-debug-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-rt-64k-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-rt-debug-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-rt-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-tools-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6
Red Hat:enterprise_linux:9::appstreamkernel-zfcpdump-debuginfo0:5.14.0-570.12.1.el9_6 öncesi0:5.14.0-570.12.1.el9_6

+68

Aynı birincil ürünün en yüksek skorlu diğer kayıtları.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Hemen
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Hemen
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Hemen
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77Bu hafta
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77Bu hafta
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77Bu hafta

Düzeltme

Hangi sürüme geçmeli

Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.

Ürün / paketDüzeltilmiş sürümKaynak
Linux Linux2af89ebacf299b7fba5f3087d35e8a286ec33706Üretici (CNA)
Linux Linux847b9273dd61567fb77617eabc5fa002594db062Üretici (CNA)
Linux Linuxb49b29ee113a87997bcca0bb0585bb46582846c1Üretici (CNA)
Linux Linuxbc57850fcb7e4cb91b6321d0ce83357cefd55c54Üretici (CNA)
Linux Linuxd43e967963c4d1b2b49f894d2f1b12865f87b098Üretici (CNA)
Linux Linuxe9205d8dd1cafb7cff689ef9ddf06276a68f54a4Üretici (CNA)
debian:linux6.0.2-1 · Debian:12Paket deposu (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-64k-devel0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debug-devel0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debuginfo0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)
red hat:kernel-debuginfo-common-ppc64le0:5.14.0-570.12.1.el9_6 · Red Hat:enterprise_linux:9::appstreamPaket deposu (OSV)

İstismar durumu

Bilinen kamuya açık istismar yok

Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.

Araştırma bağlamı

Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.

Zaman çizelgesi

Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.

Yayın dışında tarihli olay yok.

EPSS son 120 gün

FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).

Yama ve commit bağlantıları

Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.

Referanslarda commit ya da PR bağlantısı yok.

CNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.

CNA kaydında kredi yok.

Varyant adayları

Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.

Gece hesaplanan ilişki yok.

Zincir adayları

Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.

—

Bug bounty kapsamı

Bilinen herkese açık program yok.

Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).

Teknik detay

Saldırı koşulları

  • Sisteme yerel erişimi olan biri tetikleyebilir.
  • Düşük yetkili bir hesap yeterli.
  • Kullanıcının bir şey yapması gerekmez.
  • Özel bir koşul gerekmez; tekrarlanabilir.

Başarılı olursa

Gizlilik
yüksek · veriler okunabilir
Bütünlük
yüksek · veri ya da yapılandırma değiştirilebilir
Erişilebilirlik
yüksek · hizmet durdurulabilir
Saldırı vektörü
Yerel
Karmaşıklık
Düşük
Gereken yetki
Düşük
Kullanıcı etkileşimi
Gerekmez
Kapsam
Değişmez
Gizlilik etkisi
Yüksek
Bütünlük etkisi
Yüksek
Erişilebilirlik etkisi
Yüksek

Zayıflık sınıfı (CWE)

CWE-416 · Use After Free

CVSS vektörü

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

nvd-primary

Kök neden

Bir bellek alanı serbest bırakıldıktan sonra ona işaret eden başka bir referans kullanılmaya devam ediyor. Aynı alan o sırada başka bir veri için ayrılmış olabilir.

Hatanın kod karşılığı

CWE-416 sınıfının tamamı

Bu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.

Hatalı

c
free(dev->buf);/* ... başka bir iş parçacığı hâlâ çalışıyor ... */process(dev->buf);

Düzeltilmiş

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Saldırı bağlamı

Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.

Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.

Değişiklik günlüğü

  1. Düzeltme✗ → ✓

Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →

Referanslar

Tüm kayıtlar