selinux: reject an unclaimed class value in security_get_classes() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 6 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: selinux: reject an unclaimed class value in security_get_classes() security_get_classes() sizes an array by p_classes.nprim and fills it at value - 1, so a class value the policy never defines leaves a NULL. sel_make_classes() passes every entry to sel_make_dir(), reaching the same d_alloc_name() dereference as the permission array. The class symbol table is allowed to be sparse (policydb_class_isvalid() exists to absorb that), but this getter builds its own array straight from the hash table and has no such predicate. Fail the lookup when a value went unclaimed instead of handing out the NULL. Conforming policies define every class they declare and are unaffected.
Références
- https://git.kernel.org/stable/c/d2e7f7035d6f407119ba5467f7218cc4370844fc
- https://git.kernel.org/stable/c/f38a71868888285efc9c0ab5b032e23919c5a0a1
- https://git.kernel.org/stable/c/3480c081c23d559fd9a6921b76955664f2e95153
- https://git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094
- https://git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856
- https://git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b
- https://git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a
- https://git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd
Références européennes
- ENISA EUVD · EUVD-2026-71615
- GCVE · GCVE-0-2026-80912
Avis du CERT-FR
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < d2e7f7035d6f407119ba5467f7218cc4370844fc ; affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < f38a71868888285efc9c0ab5b032e23919c5a0a1 ; affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < 3480c081c23d559fd9a6921b76955664f2e95153 ; affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < e0285bb152211c00900136b66d4b420c14a59094 ; affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < 099869e9343a5f8c22b58497f074b34f63cbf856 ; affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 < 841aea4d5a25e16273d04cd07a74142b4687e03b |
| Linux · Linux | affected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.153 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |