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

bpf: track changes_pkt_data property for global functions

In the Linux kernel, the following vulnerability has been resolved: bpf: track changes_pkt_data property for global functions When processing calls to certain helpers, verifier invalidates all packet pointers in a current state. For example, consider the following program: __attribute__((__noinline__)) long skb_pull_data(struct __sk_buff *sk, __u32 len) { return bpf_skb_pull_data(sk, len); } SEC("tc") int test_invalidate_checks(struct __sk_buff *sk) { int *p = (void *)(long)sk->data; if ((void *)(p + 1) > (void *)(long)sk->data_end) return TCX_DROP; skb_pull_data(sk, 0); *p = 42; return TCX_PASS; } After a call to bpf_skb_pull_data() the pointer 'p' can't be used safely. See function filter.c:bpf_helper_changes_pkt_data() for a list of such helpers. At the moment verifier invalidates packet pointers when processing helper function calls, and does not traverse global sub-programs when processing calls to global sub-programs. This means that calls to helpers done from global sub-programs do not invalidate pointers in the caller state. E.g. the program above is unsafe, but is not rejected by verifier. This commit fixes the omission by computing field bpf_subprog_info->changes_pkt_data for each sub-program before main verification pass. changes_pkt_data should be set if: - subprogram calls helper for which bpf_helper_changes_pkt_data returns true; - subprogram calls a global function, for which bpf_subprog_info->changes_pkt_data should be set. The verifier.c:check_cfg() pass is modified to compute this information. The commit relies on depth first instruction traversal done by check_cfg() and absence of recursive function calls: - check_cfg() would eventually visit every call to subprogram S in a state when S is fully explored; - when S is fully explored: - every direct helper call within S is explored (and thus changes_pkt_data is set if needed); - every call to subprogram S1 called by S was visited with S1 fully explored (and thus S inherits changes_pkt_data from S1). The downside of such approach is that dead code elimination is not taken into account: if a helper call inside global function is dead because of current configuration, verifier would conservatively assume that the call occurs for the purpose of the changes_pkt_data computation.

OrtaCVSS 5.5 · v3.1—İstismar yok Düzeltme var
Yayın
5 May 2025
Güncelleme
5 Ağu 2026
EPSS
%0,2 · 8. yüzdelik
CWE
—
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,2

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.

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 kernel5.6 ve sonrası · 6.6.90 öncesi
  • linux linux kernel6.7 ve sonrası · 6.12.25 öncesi
  • linux linux kernel6.13

Ü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

    • 5.6etkilenir
    • 51c39bb1d5d105a02e29aa7960f0a395086e6342 ve sonrası · 79751e9227a5910c0e5a2c7186877d91821d957d öncesietkilenir · git
    • 51c39bb1d5d105a02e29aa7960f0a395086e6342 ve sonrası · 1d572c60488b52882b719ed273767ee3b280413d öncesietkilenir · git
    • 51c39bb1d5d105a02e29aa7960f0a395086e6342 ve sonrası · 51081a3f25c742da5a659d7fc6fd77ebfdd555be öncesietkilenir · git
    • 5.6 öncesietkilenmez · semver
    • 6.6.90 ve sonrası · 6.6.* dahil öncesietkilenmez · semver
    • 6.12.25 ve sonrası · 6.12.* dahil öncesietkilenmez · semver
    • 6.13 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.

EkosistemPaketEtkilenen aralıkDüzeltme
Debian:12linuxtüm sürümler—
Debian:13linux6.12.25-1 öncesi6.12.25-1
openSUSE:Leap 15.6dtb-aarch646.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-debug6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-kvmsmall6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-obs-qa6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_121-150600.13.3.1 öncesi1-150600.13.3.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_121-150600.13.3.1 öncesi1-150600.13.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kb6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kb6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1 öncesi6.4.0-150600.23.53.1.150600.12.24.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1 öncesi6.4.0-150600.23.53.1.150600.12.24.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-source6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-source6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdump6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdump6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docs6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docs6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-build6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-build6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-syms6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-syms6.4.0-150600.23.53.1 öncesi6.4.0-150600.23.53.1

+12

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 Linux1d572c60488b52882b719ed273767ee3b280413dÜretici (CNA)
Linux Linux51081a3f25c742da5a659d7fc6fd77ebfdd555beÜretici (CNA)
Linux Linux79751e9227a5910c0e5a2c7186877d91821d957dÜretici (CNA)
azl3 kernel 6.6.85.1-4 on Azure Linux 3.06.6.92.2-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kernel 6.6.92.2-1 on Azure Linux 3.06.6.92.2-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0Release NotesMicrosoft (MSRC)
debian:linux6.12.25-1 · Debian:13Paket deposu (OSV)
opensuse:kernel-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Paket deposu (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Paket deposu (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Paket deposu (OSV)
suse:kernel-64kb6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-default6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-docs6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Paket deposu (OSV)
suse:kernel-source6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-source-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-syms-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-zfcpdump6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket 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)

—

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.

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