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-2026-86086

Puan6.1 Orta
CVSS 3.1
KategoriBellek bozulması
Yayımlanma1 Aralık 2026
Son güncelleme: 1 Aralık 2026

Kısaca

Bu açık cihaza yerel erişimle, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: 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)

The CONFIG_USERSPACE syscall verifier for getsockopt() in subsys/net/lib/sockets/sockets.c dereferenced the caller-supplied optlen pointer without validating it. z_vrfy_zsock_getsockopt() began with net_socklen_t kernel_optlen = (net_socklen_t )optlen;, reading four bytes through an unprivileged thread's pointer while executing in supervisor mode, before any K_SYSCALL_MEMORY_READ or k_usermode_from_copy() check. Every sibling verifier in the same file — z_vrfy_zsock_accept(), z_vrfy_zsock_recvfrom(), z_vrfy_zsock_getpeername(), z_vrfy_zsock_getsockname() — validated the equivalent addrlen pointer correctly; getsockopt was the sole outlier. zsock_getsockopt() is declared __syscall in include/zephyr/net/socket.h, so any user-mode thread holding (or able to create) a socket can invoke it directly with an arbitrary pointer value. No preparation, race, or heap grooming is required: a single call is enough. The issue is only present in builds with CONFIG_USERSPACE=y and CONFIG_NET_SOCKETS=y, which is precisely the configuration intended to contain an untrusted thread. The word read is not returned to the caller directly: the trailing k_usermode_to_copy() writes the updated length back through optlen itself, and for a kernel address that write is rejected with a kernel oops. The leak is instead an oracle. The word read through optlen becomes the length checked by K_SYSCALL_MEMORY_WRITE(optval, kernel_optlen): a value larger than the caller's writable span at optval fails cleanly with -EPERM, while a smaller one proceeds to the oopsing write-back (or, for a large value, to a failed k_usermode_alloc_from_copy()). A thread can therefore learn whether a chosen kernel word is below a chosen threshold, but every "yes" answer costs a fatal error, which keeps the disclosure limited. That fatal error is the larger impact: the default k_sys_fatal_error_handler() halts or warm-reboots the whole system on a kernel oops rather than aborting only the offending thread, and passing NULL or an address not mapped for supervisor access as optlen faults in supervisor mode with the same result. The subsequent length-bounded copies remain checked, so there is no out-of-bounds write. The fix replaces the raw dereference with K_OOPS(k_usermode_from_copy(&kernel_optlen, optlen, sizeof(net_socklen_t))), which validates read access before copying and turns a malicious pointer into a clean kernel oops on the calling thread.

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

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

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-140419 Orta 5.7
    Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base…
    Bellek bozulması · 1 Aralık 2026
  • CVE-2026-140378 Orta 6.3
    ImageMagick before 7.1.2-36 contains an uninitialized pointer dereference vulnerability in the MSL decoder that allows attackers to crash the application by supplying crafted input. Attackers can provide a crafted MSL…
    Bellek bozulması · 1 Aralık 2026
  • CVE-2026-140377 Orta 6.3
    ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the image registry that occurs when the registry is used concurrently. Attackers can supply a set of crafted images that…
    Bellek bozulması · 1 Aralık 2026
  • CVE-2026-140376 Düşük 2.1
    ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the MPC image decoder when processing a crafted MPC image together with its associated cache file. Attackers who supply…
    Bellek bozulması · 1 Aralık 2026
  • CVE-2026-140373 Orta 6.9
    ImageMagick before 7.1.2-36 and 6.x before 6.9.13-61 contains a heap buffer overflow in the PCL, PDF, PS, and XPS decoders that writes past the bounds of a heap buffer when processing crafted input. Attackers can…
    Bellek bozulması · 1 Aralık 2026
  • CVE-2026-140372 Orta 6.9
    ImageMagick before 7.1.2-36 contains a heap buffer over-read vulnerability in the HEIC decoder that allows attackers to read beyond allocated memory by supplying crafted images. Attackers can provide a malicious HEIC…
    Bellek bozulması · 1 Aralık 2026