smb: client: reject userspace cifs.idmap descriptions (Linux Linux)

CVE-2026-97564
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: reject userspace cifs.idmap descriptions cifs.idmap key descriptions carry authority-bearing fields (owner and group SIDs and uid/gid values in "os:"/"gs:"/"oi:"/"gi:" form) that the cifs.idmap upcall helper treats as kernel-originating inputs. Unlike its sibling cifs.spnego, the cifs.idmap key type has no vet_description hook, so userspace can create keys of this type through request_key(2)/add_key(2) and supply those fields without CIFS origin. A request_key(2) call with a non-NULL callout then drives a root usermodehelper upcall (/sbin/request-key -> cifs.idmap) that consumes the unvetted description in root context. Only accept cifs.idmap descriptions while CIFS is using its private root_cred to request the key. id_to_sid()/sid_to_id() already run under override_creds(root_cred), so the kernel-originated path is unaffected. This mirrors commit 3da1fdf4efbc ("smb: client: reject userspace cifs.spnego descriptions"), which applied the same restriction to cifs.spnego.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < 91da70a2e5c6f54e1316d51e0e6911e78ef5e09a ; affected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < 856cb3f05b49d23dc1542f78696e20c4ea6dd7de ; affected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < f29c1ec0e7d8c887a91df3f93bb4617c0ac95c6a ; affected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < 17c93bcd17755523c21abb22cbf2a41a6eb0caaf ; affected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < e5964064e3fbe6325893408faff08ca33de0e2c3 ; affected 4d79dba0e00749fa40de8ef13a9b85ce57a1603b < 96751028c0d4dec785709ea3eb0ab38a4f2ded96
Linux · Linuxaffected 3.0 ; unaffected 0 < 3.0 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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