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

nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().

In the Linux kernel, the following vulnerability has been resolved: nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment(). syzbot triggered various splats (see [0] and links) by a crafted GSO packet of VIRTIO_NET_HDR_GSO_UDP layering the following protocols: ETH_P_8021AD + ETH_P_NSH + ETH_P_IPV6 + IPPROTO_UDP NSH can encapsulate IPv4, IPv6, Ethernet, NSH, and MPLS. As the inner protocol can be Ethernet, NSH GSO handler, nsh_gso_segment(), calls skb_mac_gso_segment() to invoke inner protocol GSO handlers. nsh_gso_segment() does the following for the original skb before calling skb_mac_gso_segment() 1. reset skb->network_header 2. save the original skb->{mac_heaeder,mac_len} in a local variable 3. pull the NSH header 4. resets skb->mac_header 5. set up skb->mac_len and skb->protocol for the inner protocol. and does the following for the segmented skb 6. set ntohs(ETH_P_NSH) to skb->protocol 7. push the NSH header 8. restore skb->mac_header 9. set skb->mac_header + mac_len to skb->network_header 10. restore skb->mac_len There are two problems in 6-7 and 8-9. (a) After 6 & 7, skb->data points to the NSH header, so the outer header (ETH_P_8021AD in this case) is stripped when skb is sent out of netdev. Also, if NSH is encapsulated by NSH + Ethernet (so NSH-Ethernet-NSH), skb_pull() in the first nsh_gso_segment() will make skb->data point to the middle of the outer NSH or Ethernet header because the Ethernet header is not pulled by the second nsh_gso_segment(). (b) While restoring skb->{mac_header,network_header} in 8 & 9, nsh_gso_segment() does not assume that the data in the linear buffer is shifted. However, udp6_ufo_fragment() could shift the data and change skb->mac_header accordingly as demonstrated by syzbot. If this happens, even the restored skb->mac_header points to the middle of the outer header. It seems nsh_gso_segment() has never worked with outer headers so far. At the end of nsh_gso_segment(), the outer header must be restored for the segmented skb, instead of the NSH header. To do that, let's calculate the outer header position relatively from the inner header and set skb->{data,mac_header,protocol} properly. [0]: BUG: KMSAN: uninit-value in ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:524 [inline] BUG: KMSAN: uninit-value in ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline] BUG: KMSAN: uninit-value in ipvlan_queue_xmit+0xf44/0x16b0 drivers/net/ipvlan/ipvlan_core.c:668 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:524 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline] ipvlan_queue_xmit+0xf44/0x16b0 drivers/net/ipvlan/ipvlan_core.c:668 ipvlan_start_xmit+0x5c/0x1a0 drivers/net/ipvlan/ipvlan_main.c:222 __netdev_start_xmit include/linux/netdevice.h:4989 [inline] netdev_start_xmit include/linux/netdevice.h:5003 [inline] xmit_one net/core/dev.c:3547 [inline] dev_hard_start_xmit+0x244/0xa10 net/core/dev.c:3563 __dev_queue_xmit+0x33ed/0x51c0 net/core/dev.c:4351 dev_queue_xmit include/linux/netdevice.h:3171 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3081 [inline] packet_sendmsg+0x8aef/0x9f10 net/packet/af_packet.c:3113 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x735/0xa10 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0x125/0x1c0 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook mm/slub.c:3819 [inline] slab_alloc_node mm/slub.c:3860 [inline] __do_kmalloc_node mm/slub.c:3980 [inline] __kmalloc_node_track_caller+0x705/0x1000 mm/slub.c:4001 kmalloc_reserve+0x249/0x4a0 net/core/skbuff.c:582 __ ---truncated---

OrtaCVSS 5.5 · v3.1—İstismar yok Düzeltme var
Yayın
30 May 2024
Güncelleme
5 Ağu 2026
EPSS
%0,3 · 20. 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,3

CISA SSVC kararı

Sömürü
yok
Otomatikleştirilebilir
hayır
Teknik etki
kısmi

Vulnrichment: CISA'nın karar ağacı girdileri.

CNA ile NVD puanı

NVD
5,5
CNA · Linux
7,8
2,3 puan fark

CVSS:3.1/AV:L/AC:L/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.

Etkilenen sistemler

ÜreticiÜrün
linuxlinux kernel
debiandebian linux

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.

  • debian debian linux10.0
  • linux linux kernel4.20 ve sonrası · 5.4.276 öncesi
  • linux linux kernel5.5 ve sonrası · 5.10.217 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.159 öncesi
  • linux linux kernel4.14 ve sonrası · 4.19.314 öncesi
  • linux linux kernel6.2 ve sonrası · 6.6.31 öncesi
  • linux linux kernel6.7 ve sonrası · 6.8.10 öncesi
  • linux linux kernel5.16 ve sonrası · 6.1.91 öncesi
  • linux linux kernel6.9

Ü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

    • 4.14etkilenir
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · a7c2c3c1caabcb4a3d6c47284c397507aaf54fe9 öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 46134031c20fd313d03b90169d64b2e05ca6b65c öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · bbccf0caef2fa917d6d0692385a06ce3c262a216 öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 5a4603fbc285752d19e4b415466db18ef3617e4a öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 37ed6f244ec5bda2e90b085084e322ea55d0aaa2 öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 696d18bb59727a2e0526c0802a812620be1c9340 öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 29a07f2ee4d273760c2acbfc756e29eccd82470a öncesietkilenir · git
    • c411ed854584a71b0e86ac3019b60e4789d88086 ve sonrası · 4b911a9690d72641879ea6d13cce1de31d346d79 öncesietkilenir · git
    • 4.14 ö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.1.94-1 öncesi6.1.94-1
Debian:13linux6.8.11-1 öncesi6.8.11-1
Red Hat:rhel_eus:9.4::appstreambpftool-debuginfo0:7.3.0-427.72.1.el9_4 öncesi0:7.3.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-debug-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-debug-devel0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-debug-devel-matched0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-devel0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-64k-devel-matched0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debug-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debug-devel0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debug-devel-matched0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debuginfo-common-aarch640:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debuginfo-common-ppc64le0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debuginfo-common-s390x0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-debuginfo-common-x86_640:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-devel0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-devel-matched0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-doc0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-rt-debug-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-rt-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-tools-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4
Red Hat:rhel_eus:9.4::appstreamkernel-zfcpdump-debuginfo0:5.14.0-427.72.1.el9_4 öncesi0:5.14.0-427.72.1.el9_4

+56

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 Linux29a07f2ee4d273760c2acbfc756e29eccd82470aÜretici (CNA)
Linux Linux37ed6f244ec5bda2e90b085084e322ea55d0aaa2Üretici (CNA)
Linux Linux46134031c20fd313d03b90169d64b2e05ca6b65cÜretici (CNA)
Linux Linux4b911a9690d72641879ea6d13cce1de31d346d79Üretici (CNA)
Linux Linux5a4603fbc285752d19e4b415466db18ef3617e4aÜretici (CNA)
Linux Linux696d18bb59727a2e0526c0802a812620be1c9340Üretici (CNA)
Linux Linuxa7c2c3c1caabcb4a3d6c47284c397507aaf54fe9Üretici (CNA)
Linux Linuxbbccf0caef2fa917d6d0692385a06ce3c262a216Üretici (CNA)
debian:linux6.1.94-1 · Debian:12Paket deposu (OSV)
red hat:bpftool-debuginfo0:7.3.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-devel0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-debug-devel0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-debuginfo0:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket deposu (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-427.72.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPaket 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-2024-50302172 gün araylaHID: core: zero-initialize the report bufferKEV
    52Planlayın
  • CVE-2024-47685144 gün araylanetfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
    36İzleyin
  • CVE-2024-368980 gün araylagpiolib: cdev: fix uninitialised kfifo
    31İzleyin
  • CVE-2021-475536 gün araylasched/scs: Reset task stack state in bringup_cpu()
    31İzleyin
  • CVE-2024-2702229 gün araylafork: defer linking file vma until vma is fully initialized
    31İzleyin
  • CVE-2024-50143161 gün araylaudf: fix uninit-value use in udf_get_fileshortad
    31İ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
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

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

Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.

Noroxi analizi

Bu kayıt için henüz Noroxi analizi yok

385 binden fazla 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

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