Squashfs: fix handling and sanity checking of xattr_ids count
In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix handling and sanity checking of xattr_ids count A Sysbot [1] corrupted filesystem exposes two flaws in the handling and sanity checking of the xattr_ids count in the filesystem. Both of these flaws cause computation overflow due to incorrect typing. In the corrupted filesystem the xattr_ids value is 4294967071, which stored in a signed variable becomes the negative number -225. Flaw 1 (64-bit systems only): The signed integer xattr_ids variable causes sign extension. This causes variable overflow in the SQUASHFS_XATTR_*(A) macros. The variable is first multiplied by sizeof(struct squashfs_xattr_id) where the type of the sizeof operator is "unsigned long". On a 64-bit system this is 64-bits in size, and causes the negative number to be sign extended and widened to 64-bits and then become unsigned. This produces the very large number 18446744073709548016 or 2^64 - 3600. This number when rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and divided by SQUASHFS_METADATA_SIZE overflows and produces a length of 0 (stored in len). Flaw 2 (32-bit systems only): On a 32-bit system the integer variable is not widened by the unsigned long type of the sizeof operator (32-bits), and the signedness of the variable has no effect due it always being treated as unsigned. The above corrupted xattr_ids value of 4294967071, when multiplied overflows and produces the number 4294963696 or 2^32 - 3400. This number when rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and divided by SQUASHFS_METADATA_SIZE overflows again and produces a length of 0. The effect of the 0 length computation: In conjunction with the corrupted xattr_ids field, the filesystem also has a corrupted xattr_table_start value, where it matches the end of filesystem value of 850. This causes the following sanity check code to fail because the incorrectly computed len of 0 matches the incorrect size of the table reported by the superblock (0 bytes). len = SQUASHFS_XATTR_BLOCK_BYTES(*xattr_ids); indexes = SQUASHFS_XATTR_BLOCKS(*xattr_ids); /* * The computed size of the index table (len bytes) should exactly * match the table start and end points */ start = table_start + sizeof(*id_table); end = msblk->bytes_used; if (len != (end - start)) return ERR_PTR(-EINVAL); Changing the xattr_ids variable to be "usigned int" fixes the flaw on a 64-bit system. This relies on the fact the computation is widened by the unsigned long type of the sizeof operator. Casting the variable to u64 in the above macro fixes this flaw on a 32-bit system. It also means 64-bit systems do not implicitly rely on the type of the sizeof operator to widen the computation. [1] https://lore.kernel.org/lkml/000000000000cd44f005f1a0f17f@google.com/
- Yayın
- 27 Mar 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,3 · 17. yüzdelik
- CWE
- CWE-190
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
22
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,3
Etkilenen 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 kernel4.4.258 ve sonrası · 4.5 öncesi
- linux linux kernel4.9.258 ve sonrası · 4.10 öncesi
- linux linux kernel4.14.222 ve sonrası · 4.14.306 öncesi
- linux linux kernel4.19.176 ve sonrası · 4.19.273 öncesi
- linux linux kernel5.4.98 ve sonrası · 5.4.232 öncesi
- linux linux kernel5.10.16 ve sonrası · 5.10.168 öncesi
- linux linux kernel5.11.1 ve sonrası · 5.15.93 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.11 öncesi
- linux linux kernel5.11
- linux linux kernel6.2
Ü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
- 91d4f4d0d7bcd6abd9f9288ff40f4edc716f3d4b, eca93bf20f70e0f78c8c28720951942f61a49117, 5.11etkilenir
- ff49cace7b8cf00d27665f7536a863d406963d06 ve sonrası · 7fe583c9bec10cd4b76231c51b37f3e4ca646e01 öncesietkilenir · git
- a8717b34003f4f7353b23826617ad872f85d85d8 ve sonrası · b38c3e9e0adc01956cc3e5a52e4d3f92f79d88e2 öncesietkilenir · git
- 3654a0ed0bdc6d70502bfc7c9fec9f1e243dfcad ve sonrası · 1369322c1de52c7b9b988b95c9903110a4566778 öncesietkilenir · git
- bddcce15cd1fb9675ddd46a76d8fe2d0a571313b ve sonrası · 5c4d4a83bf1a862d80c1efff1c6e3ce33b501e2e öncesietkilenir · git
- 506220d2ba21791314af569211ffd8870b8208fa ve sonrası · 997bed0f3cde78a3e639d624985bf4a95cf767e6 öncesietkilenir · git
- 506220d2ba21791314af569211ffd8870b8208fa ve sonrası · a7da7d01ac5ce9b369a1ac70e1197999cc6c9686 öncesietkilenir · git
- 506220d2ba21791314af569211ffd8870b8208fa ve sonrası · f65c4bbbd682b0877b669828b4e033b8d5d0a2dc öncesietkilenir · git
- 4.14.222 ve sonrası · 4.14.306 öncesietkilenir · semver
- 4.19.176 ve sonrası · 4.19.273 öncesietkilenir · 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:9 | kernel | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-570.24.1.el9_6 öncesi | 5.14.0-570.24.1.el9_6 |
+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 | 1369322c1de52c7b9b988b95c9903110a4566778 | Üretici (CNA) |
| Linux Linux | 4.10 | Üretici (CNA) |
| Linux Linux | 4.14.306 | Üretici (CNA) |
| Linux Linux | 4.19.273 | Üretici (CNA) |
| Linux Linux | 4.5 | Üretici (CNA) |
| Linux Linux | 5.10.168 | Üretici (CNA) |
| Linux Linux | 5.4.232 | Üretici (CNA) |
| Linux Linux | 5c4d4a83bf1a862d80c1efff1c6e3ce33b501e2e | Üretici (CNA) |
| Linux Linux | 7fe583c9bec10cd4b76231c51b37f3e4ca646e01 | Üretici (CNA) |
| Linux Linux | 997bed0f3cde78a3e639d624985bf4a95cf767e6 | Üretici (CNA) |
| Linux Linux | a7da7d01ac5ce9b369a1ac70e1197999cc6c9686 | Üretici (CNA) |
| Linux Linux | b38c3e9e0adc01956cc3e5a52e4d3f92f79d88e2 | Üretici (CNA) |
| Linux Linux | f65c4bbbd682b0877b669828b4e033b8d5d0a2dc | Üretici (CNA) |
| almalinux:kernel | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-core | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel-matched | 5.14.0-570.24.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| debian:linux | 6.1.11-1 · Debian:12 | Paket deposu (OSV) |
| red hat:kernel-rt | 0:5.14.0-284.125.1.rt14.410.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Paket deposu (OSV) |
| red hat:kernel-rt-core | 0:5.14.0-284.125.1.rt14.410.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Paket deposu (OSV) |
| red hat:kernel-rt-debug | 0:5.14.0-284.125.1.rt14.410.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Paket deposu (OSV) |
| red hat:kernel-rt-debug-core | 0:5.14.0-284.125.1.rt14.410.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Paket deposu (OSV) |
+17
İ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.
- CVE-2026-31633393 gün araylarxrpc: Fix integer overflow in rxgk_verify_response()39İzleyin
- CVE-2026-31649393 gün araylanet: stmmac: fix integer underflow in chain mode39İzleyin
- CVE-2026-46039426 gün araylarxgk: Fix potential integer overflow in length check39İzleyin
- CVE-2026-46198427 gün araylabatman-adv: fix integer overflow on buff_pos35İzleyin
- CVE-2026-64313485 gün araylacrypto: ecc - Fix carry overflow in vli multiplication35İzleyin
- CVE-2022-49030157 gün araylalibbpf: Handle size overflow for ringbuf mmap31İ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
Zayıflık sınıfı (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS 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ı.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
—
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 isteyinDeğ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/1369322c1de52c7b9b988b95c9903110a4566778
- git.kernel.org/stable/c/5c4d4a83bf1a862d80c1efff1c6e3ce33b501e2e
- git.kernel.org/stable/c/7fe583c9bec10cd4b76231c51b37f3e4ca646e01
- git.kernel.org/stable/c/997bed0f3cde78a3e639d624985bf4a95cf767e6
- git.kernel.org/stable/c/a7da7d01ac5ce9b369a1ac70e1197999cc6c9686
- git.kernel.org/stable/c/b38c3e9e0adc01956cc3e5a52e4d3f92f79d88e2
- git.kernel.org/stable/c/f65c4bbbd682b0877b669828b4e033b8d5d0a2dc
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.