tty: n_gsm: fix deadlock and link starvation in outgoing data path
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 22/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %0,14 (FIRST EPSS).
- 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.
- Düzeltilmiş sürüm: Linux Linux 0af021678d5d30c31f5a6b631f404ead3575212a, 5020173e7e7725110a8d4be1359bf1dfc4b1814d, 7962a4b900099cf90e02859bb297f2c618d8d940.
Şimdilik düşük öncelik. Linux Linux 0af021678d5d30c31f5a6b631f404ead3575212a, 5020173e7e7725110a8d4be1359bf1dfc4b1814d, 7962a4b900099cf90e02859bb297f2c618d8d940 ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: fix deadlock and link starvation in outgoing data path The current implementation queues up new control and user packets as needed and processes this queue down to the ldisc in the same code path. That means that the upper and the lower layer are hard coupled in the code. Due to this deadlocks can happen as seen below while transmitting data, especially during ldisc congestion. Furthermore, the data channels starve the control channel on high transmission load on the ldisc. Introduce an additional control channel data queue to prevent timeouts and link hangups during ldisc congestion. This is being processed before the user channel data queue in gsm_data_kick(), i.e. with the highest priority. Put the queue to ldisc data path into a workqueue and trigger it whenever new data has been put into the transmission queue. Change gsm_dlci_data_sweep() accordingly to fill up the transmission queue until TX_THRESH_HI. This solves the locking issue, keeps latency low and provides good performance on high data load. Note that now all packets from a DLCI are removed from the internal queue if the associated DLCI was closed. This ensures that no data is sent by the introduced write task to an already closed DLCI. BUG: spinlock recursion on CPU#0, test_v24_loop/124 lock: serial8250_ports+0x3a8/0x7500, .magic: dead4ead, .owner: test_v24_loop/124, .owner_cpu: 0 CPU: 0 PID: 124 Comm: test_v24_loop Tainted: G O 5.18.0-rc2 #3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace: <IRQ> dump_stack_lvl+0x34/0x44 do_raw_spin_lock+0x76/0xa0 _raw_spin_lock_irqsave+0x72/0x80 uart_write_room+0x3b/0xc0 gsm_data_kick+0x14b/0x240 [n_gsm] gsmld_write_wakeup+0x35/0x70 [n_gsm] tty_wakeup+0x53/0x60 tty_port_default_wakeup+0x1b/0x30 serial8250_tx_chars+0x12f/0x220 serial8250_handle_irq.part.0+0xfe/0x150 serial8250_default_handle_irq+0x48/0x80 serial8250_interrupt+0x56/0xa0 __handle_irq_event_percpu+0x78/0x1f0 handle_irq_event+0x34/0x70 handle_fasteoi_irq+0x90/0x1e0 __common_interrupt+0x69/0x100 common_interrupt+0x48/0xc0 asm_common_interrupt+0x1e/0x40 RIP: 0010:__do_softirq+0x83/0x34e Code: 2a 0a ff 0f b7 ed c7 44 24 10 0a 00 00 00 48 c7 c7 51 2a 64 82 e8 2d e2 d5 ff 65 66 c7 05 83 af 1e 7e 00 00 fb b8 ff ff ff ff <49> c7 c2 40 61 80 82 0f bc c5 41 89 c4 41 83 c4 01 0f 84 e6 00 00 RSP: 0018:ffffc90000003f98 EFLAGS: 00000286 RAX: 00000000ffffffff RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff82642a51 RDI: ffffffff825bb5e7 RBP: 0000000000000200 R08: 00000008de3271a8 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000030 R14: 0000000000000000 R15: 0000000000000000 ? __do_softirq+0x73/0x34e irq_exit_rcu+0xb5/0x100 common_interrupt+0xa4/0xc0 </IRQ> <TASK> asm_common_interrupt+0x1e/0x40 RIP: 0010:_raw_spin_unlock_irqrestore+0x2e/0x50 Code: 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 85 28 36 ff 48 89 ef e8 cd 58 36 ff 80 e7 02 74 01 fb bf 01 00 00 00 <e8> 3d 97 33 ff 65 8b 05 96 23 2b 7e 85 c0 74 03 5b 5d c3 0f 1f 44 RSP: 0018:ffffc9000020fd08 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000246 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff8257fd74 RDI: 0000000000000001 RBP: ffff8880057de3a0 R08: 00000008de233000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000100 R14: 0000000000000202 R15: ffff8880057df0b8 ? _raw_spin_unlock_irqrestore+0x23/0x50 gsmtty_write+0x65/0x80 [n_gsm] n_tty_write+0x33f/0x530 ? swake_up_all+0xe0/0xe0 file_tty_write.constprop.0+0x1b1/0x320 ? n_tty_flush_buffer+0xb0/0xb0 new_sync_write+0x10c/0x190 vfs_write+0x282/0x310 ksys_write+0x68/0xe0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3e5e35c15c Code: 8b 7c 24 08 89 c5 e8 c5 ff ff ff 89 ef 89 44 24 ---truncated---
- Yayın
- 18 Haz 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,1 · 3. yüzdelik
- CWE
- CWE-667
Rapor araçları
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,1
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
WordPress siteniz mi var? WP Lens ile ücretsiz tarayın
Noroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Üretici | Ürün | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- linux linux kernel2.6.35 ve sonrası · 5.18.18 öncesi
- linux linux kernel5.19 ve sonrası · 5.19.2 ö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.35etkilenir
- e1eaea46bb4020b38a141b84f88565d4603f8dd0 ve sonrası · 5020173e7e7725110a8d4be1359bf1dfc4b1814d öncesietkilenir · git
- e1eaea46bb4020b38a141b84f88565d4603f8dd0 ve sonrası · c165698c9919b000bdbe73859d3bb7b33bdb9223 öncesietkilenir · git
- e1eaea46bb4020b38a141b84f88565d4603f8dd0 ve sonrası · 7962a4b900099cf90e02859bb297f2c618d8d940 öncesietkilenir · git
- e1eaea46bb4020b38a141b84f88565d4603f8dd0 ve sonrası · 0af021678d5d30c31f5a6b631f404ead3575212a öncesietkilenir · git
- 2.6.35 öncesietkilenmez · semver
- 5.15.209 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
- 5.18.18 ve sonrası · 5.18.* dahil öncesietkilenmez · semver
- 5.19.2 ve sonrası · 5.19.* dahil öncesietkilenmez · semver
- 6.0 ve sonrasıetkilenmez · original_commit_for_fix
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:12 | linux | 5.19.6-1 öncesi | 5.19.6-1 |
| Red Hat:enterprise_linux:8::baseos | bpftool | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | bpftool-debuginfo | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-debuginfo | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-x86_64 | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-devel | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules-extra | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-debuginfo | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs | 0:4.18.0-553.el8_10 öncesi | 0:4.18.0-553.el8_10 |
+96
Aynı üründe
linux: tüm kayıtlarAynı 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 KEV89Hemen
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Hemen
- 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 haKEV83Hemen
- 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 creKEV77Bu 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 addKEV77Bu 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 loKEV77Bu 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 / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| Linux Linux | 0af021678d5d30c31f5a6b631f404ead3575212a | Üretici (CNA) |
| Linux Linux | 5020173e7e7725110a8d4be1359bf1dfc4b1814d | Üretici (CNA) |
| Linux Linux | 7962a4b900099cf90e02859bb297f2c618d8d940 | Üretici (CNA) |
| Linux Linux | c165698c9919b000bdbe73859d3bb7b33bdb9223 | Üretici (CNA) |
| debian:linux | 5.19.6-1 · Debian:12 | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| rocky linux:kernel | 0:4.18.0-553.123.1.el8_10.cloud.0.1 · Rocky Linux:8 | Paket deposu (OSV) |
| suse:kernel-64kb | 5.3.18-150300.59.218.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Paket deposu (OSV) |
| suse:kernel-default | 4.12.14-122.272.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Paket deposu (OSV) |
| suse:kernel-default-base | 5.3.18-150300.59.218.1.150300.18.130.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Paket deposu (OSV) |
| suse:kernel-docs | 5.3.18-150300.59.218.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_61 | 1-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Paket deposu (OSV) |
| suse:kernel-obs-build | 5.3.18-150300.59.218.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Paket deposu (OSV) |
| suse:kernel-preempt | 5.3.18-150300.59.218.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Paket deposu (OSV) |
| suse:kernel-rt | 5.14.21-150500.13.106.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-source | 4.12.14-122.272.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Paket deposu (OSV) |
| suse:kernel-source-rt | 5.14.21-150500.13.106.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-syms | 4.12.14-122.272.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Paket deposu (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_72 | 1-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Paket 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.
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.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıklayın, aynı araştırmacının diğer kayıtlarını görün.
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 LockingCVSS 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üğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (3 daha)Daha az göster
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.