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

scsi: zfcp: Fix double free of FSF request when qdio send fails

In the Linux kernel, the following vulnerability has been resolved: scsi: zfcp: Fix double free of FSF request when qdio send fails We used to use the wrong type of integer in 'zfcp_fsf_req_send()' to cache the FSF request ID when sending a new FSF request. This is used in case the sending fails and we need to remove the request from our internal hash table again (so we don't keep an invalid reference and use it when we free the request again). In 'zfcp_fsf_req_send()' we used to cache the ID as 'int' (signed and 32 bit wide), but the rest of the zfcp code (and the firmware specification) handles the ID as 'unsigned long'/'u64' (unsigned and 64 bit wide [s390x ELF ABI]). For one this has the obvious problem that when the ID grows past 32 bit (this can happen reasonably fast) it is truncated to 32 bit when storing it in the cache variable and so doesn't match the original ID anymore. The second less obvious problem is that even when the original ID has not yet grown past 32 bit, as soon as the 32nd bit is set in the original ID (0x80000000 = 2'147'483'648) we will have a mismatch when we cast it back to 'unsigned long'. As the cached variable is of a signed type, the compiler will choose a sign-extending instruction to load the 32 bit variable into a 64 bit register (e.g.: 'lgf %r11,188(%r15)'). So once we pass the cached variable into 'zfcp_reqlist_find_rm()' to remove the request again all the leading zeros will be flipped to ones to extend the sign and won't match the original ID anymore (this has been observed in practice). If we can't successfully remove the request from the hash table again after 'zfcp_qdio_send()' fails (this happens regularly when zfcp cannot notify the adapter about new work because the adapter is already gone during e.g. a ChpID toggle) we will end up with a double free. We unconditionally free the request in the calling function when 'zfcp_fsf_req_send()' fails, but because the request is still in the hash table we end up with a stale memory reference, and once the zfcp adapter is either reset during recovery or shutdown we end up freeing the same memory twice. The resulting stack traces vary depending on the kernel and have no direct correlation to the place where the bug occurs. Here are three examples that have been seen in practice: list_del corruption. next->prev should be 00000001b9d13800, but was 00000000dead4ead. (next=00000001bd131a00) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! monitor event: 0040 ilc:2 [#1] PREEMPT SMP Modules linked in: ... CPU: 9 PID: 1617 Comm: zfcperp0.0.1740 Kdump: loaded Hardware name: ... Krnl PSW : 0704d00180000000 00000003cbeea1f8 (__list_del_entry_valid+0x98/0x140) R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:1 PM:0 RI:0 EA:3 Krnl GPRS: 00000000916d12f1 0000000080000000 000000000000006d 00000003cb665cd6 0000000000000001 0000000000000000 0000000000000000 00000000d28d21e8 00000000d3844000 00000380099efd28 00000001bd131a00 00000001b9d13800 00000000d3290100 0000000000000000 00000003cbeea1f4 00000380099efc70 Krnl Code: 00000003cbeea1e8: c020004f68a7 larl %r2,00000003cc8d7336 00000003cbeea1ee: c0e50027fd65 brasl %r14,00000003cc3e9cb8 #00000003cbeea1f4: af000000 mc 0,0 >00000003cbeea1f8: c02000920440 larl %r2,00000003cd12aa78 00000003cbeea1fe: c0e500289c25 brasl %r14,00000003cc3fda48 00000003cbeea204: b9040043 lgr %r4,%r3 00000003cbeea208: b9040051 lgr %r5,%r1 00000003cbeea20c: b9040032 lgr %r3,%r2 Call Trace: [<00000003cbeea1f8>] __list_del_entry_valid+0x98/0x140 ([<00000003cbeea1f4>] __list_del_entry_valid+0x94/0x140) [<000003ff7ff502fe>] zfcp_fsf_req_dismiss_all+0xde/0x150 [zfcp] [<000003ff7ff49cd0>] zfcp_erp_strategy_do_action+0x160/0x280 [zfcp] ---truncated---

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

31

İzleyin

Şimdilik düşük öncelik.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,2

CNA ile NVD puanı

NVD
7,8
CNA · Linux
7,0
0,8 puan fark

CVSS:3.1/AV:L/AC:H/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 kernel2.6.34 ve sonrası · 5.4.225 öncesi
  • linux linux kernel5.5 ve sonrası · 5.10.156 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.80 öncesi
  • linux linux kernel5.16 ve sonrası · 6.0.10 ö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

    • 2.6.34etkilenir
    • e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ve sonrası · 1bf8ed585501bb2dd0b5f67c824eab45adfbdccd öncesietkilenir · git
    • e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ve sonrası · d2c7d8f58e9cde8ac8d1f75e9d66c2a813ffe0ab öncesietkilenir · git
    • e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ve sonrası · 11edbdee4399401f533adda9bffe94567aa08b96 öncesietkilenir · git
    • e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ve sonrası · 90a49a6b015fa439cd62e45121390284c125a91f öncesietkilenir · git
    • e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ve sonrası · 0954256e970ecf371b03a6c9af2cf91b9c4085ff öncesietkilenir · git
    • 2.6.34 öncesietkilenmez · semver
    • 5.4.225 ve sonrası · 5.4.* dahil öncesietkilenmez · semver
    • 5.10.156 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
    • 5.15.80 ve sonrası · 5.15.* 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.0.10-1 öncesi6.0.10-1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-default-base5.3.18-150300.59.207.1.150300.18.124.1 öncesi5.3.18-150300.59.207.1.150300.18.124.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-docs5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-obs-build5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-preempt5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-source5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-syms5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSkernel-64kb5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSkernel-docs5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSkernel-obs-build5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSkernel-source5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSkernel-syms5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-default5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_581-150300.7.3.1 öncesi1-150300.7.3.1
SUSE:Linux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_411-150400.9.3.1 öncesi1-150400.9.3.1
SUSE:Linux Enterprise Micro 5.3kernel-default5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.1
SUSE:Linux Enterprise Micro 5.3kernel-default-base5.14.21-150400.24.167.1.150400.24.84.1 öncesi5.14.21-150400.24.167.1.150400.24.84.1
SUSE:Linux Enterprise Micro 5.3kernel-rt5.14.21-150400.15.121.1 öncesi5.14.21-150400.15.121.1
SUSE:Linux Enterprise Micro 5.3kernel-source-rt5.14.21-150400.15.121.1 öncesi5.14.21-150400.15.121.1
SUSE:Linux Enterprise Server 15 SP3-LTSSkernel-zfcpdump5.3.18-150300.59.207.1 öncesi5.3.18-150300.59.207.1
SUSE:Linux Enterprise Server 15 SP4-LTSSkernel-zfcpdump5.14.21-150400.24.167.1 öncesi5.14.21-150400.24.167.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 Linux0954256e970ecf371b03a6c9af2cf91b9c4085ffÜretici (CNA)
Linux Linux11edbdee4399401f533adda9bffe94567aa08b96Üretici (CNA)
Linux Linux1bf8ed585501bb2dd0b5f67c824eab45adfbdccdÜretici (CNA)
Linux Linux90a49a6b015fa439cd62e45121390284c125a91fÜretici (CNA)
Linux Linuxd2c7d8f58e9cde8ac8d1f75e9d66c2a813ffe0abÜretici (CNA)
debian:linux6.0.10-1 · Debian:12Paket deposu (OSV)
suse:kernel-64kb5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-default5.3.18-150300.59.207.1 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-default-base5.3.18-150300.59.207.1.150300.18.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-docs5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_581-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3Paket deposu (OSV)
suse:kernel-obs-build5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-preempt5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-rt5.14.21-150400.15.121.1 · SUSE:Linux Enterprise Micro 5.3Paket deposu (OSV)
suse:kernel-source5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-source-rt5.14.21-150400.15.121.1 · SUSE:Linux Enterprise Micro 5.3Paket deposu (OSV)
suse:kernel-syms5.3.18-150300.59.207.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPaket deposu (OSV)
suse:kernel-zfcpdump5.3.18-150300.59.207.1 · 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.

  • CVE-2026-31608358 gün araylasmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()
    39İzleyin
  • CVE-2026-31609358 gün araylasmb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()
    39İzleyin
  • CVE-2026-43011365 gün araylanet/x25: Fix potential double free of skb
    39İzleyin
  • CVE-2026-43414372 gün araylascsi: qla2xxx: Completely fix fcport double free
    39İzleyin
  • CVE-2026-52993419 gün araylatipc: fix double-free in tipc_buf_append()
    39İzleyin
  • CVE-2026-64385450 gün araylasmb: client: fix double-free in SMB2_ioctl() replay
    39İ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ı

  • 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
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ü
Yerel
Karmaşıklık
Düşük
Gereken yetki
Düşük
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

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

CWE-415 · Double Free

CVSS vektörü

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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