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

ocfs2: reserve space for inline xattr before attaching reflink tree

In the Linux kernel, the following vulnerability has been resolved: ocfs2: reserve space for inline xattr before attaching reflink tree One of our customers reported a crash and a corrupted ocfs2 filesystem. The crash was due to the detection of corruption. Upon troubleshooting, the fsck -fn output showed the below corruption [EXTENT_LIST_FREE] Extent list in owner 33080590 claims 230 as the next free chain record, but fsck believes the largest valid value is 227. Clamp the next record value? n The stat output from the debugfs.ocfs2 showed the following corruption where the "Next Free Rec:" had overshot the "Count:" in the root metadata block. Inode: 33080590 Mode: 0640 Generation: 2619713622 (0x9c25a856) FS Generation: 904309833 (0x35e6ac49) CRC32: 00000000 ECC: 0000 Type: Regular Attr: 0x0 Flags: Valid Dynamic Features: (0x16) HasXattr InlineXattr Refcounted Extended Attributes Block: 0 Extended Attributes Inline Size: 256 User: 0 (root) Group: 0 (root) Size: 281320357888 Links: 1 Clusters: 141738 ctime: 0x66911b56 0x316edcb8 -- Fri Jul 12 06:02:30.829349048 2024 atime: 0x66911d6b 0x7f7a28d -- Fri Jul 12 06:11:23.133669517 2024 mtime: 0x66911b56 0x12ed75d7 -- Fri Jul 12 06:02:30.317552087 2024 dtime: 0x0 -- Wed Dec 31 17:00:00 1969 Refcount Block: 2777346 Last Extblk: 2886943 Orphan Slot: 0 Sub Alloc Slot: 0 Sub Alloc Bit: 14 Tree Depth: 1 Count: 227 Next Free Rec: 230 ## Offset Clusters Block# 0 0 2310 2776351 1 2310 2139 2777375 2 4449 1221 2778399 3 5670 731 2779423 4 6401 566 2780447 ....... .... ....... ....... .... ....... The issue was in the reflink workfow while reserving space for inline xattr. The problematic function is ocfs2_reflink_xattr_inline(). By the time this function is called the reflink tree is already recreated at the destination inode from the source inode. At this point, this function reserves space for inline xattrs at the destination inode without even checking if there is space at the root metadata block. It simply reduces the l_count from 243 to 227 thereby making space of 256 bytes for inline xattr whereas the inode already has extents beyond this index (in this case up to 230), thereby causing corruption. The fix for this is to reserve space for inline metadata at the destination inode before the reflink tree gets recreated. The customer has verified the fix.

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

22

İzleyin

Şimdilik düşük öncelik.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,3

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
5,5
CNA · Linux
7,8
2,3 puan fark

CVSS:3.1/AV:L/AC:L/PR:L/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.

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 kernel3.0.87 ve sonrası · 3.2 öncesi
  • linux linux kernel3.2.49 ve sonrası · 3.4 öncesi
  • linux linux kernel3.4.54 ve sonrası · 3.9 öncesi
  • linux linux kernel3.9.11 ve sonrası · 3.10 öncesi
  • linux linux kernel3.10.2 ve sonrası · 3.11 öncesi
  • linux linux kernel3.11 ve sonrası · 5.10.227 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.168 öncesi
  • linux linux kernel5.16 ve sonrası · 6.1.113 öncesi
  • linux linux kernel6.2 ve sonrası · 6.6.55 öncesi
  • linux linux kernel6.7 ve sonrası · 6.10.14 öncesi
  • linux linux kernel6.11 ve sonrası · 6.11.3 ö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

    • 3a32958d2ac96070c53d04bd8e013c97b260b5e6, 93f26306db89c9dc37885b76a1082e6d54d23b16, 26a849f49fb3347d126a0ed6611173f903374ef4, 1e7e4c9ae2a78a6791a2ca91a6a400f94855f01e, 1926bf8ae44d80c9f50103f11fc4f17e2e2bf684, 3.11etkilenir
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 5c9807c523b4fca81d3e8e864dabc8c806402121 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 74364cb578dcc0b6c9109519d19cbe5a56afac9a öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · aac31d654a0a31cb0d2fa36ae694f4e164a52707 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 020f5c53c17f66c0a8f2d37dad27ace301b8d8a1 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 5c2072f02c0d75802ec28ec703b7d43a0dd008b5 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 637c00e06564a945e9d0edb3d78d362d64935f9f öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 9f9a8f3ac65b4147f1a7b6c05fad5192c0e3c3d9 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 96ce4c3537114d1698be635f5e36c62dc49df7a4 öncesietkilenir · git
    • ef962df057aaafd714f5c22ba3de1be459571fdf ve sonrası · 5ca60b86f57a4d9648f68418a725b3a7de2816b0 öncesietkilenir · git

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.115-1 öncesi6.1.115-1
Debian:13linux6.11.4-1 öncesi6.11.4-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 Linux020f5c53c17f66c0a8f2d37dad27ace301b8d8a1Üretici (CNA)
Linux Linux3.1Üretici (CNA)
Linux Linux3.10Üretici (CNA)
Linux Linux3.11Üretici (CNA)
Linux Linux3.3Üretici (CNA)
Linux Linux3.5Üretici (CNA)
Linux Linux5c2072f02c0d75802ec28ec703b7d43a0dd008b5Üretici (CNA)
Linux Linux5c9807c523b4fca81d3e8e864dabc8c806402121Üretici (CNA)
Linux Linux5ca60b86f57a4d9648f68418a725b3a7de2816b0Üretici (CNA)
Linux Linux637c00e06564a945e9d0edb3d78d362d64935f9fÜretici (CNA)
Linux Linux74364cb578dcc0b6c9109519d19cbe5a56afac9aÜretici (CNA)
Linux Linux96ce4c3537114d1698be635f5e36c62dc49df7a4Üretici (CNA)
Linux Linux9f9a8f3ac65b4147f1a7b6c05fad5192c0e3c3d9Üretici (CNA)
Linux Linuxaac31d654a0a31cb0d2fa36ae694f4e164a52707Üretici (CNA)
Azure Linux 3.0 ARM6.6.57.1-2 · kernelMicrosoft (MSRC)
Azure Linux 3.0 x646.6.57.1-2 · kernelMicrosoft (MSRC)
CBL Mariner 2.0 ARM5.15.173.1-1 · kernelMicrosoft (MSRC)
CBL Mariner 2.0 x645.15.173.1-1 · kernelMicrosoft (MSRC)
debian:linux6.1.115-1 · Debian:12Paket 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
yok
Bütünlük
yok
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
Yok
Bütünlük etkisi
Yok
Erişilebilirlik etkisi
Yüksek

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

—

CVSS vektörü

CVSS:3.1/AV:L/AC:L/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ı.

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