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

ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr

In the Linux kernel, the following vulnerability has been resolved: ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr Although ipv6_get_ifaddr walks inet6_addr_lst under the RCU lock, it still means hlist_for_each_entry_rcu can return an item that got removed from the list. The memory itself of such item is not freed thanks to RCU but nothing guarantees the actual content of the memory is sane. In particular, the reference count can be zero. This can happen if ipv6_del_addr is called in parallel. ipv6_del_addr removes the entry from inet6_addr_lst (hlist_del_init_rcu(&ifp->addr_lst)) and drops all references (__in6_ifa_put(ifp) + in6_ifa_put(ifp)). With bad enough timing, this can happen: 1. In ipv6_get_ifaddr, hlist_for_each_entry_rcu returns an entry. 2. Then, the whole ipv6_del_addr is executed for the given entry. The reference count drops to zero and kfree_rcu is scheduled. 3. ipv6_get_ifaddr continues and tries to increments the reference count (in6_ifa_hold). 4. The rcu is unlocked and the entry is freed. 5. The freed entry is returned. Prevent increasing of the reference count in such case. The name in6_ifa_hold_safe is chosen to mimic the existing fib6_info_hold_safe. [ 41.506330] refcount_t: addition on 0; use-after-free. [ 41.506760] WARNING: CPU: 0 PID: 595 at lib/refcount.c:25 refcount_warn_saturate+0xa5/0x130 [ 41.507413] Modules linked in: veth bridge stp llc [ 41.507821] CPU: 0 PID: 595 Comm: python3 Not tainted 6.9.0-rc2.main-00208-g49563be82afa #14 [ 41.508479] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) [ 41.509163] RIP: 0010:refcount_warn_saturate+0xa5/0x130 [ 41.509586] Code: ad ff 90 0f 0b 90 90 c3 cc cc cc cc 80 3d c0 30 ad 01 00 75 a0 c6 05 b7 30 ad 01 01 90 48 c7 c7 38 cc 7a 8c e8 cc 18 ad ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 98 30 ad 01 00 0f 85 75 ff ff ff [ 41.510956] RSP: 0018:ffffbda3c026baf0 EFLAGS: 00010282 [ 41.511368] RAX: 0000000000000000 RBX: ffff9e9c46914800 RCX: 0000000000000000 [ 41.511910] RDX: ffff9e9c7ec29c00 RSI: ffff9e9c7ec1c900 RDI: ffff9e9c7ec1c900 [ 41.512445] RBP: ffff9e9c43660c9c R08: 0000000000009ffb R09: 00000000ffffdfff [ 41.512998] R10: 00000000ffffdfff R11: ffffffff8ca58a40 R12: ffff9e9c4339a000 [ 41.513534] R13: 0000000000000001 R14: ffff9e9c438a0000 R15: ffffbda3c026bb48 [ 41.514086] FS: 00007fbc4cda1740(0000) GS:ffff9e9c7ec00000(0000) knlGS:0000000000000000 [ 41.514726] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.515176] CR2: 000056233b337d88 CR3: 000000000376e006 CR4: 0000000000370ef0 [ 41.515713] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.516252] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.516799] Call Trace: [ 41.517037] <TASK> [ 41.517249] ? __warn+0x7b/0x120 [ 41.517535] ? refcount_warn_saturate+0xa5/0x130 [ 41.517923] ? report_bug+0x164/0x190 [ 41.518240] ? handle_bug+0x3d/0x70 [ 41.518541] ? exc_invalid_op+0x17/0x70 [ 41.520972] ? asm_exc_invalid_op+0x1a/0x20 [ 41.521325] ? refcount_warn_saturate+0xa5/0x130 [ 41.521708] ipv6_get_ifaddr+0xda/0xe0 [ 41.522035] inet6_rtm_getaddr+0x342/0x3f0 [ 41.522376] ? __pfx_inet6_rtm_getaddr+0x10/0x10 [ 41.522758] rtnetlink_rcv_msg+0x334/0x3d0 [ 41.523102] ? netlink_unicast+0x30f/0x390 [ 41.523445] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 41.523832] netlink_rcv_skb+0x53/0x100 [ 41.524157] netlink_unicast+0x23b/0x390 [ 41.524484] netlink_sendmsg+0x1f2/0x440 [ 41.524826] __sys_sendto+0x1d8/0x1f0 [ 41.525145] __x64_sys_sendto+0x1f/0x30 [ 41.525467] do_syscall_64+0xa5/0x1b0 [ 41.525794] entry_SYSCALL_64_after_hwframe+0x72/0x7a [ 41.526213] RIP: 0033:0x7fbc4cfcea9a [ 41.526528] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 [ 41.527942] RSP: 002b:00007f ---truncated---

YüksekCVSS 8.8 · v3.1—İstismar yok Düzeltme var
Yayın
20 May 2024
Güncelleme
5 Ağu 2026
EPSS
%0,4 · 29. 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

35

İzleyin

Şimdilik düşük öncelik.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,4

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
—
CNA · Linux
8,8
NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.

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
debiandebian linux

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.

  • debian debian linux10.0
  • linux linux kernel4.20 ve sonrası · 5.4.275 öncesi
  • linux linux kernel5.5 ve sonrası · 5.10.216 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.156 öncesi
  • linux linux kernel2.6.35 ve sonrası · 4.19.313 öncesi
  • linux linux kernel6.2 ve sonrası · 6.6.28 öncesi
  • linux linux kernel6.7 ve sonrası · 6.8.7 öncesi
  • linux linux kernel5.16 ve sonrası · 6.1.87 öncesi
  • linux linux kernel6.9

Ü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

    • 2.6.35etkilenir
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · b4b3b69a19016d4e7fbdbd1dbcc184915eb862e1 öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · cca606e14264098cba65efa82790825dbf69e903 öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · 3fb02ec57ead2891a2306af8c51a306bc5945e70 öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · 4b19e9507c275de0cfe61c24db69179dc52cf9fb öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · de76ae9ea1a6cf9e77fcec4f2df2904e26c23ceb öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · 01b11a0566670612bd464a932e5ac2eae53d8652 öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · 6cdb20c342cd0193d3e956e3d83981d0f438bb83 öncesietkilenir · git
    • 5c578aedcb21d79eeb4e9cf04ca5b276ac82614c ve sonrası · 7633c4da919ad51164acbf1aa322cc1a3ead6129 öncesietkilenir · git
    • 2.6.35 ö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.1.90-1 öncesi6.1.90-1
Debian:13linux6.8.9-1 öncesi6.8.9-1
Red Hat:rhel_aus:8.6::baseosbpftool0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseosbpftool-debuginfo0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-abi-stablelists0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-core0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug-core0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug-debuginfo0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug-devel0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug-modules0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debug-modules-extra0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debuginfo0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-debuginfo-common-x86_640:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-devel0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-doc0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-modules0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-modules-extra0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-tools0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-tools-debuginfo0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseoskernel-tools-libs0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseosperf0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6
Red Hat:rhel_aus:8.6::baseosperf-debuginfo0:4.18.0-372.111.1.el8_6 öncesi0:4.18.0-372.111.1.el8_6

+86

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 Linux01b11a0566670612bd464a932e5ac2eae53d8652Üretici (CNA)
Linux Linux3fb02ec57ead2891a2306af8c51a306bc5945e70Üretici (CNA)
Linux Linux4b19e9507c275de0cfe61c24db69179dc52cf9fbÜretici (CNA)
Linux Linux6cdb20c342cd0193d3e956e3d83981d0f438bb83Üretici (CNA)
Linux Linux7633c4da919ad51164acbf1aa322cc1a3ead6129Üretici (CNA)
Linux Linuxb4b3b69a19016d4e7fbdbd1dbcc184915eb862e1Üretici (CNA)
Linux Linuxcca606e14264098cba65efa82790825dbf69e903Üretici (CNA)
Linux Linuxde76ae9ea1a6cf9e77fcec4f2df2904e26c23cebÜretici (CNA)
debian:linux6.1.90-1 · Debian:12Paket deposu (OSV)
red hat:bpftool0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:bpftool-debuginfo0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-abi-stablelists0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-core0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug-core0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug-debuginfo0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug-devel0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug-modules0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debug-modules-extra0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket deposu (OSV)
red hat:kernel-debuginfo0:4.18.0-372.111.1.el8_6 · Red Hat:rhel_aus:8.6::baseosPaket 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.

  • CVE-2021-4713756 gün araylanet: lantiq: fix memory corruption in RX ring
    39İzleyin
  • CVE-2021-475514 gün arayladrm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
    31İzleyin
  • CVE-2024-3402735 gün araylaf2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
    31İzleyin
  • CVE-2021-4713066 gün araylanvmet: fix freeing unallocated p2pmem
    30İzleyin
  • CVE-2024-2689433 gün araylaACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
    24İzleyin
  • CVE-2023-5252979 gün araylaHID: sony: Fix a potential memory leak in sony_probe()
    24İzleyin

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ı

  • Aynı ağ bölümündeki biri tetikleyebilir.
  • Hesap ya da parola gerekmez.
  • 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ü
Bitişik ağ
Karmaşıklık
Düşük
Gereken yetki
Yok
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

CVSS vektörü

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

nvd-secondary

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