xfs: fix freemap adjustments when adding xattrs to leaf blocks
In the Linux kernel, the following vulnerability has been resolved: xfs: fix freemap adjustments when adding xattrs to leaf blocks xfs/592 and xfs/794 both trip this assertion in the leaf block freemap adjustment code after ~20 minutes of running on my test VMs: ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) + xfs_attr3_leaf_hdr_size(leaf)); Upon enabling quite a lot more debugging code, I narrowed this down to fsstress trying to set a local extended attribute with namelen=3 and valuelen=71. This results in an entry size of 80 bytes. At the start of xfs_attr3_leaf_add_work, the freemap looks like this: i 0 base 448 size 0 rhs 448 count 46 i 1 base 388 size 132 rhs 448 count 46 i 2 base 2120 size 4 rhs 448 count 46 firstused = 520 where "rhs" is the first byte past the end of the leaf entry array. This is inconsistent -- the entries array ends at byte 448, but freemap[1] says there's free space starting at byte 388! By the end of the function, the freemap is in worse shape: i 0 base 456 size 0 rhs 456 count 47 i 1 base 388 size 52 rhs 456 count 47 i 2 base 2120 size 4 rhs 456 count 47 firstused = 440 Important note: 388 is not aligned with the entries array element size of 8 bytes. Based on the incorrect freemap, the name area starts at byte 440, which is below the end of the entries array! That's why the assertion triggers and the filesystem shuts down. How did we end up here? First, recall from the previous patch that the freemap array in an xattr leaf block is not intended to be a comprehensive map of all free space in the leaf block. In other words, it's perfectly legal to have a leaf block with: * 376 bytes in use by the entries array * freemap[0] has [base = 376, size = 8] * freemap[1] has [base = 388, size = 1500] * the space between 376 and 388 is free, but the freemap stopped tracking that some time ago If we add one xattr, the entries array grows to 384 bytes, and freemap[0] becomes [base = 384, size = 0]. So far, so good. But if we add a second xattr, the entries array grows to 392 bytes, and freemap[0] gets pushed up to [base = 392, size = 0]. This is bad, because freemap[1] hasn't been updated, and now the entries array and the free space claim the same space. The fix here is to adjust all freemap entries so that none of them collide with the entries array. Note that this fix relies on commit 2a2b5932db6758 ("xfs: fix attr leaf header freemap.size underflow") and the previous patch that resets zero length freemap entries to have base = 0.
- BDU:2026-11689
- ALSA-2026:21556
- ALSA-2026:21557
- ALSA-2026:21706
- ALSA-2026:21745
- RHSA-2026:21556
- RHSA-2026:21557
- RHSA-2026:21706
- RHSA-2026:21745
- RHSA-2026:26462
- RHSA-2026:26515
- RHSA-2026:26535
- RHSA-2026:26563
- RHSA-2026:26570
- RHSA-2026:27708
- RHSA-2026:27729
- RHSA-2026:27735
- RHSA-2026:33215
- RHSA-2026:41236
- RLSA-2026:21556
- Yayın
- 6 May 2026
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,5 · 39. yüzdelik
- CWE
- CWE-787
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ı
Aksiyon skoru
35
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,5
CNA ile NVD puanı
- NVD
- —
- CNA · Linux
- 8,8
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.
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 isteyinEtkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_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 kernel2.6.12.1 ve sonrası · 5.10.252 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.202 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.165 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.128 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.75 öncesi
- linux linux kernel6.13 ve sonrası · 6.18.16 öncesi
- linux linux kernel6.19 ve sonrası · 6.19.6 öncesi
- linux linux kernel2.6.12
Ü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
- 2.6.12etkilenir
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · d08976725355b9d54d8332fce223fa281cc304a5 öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · 6a8737afbccc340e718e0b22577312826390be8b öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · a396b3d73d51355e50acdb403ba9c4cae4c1174e öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · 38613c01f69e1e77e6b8acab1e8ac665d01c2f15 öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · ef42a8766ff3fdf51cf72fb36d0859c09d134478 öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · 43f3b18679615a93bd848afde3602ba160637a46 öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · 24ce71852f2cee6581e2cbebc15489ed52bf63b7 öncesietkilenir · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ve sonrası · 3eefc0c2b78444b64feeb3783c017d6adc3cd3ce öncesietkilenir · git
- 2.6.12 öncesietkilenmez · semver
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| AlmaLinux:10 | kernel | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel-matched | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-extra | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-cross-headers | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel-matched | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules-core | 6.12.0-211.18.1.el10_2 öncesi | 6.12.0-211.18.1.el10_2 |
+96
Aynı üründe
linux: tüm kayıtlarAynı 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 KEV89Hemen
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Hemen
- 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 haKEV83Hemen
- 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 creKEV77Bu 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 addKEV77Bu 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 loKEV77Bu 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 / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| Linux Linux | 24ce71852f2cee6581e2cbebc15489ed52bf63b7 | Üretici (CNA) |
| Linux Linux | 38613c01f69e1e77e6b8acab1e8ac665d01c2f15 | Üretici (CNA) |
| Linux Linux | 3eefc0c2b78444b64feeb3783c017d6adc3cd3ce | Üretici (CNA) |
| Linux Linux | 43f3b18679615a93bd848afde3602ba160637a46 | Üretici (CNA) |
| Linux Linux | 6a8737afbccc340e718e0b22577312826390be8b | Üretici (CNA) |
| Linux Linux | a396b3d73d51355e50acdb403ba9c4cae4c1174e | Üretici (CNA) |
| Linux Linux | d08976725355b9d54d8332fce223fa281cc304a5 | Üretici (CNA) |
| Linux Linux | ef42a8766ff3fdf51cf72fb36d0859c09d134478 | Üretici (CNA) |
| almalinux:kernel | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-core | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel-matched | 5.14.0-687.12.1.el9_8 · AlmaLinux:9 | Paket deposu (OSV) |
| debian:linux | 6.1.170-1 · Debian:12 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-687.12.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
+5
İ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.
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.
Kredi
Tüm araştırmacılarCNA 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).
Ulusal bildirim (Siber Güvenlik Başkanlığı / USOM)
Bu kaydı anan resmi güvenlik bildirimleri; çözüm önerisi kurumun sayfasında.
- TR-26-0196 · 8 May 2026(Linux Kernel Güvenlik Bildirimi)
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes 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
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-787 · Out-of-bounds WriteCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
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üğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- git.kernel.org/stable/c/24ce71852f2cee6581e2cbebc15489ed52bf63b7
- git.kernel.org/stable/c/38613c01f69e1e77e6b8acab1e8ac665d01c2f15
- git.kernel.org/stable/c/3eefc0c2b78444b64feeb3783c017d6adc3cd3ce
- git.kernel.org/stable/c/43f3b18679615a93bd848afde3602ba160637a46
- git.kernel.org/stable/c/6a8737afbccc340e718e0b22577312826390be8b
- git.kernel.org/stable/c/a396b3d73d51355e50acdb403ba9c4cae4c1174e
- git.kernel.org/stable/c/d08976725355b9d54d8332fce223fa281cc304a5
- git.kernel.org/stable/c/ef42a8766ff3fdf51cf72fb36d0859c09d134478
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.