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

fs: dlm: fix invalid derefence of sb_lvbptr

In the Linux kernel, the following vulnerability has been resolved: fs: dlm: fix invalid derefence of sb_lvbptr I experience issues when putting a lkbsb on the stack and have sb_lvbptr field to a dangled pointer while not using DLM_LKF_VALBLK. It will crash with the following kernel message, the dangled pointer is here 0xdeadbeef as example: [ 102.749317] BUG: unable to handle page fault for address: 00000000deadbeef [ 102.749320] #PF: supervisor read access in kernel mode [ 102.749323] #PF: error_code(0x0000) - not-present page [ 102.749325] PGD 0 P4D 0 [ 102.749332] Oops: 0000 [#1] PREEMPT SMP PTI [ 102.749336] CPU: 0 PID: 1567 Comm: lock_torture_wr Tainted: G W 5.19.0-rc3+ #1565 [ 102.749343] Hardware name: Red Hat KVM/RHEL-AV, BIOS 1.16.0-2.module+el8.7.0+15506+033991b0 04/01/2014 [ 102.749344] RIP: 0010:memcpy_erms+0x6/0x10 [ 102.749353] Code: cc cc cc cc eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe [ 102.749355] RSP: 0018:ffff97a58145fd08 EFLAGS: 00010202 [ 102.749358] RAX: ffff901778b77070 RBX: 0000000000000000 RCX: 0000000000000040 [ 102.749360] RDX: 0000000000000040 RSI: 00000000deadbeef RDI: ffff901778b77070 [ 102.749362] RBP: ffff97a58145fd10 R08: ffff901760b67a70 R09: 0000000000000001 [ 102.749364] R10: ffff9017008e2cb8 R11: 0000000000000001 R12: ffff901760b67a70 [ 102.749366] R13: ffff901760b78f00 R14: 0000000000000003 R15: 0000000000000001 [ 102.749368] FS: 0000000000000000(0000) GS:ffff901876e00000(0000) knlGS:0000000000000000 [ 102.749372] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 102.749374] CR2: 00000000deadbeef CR3: 000000017c49a004 CR4: 0000000000770ef0 [ 102.749376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 102.749378] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 102.749379] PKRU: 55555554 [ 102.749381] Call Trace: [ 102.749382] <TASK> [ 102.749383] ? send_args+0xb2/0xd0 [ 102.749389] send_common+0xb7/0xd0 [ 102.749395] _unlock_lock+0x2c/0x90 [ 102.749400] unlock_lock.isra.56+0x62/0xa0 [ 102.749405] dlm_unlock+0x21e/0x330 [ 102.749411] ? lock_torture_stats+0x80/0x80 [dlm_locktorture] [ 102.749416] torture_unlock+0x5a/0x90 [dlm_locktorture] [ 102.749419] ? preempt_count_sub+0xba/0x100 [ 102.749427] lock_torture_writer+0xbd/0x150 [dlm_locktorture] [ 102.786186] kthread+0x10a/0x130 [ 102.786581] ? kthread_complete_and_exit+0x20/0x20 [ 102.787156] ret_from_fork+0x22/0x30 [ 102.787588] </TASK> [ 102.787855] Modules linked in: dlm_locktorture torture rpcsec_gss_krb5 intel_rapl_msr intel_rapl_common kvm_intel iTCO_wdt iTCO_vendor_support kvm vmw_vsock_virtio_transport qxl irqbypass vmw_vsock_virtio_transport_common drm_ttm_helper crc32_pclmul joydev crc32c_intel ttm vsock virtio_scsi virtio_balloon snd_pcm drm_kms_helper virtio_console snd_timer snd drm soundcore syscopyarea i2c_i801 sysfillrect sysimgblt i2c_smbus pcspkr fb_sys_fops lpc_ich serio_raw [ 102.792536] CR2: 00000000deadbeef [ 102.792930] ---[ end trace 0000000000000000 ]--- This patch fixes the issue by checking also on DLM_LKF_VALBLK on exflags is set when copying the lvbptr array instead of if it's just null which fixes for me the issue. I think this patch can fix other dlm users as well, depending how they handle the init, freeing memory handling of sb_lvbptr and don't set DLM_LKF_VALBLK for some dlm_lock() calls. It might a there could be a hidden issue all the time. However with checking on DLM_LKF_VALBLK the user always need to provide a sb_lvbptr non-null value. There might be more intelligent handling between per ls lvblen, DLM_LKF_VALBLK and non-null to report the user the way how DLM API is used is wrong but can be added for later, this will only fix the current behaviour.

OrtaCVSS 5.5 · v3.1—İstismar yok Düzeltme var
Yayın
7 Eki 2025
Güncelleme
17 Haz 2026
EPSS
%0,2 · 5. 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

22

İzleyin

Şimdilik düşük öncelik.

CVSS
22 / 40 · 5.5 / 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 kernel2.6.19 ve sonrası · 5.15.76 öncesi
  • linux linux kernel5.16 ve sonrası · 5.19.17 öncesi
  • linux linux kernel6.0 ve sonrası · 6.0.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

    • 2.6.19etkilenir
    • e7fd41792fc0ee52a05fcaac87511f118328d147 ve sonrası · ef3033b435a6bac547166b793025578fab2f9df3 öncesietkilenir · git
    • e7fd41792fc0ee52a05fcaac87511f118328d147 ve sonrası · ea7be82fd7e1f5de72208bce93fbbe6de6c13dec öncesietkilenir · git
    • e7fd41792fc0ee52a05fcaac87511f118328d147 ve sonrası · 1ab6d3030652b5de0015176a5b0ad9df9b847514 öncesietkilenir · git
    • e7fd41792fc0ee52a05fcaac87511f118328d147 ve sonrası · 57c1cfb5781068e5d3632bc6e5f74a8fcc4f1a30 öncesietkilenir · git
    • e7fd41792fc0ee52a05fcaac87511f118328d147 ve sonrası · 7175e131ebba47afef47e6ac4d5bab474d1e6e49 öncesietkilenir · git
    • 2.6.19 öncesietkilenmez · semver
    • 5.10.251 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
    • 5.15.76 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
    • 5.19.17 ve sonrası · 5.19.* 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:11linux5.10.251-1 öncesi5.10.251-1
Debian:12linux6.0.3-1 öncesi6.0.3-1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-default-base5.3.18-150300.59.226.2.150300.18.134.2 öncesi5.3.18-150300.59.226.2.150300.18.134.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-docs5.3.18-150300.59.226.3 öncesi5.3.18-150300.59.226.3
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-obs-build5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-preempt5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-source5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-syms5.3.18-150300.59.226.1 öncesi5.3.18-150300.59.226.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-default5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_631-150300.7.5.2 öncesi1-150300.7.5.2
SUSE:Linux Enterprise Micro 5.2kernel-rt5.3.18-150300.226.1 öncesi5.3.18-150300.226.1
SUSE:Linux Enterprise Micro 5.2kernel-source-rt5.3.18-150300.226.1 öncesi5.3.18-150300.226.1
SUSE:Linux Enterprise Server 15 SP3-LTSSkernel-zfcpdump5.3.18-150300.59.226.2 öncesi5.3.18-150300.59.226.2

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 Linux1ab6d3030652b5de0015176a5b0ad9df9b847514Üretici (CNA)
Linux Linux57c1cfb5781068e5d3632bc6e5f74a8fcc4f1a30Üretici (CNA)
Linux Linux7175e131ebba47afef47e6ac4d5bab474d1e6e49Üretici (CNA)
Linux Linuxea7be82fd7e1f5de72208bce93fbbe6de6c13decÜretici (CNA)
Linux Linuxef3033b435a6bac547166b793025578fab2f9df3Üretici (CNA)
debian:linux6.0.3-1 · Debian:12Paket deposu (OSV)
suse:kernel-64kb5.3.18-150300.59.226.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-default5.3.18-150300.59.226.2 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-default-base5.3.18-150300.59.226.2.150300.18.134.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-docs5.3.18-150300.59.226.3 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_631-150300.7.5.2 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-obs-build5.3.18-150300.59.226.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-preempt5.3.18-150300.59.226.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-rt5.3.18-150300.226.1 · SUSE:Linux Enterprise Micro 5.2Paket deposu (OSV)
suse:kernel-source5.3.18-150300.59.226.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-source-rt5.3.18-150300.226.1 · SUSE:Linux Enterprise Micro 5.2Paket deposu (OSV)
suse:kernel-syms5.3.18-150300.59.226.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-zfcpdump5.3.18-150300.59.226.2 · SUSE:Linux Enterprise Server 15 SP3-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.
  • Ö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)

CWE-476 · NULL Pointer Dereference

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