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

nvme: fix SRCU protection of nvme_ns_head list

In the Linux kernel, the following vulnerability has been resolved: nvme: fix SRCU protection of nvme_ns_head list Walking the nvme_ns_head siblings list is protected by the head's srcu in nvme_ns_head_submit_bio() but not nvme_mpath_revalidate_paths(). Removing namespaces from the list also fails to synchronize the srcu. Concurrent scan work can therefore cause use-after-frees. Hold the head's srcu lock in nvme_mpath_revalidate_paths() and synchronize with the srcu, not the global RCU, in nvme_ns_remove(). Observed the following panic when making NVMe/RDMA connections with native multipath on the Rocky Linux 8.6 kernel (it seems the upstream kernel has the same race condition). Disassembly shows the faulting instruction is cmp 0x50(%rdx),%rcx; computing capacity != get_capacity(ns->disk). Address 0x50 is dereferenced because ns->disk is NULL. The NULL disk appears to be the result of concurrent scan work freeing the namespace (note the log line in the middle of the panic). [37314.206036] BUG: unable to handle kernel NULL pointer dereference at 0000000000000050 [37314.206036] nvme0n3: detected capacity change from 0 to 11811160064 [37314.299753] PGD 0 P4D 0 [37314.299756] Oops: 0000 [#1] SMP PTI [37314.299759] CPU: 29 PID: 322046 Comm: kworker/u98:3 Kdump: loaded Tainted: G W X --------- - - 4.18.0-372.32.1.el8test86.x86_64 #1 [37314.299762] Hardware name: Dell Inc. PowerEdge R720/0JP31P, BIOS 2.7.0 05/23/2018 [37314.299763] Workqueue: nvme-wq nvme_scan_work [nvme_core] [37314.299783] RIP: 0010:nvme_mpath_revalidate_paths+0x26/0xb0 [nvme_core] [37314.299790] Code: 1f 44 00 00 66 66 66 66 90 55 53 48 8b 5f 50 48 8b 83 c8 c9 00 00 48 8b 13 48 8b 48 50 48 39 d3 74 20 48 8d 42 d0 48 8b 50 20 <48> 3b 4a 50 74 05 f0 80 60 70 ef 48 8b 50 30 48 8d 42 d0 48 39 d3 [37315.058803] RSP: 0018:ffffabe28f913d10 EFLAGS: 00010202 [37315.121316] RAX: ffff927a077da800 RBX: ffff92991dd70000 RCX: 0000000001600000 [37315.206704] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff92991b719800 [37315.292106] RBP: ffff929a6b70c000 R08: 000000010234cd4a R09: c0000000ffff7fff [37315.377501] R10: 0000000000000001 R11: ffffabe28f913a30 R12: 0000000000000000 [37315.462889] R13: ffff92992716600c R14: ffff929964e6e030 R15: ffff92991dd70000 [37315.548286] FS: 0000000000000000(0000) GS:ffff92b87fb80000(0000) knlGS:0000000000000000 [37315.645111] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [37315.713871] CR2: 0000000000000050 CR3: 0000002208810006 CR4: 00000000000606e0 [37315.799267] Call Trace: [37315.828515] nvme_update_ns_info+0x1ac/0x250 [nvme_core] [37315.892075] nvme_validate_or_alloc_ns+0x2ff/0xa00 [nvme_core] [37315.961871] ? __blk_mq_free_request+0x6b/0x90 [37316.015021] nvme_scan_work+0x151/0x240 [nvme_core] [37316.073371] process_one_work+0x1a7/0x360 [37316.121318] ? create_worker+0x1a0/0x1a0 [37316.168227] worker_thread+0x30/0x390 [37316.212024] ? create_worker+0x1a0/0x1a0 [37316.258939] kthread+0x10a/0x120 [37316.297557] ? set_kthread_struct+0x50/0x50 [37316.347590] ret_from_fork+0x35/0x40 [37316.390360] Modules linked in: nvme_rdma nvme_tcp(X) nvme_fabrics nvme_core netconsole iscsi_tcp libiscsi_tcp dm_queue_length dm_service_time nf_conntrack_netlink br_netfilter bridge stp llc overlay nft_chain_nat ipt_MASQUERADE nf_nat xt_addrtype xt_CT nft_counter xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_comment xt_multiport nft_compat nf_tables libcrc32c nfnetlink dm_multipath tg3 rpcrdma sunrpc rdma_ucm ib_srpt ib_isert iscsi_target_mod target_core_mod ib_iser libiscsi scsi_transport_iscsi ib_umad rdma_cm ib_ipoib iw_cm ib_cm intel_rapl_msr iTCO_wdt iTCO_vendor_support dcdbas intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ipmi_ssif kvm irqbypass crct10dif_pclmul crc32_pclmul mlx5_ib ghash_clmulni_intel ib_uverbs rapl intel_cstate intel_uncore ib_core ipmi_si joydev mei_me pcspkr ipmi_devintf mei lpc_ich wmi ipmi_msghandler acpi_power_meter ex ---truncated---

OrtaCVSS 4.7 · v3.1—İstismar yok Düzeltme var
Yayın
21 Eki 2024
Güncelleme
5 Ağu 2026
EPSS
%0,6 · 48. 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

18

İzleyin

Şimdilik düşük öncelik.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,6

CISA SSVC kararı

Sömürü
yok
Otomatikleştirilebilir
hayır
Teknik etki
kısmi

Vulnrichment: CISA'nın karar ağacı girdileri.

CNA ile NVD puanı

NVD
4,7
CNA · Linux
9,8
5,1 puan fark

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

Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.

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.15 ve sonrası · 5.15.82 öncesi
  • linux linux kernel5.16 ve sonrası · 6.0.12 öncesi
  • linux linux kernel6.1

Ü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.15etkilenir
    • e7d65803e2bb5bc739548b67a5fc72c626cf7e3b ve sonrası · 787d81d4eb150e443e5d1276c6e8f03cfecc2302 öncesietkilenir · git
    • e7d65803e2bb5bc739548b67a5fc72c626cf7e3b ve sonrası · 5b566d09ab1b975566a53f9c5466ee260d087582 öncesietkilenir · git
    • e7d65803e2bb5bc739548b67a5fc72c626cf7e3b ve sonrası · 899d2a05dc14733cfba6224083c6b0dd5a738590 öncesietkilenir · git
    • 5.15 öncesietkilenmez · semver
    • 5.15.82 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
    • 6.0.12 ve sonrası · 6.0.* dahil öncesietkilenmez · semver
    • 6.1 ve sonrasıetkilenmez · original_commit_for_fix

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.12-1 öncesi6.0.12-1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-default-base5.3.18-150200.24.209.1.150200.9.109.1 öncesi5.3.18-150200.24.209.1.150200.9.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-docs5.3.18-150200.24.209.2 öncesi5.3.18-150200.24.209.2
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-obs-build5.3.18-150200.24.209.1 öncesi5.3.18-150200.24.209.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-preempt5.3.18-150200.24.209.1 öncesi5.3.18-150200.24.209.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-source5.3.18-150200.24.209.1 öncesi5.3.18-150200.24.209.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-syms5.3.18-150200.24.209.1 öncesi5.3.18-150200.24.209.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-default-base5.3.18-150300.59.182.1.150300.18.107.1 öncesi5.3.18-150300.59.182.1.150300.18.107.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-docs5.3.18-150300.59.182.2 öncesi5.3.18-150300.59.182.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-obs-build5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-preempt5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-source5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-syms5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.209.1 öncesi5.3.18-150200.24.209.1
SUSE:Linux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_541-150200.5.3.1 öncesi1-150200.5.3.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-default5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_501-150300.7.3.1 öncesi1-150300.7.3.1
SUSE:Linux Enterprise Micro 5.1kernel-rt5.3.18-150300.191.1 öncesi5.3.18-150300.191.1
SUSE:Linux Enterprise Micro 5.1kernel-source-rt5.3.18-150300.191.1 öncesi5.3.18-150300.191.1
SUSE:Linux Enterprise Server 15 SP3-LTSSkernel-zfcpdump5.3.18-150300.59.182.1 öncesi5.3.18-150300.59.182.1

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 Linux5b566d09ab1b975566a53f9c5466ee260d087582Üretici (CNA)
Linux Linux787d81d4eb150e443e5d1276c6e8f03cfecc2302Üretici (CNA)
Linux Linux899d2a05dc14733cfba6224083c6b0dd5a738590Üretici (CNA)
debian:linux6.0.12-1 · Debian:12Paket deposu (OSV)
suse:kernel-64kb5.3.18-150300.59.182.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-default5.3.18-150200.24.209.1 · SUSE:Linux Enterprise Live Patching 15 SP2Paket deposu (OSV)
suse:kernel-default-base5.3.18-150200.24.209.1.150200.9.109.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-docs5.3.18-150200.24.209.2 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-livepatch-SLE15-SP2_Update_541-150200.5.3.1 · SUSE:Linux Enterprise Live Patching 15 SP2Paket deposu (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_501-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-obs-build5.3.18-150200.24.209.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-preempt5.3.18-150200.24.209.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-rt5.3.18-150300.191.1 · SUSE:Linux Enterprise Micro 5.1Paket deposu (OSV)
suse:kernel-source5.3.18-150200.24.209.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-source-rt5.3.18-150300.191.1 · SUSE:Linux Enterprise Micro 5.1Paket deposu (OSV)
suse:kernel-syms5.3.18-150200.24.209.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket 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.
  • Zamanlama ya da yapılandırma gibi özel koşullar gerekir.

Başarılı olursa

Gizlilik
yok
Bütünlük
yok
Erişilebilirlik
yüksek · hizmet durdurulabilir
Saldırı vektörü
Yerel
Karmaşıklık
Yüksek
Gereken yetki
Düşük
Kullanıcı etkileşimi
Gerekmez
Kapsam
Değişmez
Gizlilik etkisi
Yok
Bütünlük etkisi
Yok
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:H/PR:L/UI:N/S:U/C:N/I:N/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.

Noroxi analizi

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

385 binden fazla 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

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