Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2024-35970
linux linux kernel

Puan6.3 Orta
CVSS 3.1
İstismar olasılığı (EPSS)0.68%
önümüzdeki 30 gün içinde
KategoriYarış durumu ve eşzamanlılık
Yayımlanma20 Mayıs 2024
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Etkisi sınırlı: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

In the Linux kernel, the following vulnerability has been resolved: af_unix: Clear stale u->oob_skb. syzkaller started to report deadlock of unix_gc_lock after commit 4090fa373f0e ("af_unix: Replace garbage collection algorithm."), but it just uncovers the bug that has been there since commit 314001f0bf92 ("af_unix: Add OOB support"). The repro basically does the following. from socket import * from array import array c1, c2 = socketpair(AF_UNIX, SOCK_STREAM) c1.sendmsg([b'a'], [(SOL_SOCKET, SCM_RIGHTS, array("i", [c2.fileno()]))], MSG_OOB) c2.recv(1) # blocked as no normal data in recv queue c2.close() # done async and unblock recv() c1.close() # done async and trigger GC A socket sends its file descriptor to itself as OOB data and tries to receive normal data, but finally recv() fails due to async close(). The problem here is wrong handling of OOB skb in manage_oob(). When recvmsg() is called without MSG_OOB, manage_oob() is called to check if the peeked skb is OOB skb. In such a case, manage_oob() pops it out of the receive queue but does not clear unix_sock(sk)->oob_skb. This is wrong in terms of uAPI. Let's say we send "hello" with MSG_OOB, and "world" without MSG_OOB. The 'o' is handled as OOB data. When recv() is called twice without MSG_OOB, the OOB data should be lost. >>> from socket import * >>> c1, c2 = socketpair(AF_UNIX, SOCK_STREAM, 0) >>> c1.send(b'hello', MSG_OOB) # 'o' is OOB data 5 >>> c1.send(b'world') 5 >>> c2.recv(5) # OOB data is not received b'hell' >>> c2.recv(5) # OOB date is skipped b'world' >>> c2.recv(5, MSG_OOB) # This should return an error b'o' In the same situation, TCP actually returns -EINVAL for the last recv(). Also, if we do not clear unix_sk(sk)->oob_skb, unix_poll() always set EPOLLPRI even though the data has passed through by previous recv(). To avoid these issues, we must clear unix_sk(sk)->oob_skb when dequeuing it from recv queue. The reason why the old GC did not trigger the deadlock is because the old GC relied on the receive queue to detect the loop. When it is triggered, the socket with OOB data is marked as GC candidate because file refcount == inflight count (1). However, after traversing all inflight sockets, the socket still has a positive inflight count (1), thus the socket is excluded from candidates. Then, the old GC lose the chance to garbage-collect the socket. With the old GC, the repro continues to create true garbage that will never be freed nor detected by kmemleak as it's linked to the global inflight list. That's why we couldn't even notice the issue.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Açık türü: CWE-667

Etkilenen ürünler

ÜreticiÜrünSürümler
linuxlinux kernel>=5.15 <5.15.156
linuxlinux kernel>=5.16 <6.1.87
linuxlinux kernel>=6.2 <6.6.28
linuxlinux kernel>=6.7 <6.8.7
linuxlinux kernel6.9

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-102961 Orta 5.9
    Zephyr's IPv6, IPv4 and IEEE 802.15.4 (6LoWPAN) fragment reassembly implementations each keep a global reassembly cache that two threads modify with no synchronization. In the IPv6 code in…
    Yarış durumu ve eşzamanlılık · 29 Kasım 2026
  • CVE-2026-138030 Düşük 2.3
    SylphxAI pdf-reader-mcp 2.4.1 through 3.0.14, 3.0.16, and 3.1.2 through 3.1.4 contains a server-side request forgery vulnerability in its PDF URL loader, which validates the resolved address but does not pin it for…
    Yarış durumu ve eşzamanlılık · 27 Kasım 2026
  • CVE-2026-81053 Orta 6.7
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability. A low privileged remote…
    Yarış durumu ve eşzamanlılık · 27 Kasım 2026
  • CVE-2026-80504 Orta 5.3
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability. A low privileged local…
    Yarış durumu ve eşzamanlılık · 27 Kasım 2026
  • CVE-2026-137938 Yüksek 7.3
    Sparkle before 2.9.6 contains a time-of-check time-of-use race condition in the installer's SPUInstallationData handling in AppInstaller.m, which validates the symlink-resolved download URL but performs the privileged…
    Yarış durumu ve eşzamanlılık · 27 Kasım 2026
  • CVE-2026-123758 Orta 4.4
    A race condition in the handling of the forward notification requests queue can lead to a crash if too many UDP notify packets for a given zone are received in a short time frame.
    Yarış durumu ve eşzamanlılık · 27 Kasım 2026