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

vfs: Don't evict inode under the inode lru traversing context

In the Linux kernel, the following vulnerability has been resolved: vfs: Don't evict inode under the inode lru traversing context The inode reclaiming process(See function prune_icache_sb) collects all reclaimable inodes and mark them with I_FREEING flag at first, at that time, other processes will be stuck if they try getting these inodes (See function find_inode_fast), then the reclaiming process destroy the inodes by function dispose_list(). Some filesystems(eg. ext4 with ea_inode feature, ubifs with xattr) may do inode lookup in the inode evicting callback function, if the inode lookup is operated under the inode lru traversing context, deadlock problems may happen. Case 1: In function ext4_evict_inode(), the ea inode lookup could happen if ea_inode feature is enabled, the lookup process will be stuck under the evicting context like this: 1. File A has inode i_reg and an ea inode i_ea 2. getfattr(A, xattr_buf) // i_ea is added into lru // lru->i_ea 3. Then, following three processes running like this: PA PB echo 2 > /proc/sys/vm/drop_caches shrink_slab prune_dcache_sb // i_reg is added into lru, lru->i_ea->i_reg prune_icache_sb list_lru_walk_one inode_lru_isolate i_ea->i_state |= I_FREEING // set inode state inode_lru_isolate __iget(i_reg) spin_unlock(&i_reg->i_lock) spin_unlock(lru_lock) rm file A i_reg->nlink = 0 iput(i_reg) // i_reg->nlink is 0, do evict ext4_evict_inode ext4_xattr_delete_inode ext4_xattr_inode_dec_ref_all ext4_xattr_inode_iget ext4_iget(i_ea->i_ino) iget_locked find_inode_fast __wait_on_freeing_inode(i_ea) ----→ AA deadlock dispose_list // cannot be executed by prune_icache_sb wake_up_bit(&i_ea->i_state) Case 2: In deleted inode writing function ubifs_jnl_write_inode(), file deleting process holds BASEHD's wbuf->io_mutex while getting the xattr inode, which could race with inode reclaiming process(The reclaiming process could try locking BASEHD's wbuf->io_mutex in inode evicting function), then an ABBA deadlock problem would happen as following: 1. File A has inode ia and a xattr(with inode ixa), regular file B has inode ib and a xattr. 2. getfattr(A, xattr_buf) // ixa is added into lru // lru->ixa 3. Then, following three processes running like this: PA PB PC echo 2 > /proc/sys/vm/drop_caches shrink_slab prune_dcache_sb // ib and ia are added into lru, lru->ixa->ib->ia prune_icache_sb list_lru_walk_one inode_lru_isolate ixa->i_state |= I_FREEING // set inode state inode_lru_isolate __iget(ib) spin_unlock(&ib->i_lock) spin_unlock(lru_lock) rm file B ib->nlink = 0 rm file A iput(ia) ubifs_evict_inode(ia) ubifs_jnl_delete_inode(ia) ubifs_jnl_write_inode(ia) make_reservation(BASEHD) // Lock wbuf->io_mutex ubifs_iget(ixa->i_ino) iget_locked find_inode_fast __wait_on_freeing_inode(ixa) | iput(ib) // ib->nlink is 0, do evict | ubifs_evict_inode | ubifs_jnl_delete_inode(ib) ↓ ubifs_jnl_write_inode ABBA deadlock ←-----make_reservation(BASEHD) dispose_list // cannot be executed by prune_icache_sb wake_up_bit(&ixa->i_state) Fix the possible deadlock by using new inode state flag I_LRU_ISOLATING to pin the inode in memory while inode_lru_isolate( ---truncated---

OrtaCVSS 4.7 · v3.1—İstismar yok Düzeltme var
Yayın
4 Eyl 2024
Güncelleme
17 Haz 2026
EPSS
%0,2 · 6. 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,2

CISA SSVC kararı

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

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

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 kernel4.13 ve sonrası · 5.4.283 öncesi
  • linux linux kernel5.5 ve sonrası · 5.10.225 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.166 öncesi
  • linux linux kernel5.16 ve sonrası · 6.1.107 öncesi
  • linux linux kernel6.2 ve sonrası · 6.6.48 öncesi
  • linux linux kernel6.7 ve sonrası · 6.10.7 öncesi
  • linux linux kernel6.11

Ü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

    • 4.13etkilenir
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · 3525ad25240dfdd8c78f3470911ed10aa727aa72 öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · 03880af02a78bc9a98b5a581f529cf709c88a9b8 öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · cda54ec82c0f9d05393242b20b13f69b083f7e88 öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · 437741eba63bf4e437e2beb5583f8633556a2b98 öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · b9bda5f6012dd00372f3a06a82ed8971a4c57c32 öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · 9063ab49c11e9518a3f2352434bb276cc8134c5f öncesietkilenir · git
    • e50e5129f384ae282adebfb561189cdb19b81cee ve sonrası · 2a0629834cd82f05d424bbc193374f9a43d1f87d öncesietkilenir · git
    • 4.13 öncesietkilenmez · semver
    • 5.4.283 ve sonrası · 5.4.* 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.1.112-1 öncesi6.1.112-1
Debian:13linux6.10.7-1 öncesi6.10.7-1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-default-base5.3.18-150200.24.206.1.150200.9.107.1 öncesi5.3.18-150200.24.206.1.150200.9.107.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-docs5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-obs-build5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-preempt5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-source5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSkernel-syms5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-default-base5.3.18-150300.59.179.1.150300.18.105.2 öncesi5.3.18-150300.59.179.1.150300.18.105.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-docs5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-obs-build5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-preempt5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-source5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-syms5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.206.1 öncesi5.3.18-150200.24.206.1
SUSE:Linux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_531-150200.5.3.1 öncesi1-150200.5.3.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-default5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_491-150300.7.3.2 öncesi1-150300.7.3.2
SUSE:Linux Enterprise Micro 5.1kernel-rt5.3.18-150300.187.1 öncesi5.3.18-150300.187.1
SUSE:Linux Enterprise Micro 5.1kernel-source-rt5.3.18-150300.187.1 öncesi5.3.18-150300.187.1
SUSE:Linux Enterprise Micro 5.3kernel-rt5.14.21-150400.15.94.1 öncesi5.14.21-150400.15.94.1
SUSE:Linux Enterprise Micro 5.3kernel-source-rt5.14.21-150400.15.94.1 öncesi5.14.21-150400.15.94.1
SUSE:Linux Enterprise Server 15 SP3-LTSSkernel-zfcpdump5.3.18-150300.59.179.1 öncesi5.3.18-150300.59.179.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 Linux03880af02a78bc9a98b5a581f529cf709c88a9b8Üretici (CNA)
Linux Linux2a0629834cd82f05d424bbc193374f9a43d1f87dÜretici (CNA)
Linux Linux3525ad25240dfdd8c78f3470911ed10aa727aa72Üretici (CNA)
Linux Linux437741eba63bf4e437e2beb5583f8633556a2b98Üretici (CNA)
Linux Linux9063ab49c11e9518a3f2352434bb276cc8134c5fÜretici (CNA)
Linux Linuxb9bda5f6012dd00372f3a06a82ed8971a4c57c32Üretici (CNA)
Linux Linuxcda54ec82c0f9d05393242b20b13f69b083f7e88Üretici (CNA)
debian:linux6.1.112-1 · Debian:12Paket deposu (OSV)
suse:kernel-64kb5.3.18-150300.59.179.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-default5.3.18-150200.24.206.1 · SUSE:Linux Enterprise Live Patching 15 SP2Paket deposu (OSV)
suse:kernel-default-base5.3.18-150200.24.206.1.150200.9.107.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-docs5.3.18-150200.24.206.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-livepatch-SLE15-SP2_Update_531-150200.5.3.1 · SUSE:Linux Enterprise Live Patching 15 SP2Paket deposu (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_491-150300.7.3.2 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-obs-build5.3.18-150200.24.206.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-preempt5.3.18-150200.24.206.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-rt5.14.21-150400.15.94.1 · SUSE:Linux Enterprise Micro 5.3Paket deposu (OSV)
suse:kernel-source5.3.18-150200.24.206.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSPaket deposu (OSV)
suse:kernel-source-rt5.14.21-150400.15.94.1 · SUSE:Linux Enterprise Micro 5.3Paket deposu (OSV)
suse:kernel-syms5.3.18-150200.24.206.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-667 · Improper Locking

CVSS vektörü

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

nvd-primary

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ı.

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