selinux: use sk blob accessor in socket permission helpers (Linux Linux)

CVE-2026-46104
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: selinux: use sk blob accessor in socket permission helpers SELinux socket state lives in the composite LSM socket blob. sock_has_perm() and nlmsg_sock_has_extended_perms() currently dereference sk->sk_security directly, which assumes the SELinux socket blob is at offset zero. In stacked configurations that assumption does not hold. If another LSM allocates socket blob storage before SELinux, these helpers may read the wrong blob and feed invalid SID and class values into AVC checks. Use selinux_sock() instead of accessing sk->sk_security directly.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d1d991efaf34606d500dcbd28bedc0666eeec8e2 < d350fef4bc2467fe1bce15f7a20fe60e01ce41ad ; affected d1d991efaf34606d500dcbd28bedc0666eeec8e2 < 7eca71f57f194c1638ebb7f4097d6be8fd04c101 ; affected d1d991efaf34606d500dcbd28bedc0666eeec8e2 < 032e70aff025d7c519af9ab791cd084380619263
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.18.30 ≤ 6.18.* ; unaffected 7.0.7 ≤ 7.0.* ; unaffected 7.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD