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

tcp: fix page frag corruption on page fault

In the Linux kernel, the following vulnerability has been resolved: tcp: fix page frag corruption on page fault Steffen reported a TCP stream corruption for HTTP requests served by the apache web-server using a cifs mount-point and memory mapping the relevant file. The root cause is quite similar to the one addressed by commit 20eb4f29b602 ("net: fix sk_page_frag() recursion from memory reclaim"). Here the nested access to the task page frag is caused by a page fault on the (mmapped) user-space memory buffer coming from the cifs file. The page fault handler performs an smb transaction on a different socket, inside the same process context. Since sk->sk_allaction for such socket does not prevent the usage for the task_frag, the nested allocation modify "under the hood" the page frag in use by the outer sendmsg call, corrupting the stream. The overall relevant stack trace looks like the following: httpd 78268 [001] 3461630.850950: probe:tcp_sendmsg_locked: ffffffff91461d91 tcp_sendmsg_locked+0x1 ffffffff91462b57 tcp_sendmsg+0x27 ffffffff9139814e sock_sendmsg+0x3e ffffffffc06dfe1d smb_send_kvec+0x28 [...] ffffffffc06cfaf8 cifs_readpages+0x213 ffffffff90e83c4b read_pages+0x6b ffffffff90e83f31 __do_page_cache_readahead+0x1c1 ffffffff90e79e98 filemap_fault+0x788 ffffffff90eb0458 __do_fault+0x38 ffffffff90eb5280 do_fault+0x1a0 ffffffff90eb7c84 __handle_mm_fault+0x4d4 ffffffff90eb8093 handle_mm_fault+0xc3 ffffffff90c74f6d __do_page_fault+0x1ed ffffffff90c75277 do_page_fault+0x37 ffffffff9160111e page_fault+0x1e ffffffff9109e7b5 copyin+0x25 ffffffff9109eb40 _copy_from_iter_full+0xe0 ffffffff91462370 tcp_sendmsg_locked+0x5e0 ffffffff91462370 tcp_sendmsg_locked+0x5e0 ffffffff91462b57 tcp_sendmsg+0x27 ffffffff9139815c sock_sendmsg+0x4c ffffffff913981f7 sock_write_iter+0x97 ffffffff90f2cc56 do_iter_readv_writev+0x156 ffffffff90f2dff0 do_iter_write+0x80 ffffffff90f2e1c3 vfs_writev+0xa3 ffffffff90f2e27c do_writev+0x5c ffffffff90c042bb do_syscall_64+0x5b ffffffff916000ad entry_SYSCALL_64_after_hwframe+0x65 The cifs filesystem rightfully sets sk_allocations to GFP_NOFS, we can avoid the nesting using the sk page frag for allocation lacking the __GFP_FS flag. Do not define an additional mm-helper for that, as this is strictly tied to the sk page frag usage. v1 -> v2: - use a stricted sk_page_frag() check instead of reordering the code (Eric)

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

23

İzleyin

Şimdilik düşük öncelik.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %0,9

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,9
CNA · Linux
9,8
3,9 puan fark

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

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 kernel3.7 ve sonrası · 5.10.84 öncesi
  • linux linux kernel5.11 ve sonrası · 5.15.7 öncesi
  • linux linux kernel5.16

Ü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

    • 3.7etkilenir
    • 5640f7685831e088fe6c2e1f863a6805962f8e81 ve sonrası · c6f340a331fb72e5ac23a083de9c780e132ca3ae öncesietkilenir · git
    • 5640f7685831e088fe6c2e1f863a6805962f8e81 ve sonrası · 5a9afcd827cafe14a95c9fcbded2c2d104f18dfc öncesietkilenir · git
    • 5640f7685831e088fe6c2e1f863a6805962f8e81 ve sonrası · dacb5d8875cc6cd3a553363b4d6f06760fcbe70c öncesietkilenir · git
    • 3.7 öncesietkilenmez · semver
    • 5.10.84 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
    • 5.15.7 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
    • 5.16 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:12linux5.15.15-1 öncesi5.15.15-1
Red Hat:rhel_aus:8.2::baseosbpftool0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseosbpftool-debuginfo0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-abi-whitelists0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-core0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug-core0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug-debuginfo0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug-devel0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug-modules0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debug-modules-extra0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debuginfo0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-debuginfo-common-x86_640:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-devel0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-doc0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-modules0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-modules-extra0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-tools0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-tools-debuginfo0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseoskernel-tools-libs0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseosperf0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseosperf-debuginfo0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2
Red Hat:rhel_aus:8.2::baseospython3-perf0:4.18.0-193.98.1.el8_2 öncesi0:4.18.0-193.98.1.el8_2

+40

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 Linux5a9afcd827cafe14a95c9fcbded2c2d104f18dfcÜretici (CNA)
Linux Linuxc6f340a331fb72e5ac23a083de9c780e132ca3aeÜretici (CNA)
Linux Linuxdacb5d8875cc6cd3a553363b4d6f06760fcbe70cÜretici (CNA)
debian:linux5.15.15-1 · Debian:12Paket deposu (OSV)
red hat:bpftool0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:bpftool-debuginfo0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-abi-stablelists0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-core0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug-core0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug-debuginfo0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug-devel0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug-modules0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debug-modules-extra0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
red hat:kernel-debuginfo0:4.18.0-305.40.1.el8_4 · Red Hat:rhel_eus:8.4::baseosPaket deposu (OSV)
suse:kernel-rt4.12.14-10.191.1 · SUSE:Linux Enterprise Real Time 12 SP5Paket deposu (OSV)
suse:kernel-rt_debug4.12.14-10.191.1 · SUSE:Linux Enterprise Real Time 12 SP5Paket deposu (OSV)
suse:kernel-source-rt4.12.14-10.191.1 · SUSE:Linux Enterprise Real Time 12 SP5Paket deposu (OSV)
suse:kernel-syms-rt4.12.14-10.191.1 · SUSE:Linux Enterprise Real Time 12 SP5Paket 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ı

  • İnternetten erişebilen herkes tetikleyebilir.
  • Hesap ya da parola gerekmez.
  • Kullanıcının bir şey yapması gerekmez.
  • Zamanlama ya da yapılandırma gibi özel koşullar gerekir.

Başarılı olursa

Gizlilik
yüksek · veriler okunabilir
Bütünlük
yok
Erişilebilirlik
yok
Saldırı vektörü
Ağ
Karmaşıklık
Yüksek
Gereken yetki
Yok
Kullanıcı etkileşimi
Gerekmez
Kapsam
Değişmez
Gizlilik etkisi
Yüksek
Bütünlük etkisi
Yok
Erişilebilirlik etkisi
Yok

Zayıflık sınıfı (CWE)

—

CVSS vektörü

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

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