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

Revert "smb: client: fix TCP timers deadlock after rmmod"

In the Linux kernel, the following vulnerability has been resolved: Revert "smb: client: fix TCP timers deadlock after rmmod" This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801. Commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") is intended to fix a null-ptr-deref in LOCKDEP, which is mentioned as CVE-2024-54680, but is actually did not fix anything; The issue can be reproduced on top of it. [0] Also, it reverted the change by commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") and introduced a real issue by reviving the kernel TCP socket. When a reconnect happens for a CIFS connection, the socket state transitions to FIN_WAIT_1. Then, inet_csk_clear_xmit_timers_sync() in tcp_close() stops all timers for the socket. If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1 forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans. Usually, FIN can be retransmitted by the peer, but if the peer aborts the connection, the issue comes into reality. I warned about this privately by pointing out the exact report [1], but the bogus fix was finally merged. So, we should not stop the timers to finally kill the connection on our side in that case, meaning we must not use a kernel socket for TCP whose sk->sk_net_refcnt is 0. The kernel socket does not have a reference to its netns to make it possible to tear down netns without cleaning up every resource in it. For example, tunnel devices use a UDP socket internally, but we can destroy netns without removing such devices and let it complete during exit. Otherwise, netns would be leaked when the last application died. However, this is problematic for TCP sockets because TCP has timers to close the connection gracefully even after the socket is close()d. The lifetime of the socket and its netns is different from the lifetime of the underlying connection. If the socket user does not maintain the netns lifetime, the timer could be fired after the socket is close()d and its netns is freed up, resulting in use-after-free. Actually, we have seen so many similar issues and converted such sockets to have a reference to netns. That's why I converted the CIFS client socket to have a reference to netns (sk->sk_net_refcnt == 1), which is somehow mentioned as out-of-scope of CIFS and technically wrong in e9f2517a3e18, but **is in-scope and right fix**. Regarding the LOCKDEP issue, we can prevent the module unload by bumping the module refcount when switching the LOCKDDEP key in sock_lock_init_class_and_name(). [2] For a while, let's revert the bogus fix. Note that now we can use sk_net_refcnt_upgrade() for the socket conversion, but I'll do so later separately to make backport easy.

OrtaCVSS 5.5 · v3.1—İstismar yok Düzeltme var
Yayın
16 Nis 2025
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

22

İzleyin

Şimdilik düşük öncelik.

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

CNA ile NVD puanı

NVD
5,5
CNA · Linux
9,8
4,3 puan fark

CVSS:3.1/AV:N/AC:L/PR:N/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 kernel6.6.68 ve sonrası · 6.6.88 öncesi
  • linux linux kernel6.12.7 ve sonrası · 6.12.25 öncesi
  • linux linux kernel6.13.1 ve sonrası · 6.14.4 öncesi
  • linux linux kernel6.13
  • linux linux kernel6.15

Ü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

    • 6.13etkilenir
    • 906807c734ed219dcb2e7bbfde5c4168ed72a3d0 ve sonrası · 8dbf060480236877703bff0106fc984576184d11 öncesietkilenir · git
    • 127e907e11ccd54b59bb78fc22c43ccb76c71079 ve sonrası · f761eeefd531e6550cd3a5c047835b4892acb00d öncesietkilenir · git
    • e9f2517a3e18a54a3943c098d2226b245d488801 ve sonrası · 4b6f6bf1bde8d6045c389fda8d21c304dfe49384 öncesietkilenir · git
    • e9f2517a3e18a54a3943c098d2226b245d488801 ve sonrası · 95d2b9f693ff2a1180a23d7d59acc0c4e72f4c41 öncesietkilenir · git
    • 6.6.68 ve sonrası · 6.6.88 öncesietkilenir · semver
    • 6.12.7 ve sonrası · 6.12.25 öncesietkilenir · semver
    • 6.13 öncesietkilenmez · semver
    • 6.6.88 ve sonrası · 6.6.* dahil öncesietkilenmez · semver
    • 6.12.25 ve sonrası · 6.12.* 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:13linux6.12.25-1 öncesi6.12.25-1
openSUSE:Leap 16.0dtb-aarch646.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-64kb6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-default6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-default-base6.12.0-160000.6.1.160000.2.4 öncesi6.12.0-160000.6.1.160000.2.4
openSUSE:Leap 16.0kernel-docs6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-kvmsmall6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-obs-build6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-obs-qa6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-rt6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-source6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-syms6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
openSUSE:Leap 16.0kernel-zfcpdump6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Enterprise Server 16.0kernel-docs6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Enterprise Server 16.0kernel-kvmsmall6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Enterprise Server 16.0kernel-obs-qa6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Enterprise Server 16.0kernel-syms6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Enterprise Server 16.0kernel-zfcpdump6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Micro 6.2kernel-64kb6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Micro 6.2kernel-default6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Micro 6.2kernel-default-base6.12.0-160000.6.1.160000.2.4 öncesi6.12.0-160000.6.1.160000.2.4
SUSE:Linux Micro 6.2kernel-rt6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Micro 6.2kernel-source6.12.0-160000.6.1 öncesi6.12.0-160000.6.1
SUSE:Linux Micro Extras 6.2kernel-obs-build6.12.0-160000.6.1 öncesi6.12.0-160000.6.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 Linux4b6f6bf1bde8d6045c389fda8d21c304dfe49384Üretici (CNA)
Linux Linux6.12.25Üretici (CNA)
Linux Linux6.6.88Üretici (CNA)
Linux Linux8dbf060480236877703bff0106fc984576184d11Üretici (CNA)
Linux Linux95d2b9f693ff2a1180a23d7d59acc0c4e72f4c41Üretici (CNA)
Linux Linuxf761eeefd531e6550cd3a5c047835b4892acb00dÜretici (CNA)
debian:linux6.12.25-1 · Debian:13Paket deposu (OSV)
opensuse:dtb-aarch646.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-64kb6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-default6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-default-base6.12.0-160000.6.1.160000.2.4 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-docs6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-kvmsmall6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-obs-build6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-obs-qa6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-rt6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-source6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-syms6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
opensuse:kernel-zfcpdump6.12.0-160000.6.1 · openSUSE:Leap 16.0Paket deposu (OSV)
suse:kernel-64kb6.12.0-160000.6.1 · SUSE:Linux Micro 6.2Paket deposu (OSV)
suse:kernel-default6.12.0-160000.6.1 · SUSE:Linux Micro 6.2Paket deposu (OSV)
suse:kernel-default-base6.12.0-160000.6.1.160000.2.4 · SUSE:Linux Micro 6.2Paket deposu (OSV)
suse:kernel-docs6.12.0-160000.6.1 · SUSE:Linux Enterprise Server 16.0Paket deposu (OSV)
suse:kernel-kvmsmall6.12.0-160000.6.1 · SUSE:Linux Enterprise Server 16.0Paket deposu (OSV)
suse:kernel-obs-build6.12.0-160000.6.1 · SUSE:Linux Micro Extras 6.2Paket deposu (OSV)
suse:kernel-obs-qa6.12.0-160000.6.1 · SUSE:Linux Enterprise Server 16.0Paket deposu (OSV)
suse:kernel-rt6.12.0-160000.6.1 · SUSE:Linux Micro 6.2Paket deposu (OSV)
suse:kernel-source6.12.0-160000.6.1 · SUSE:Linux Micro 6.2Paket deposu (OSV)
suse:kernel-syms6.12.0-160000.6.1 · SUSE:Linux Enterprise Server 16.0Paket deposu (OSV)
suse:kernel-zfcpdump6.12.0-160000.6.1 · SUSE:Linux Enterprise Server 16.0Paket 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-667 · Improper Locking

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

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