{"id":"CVE-2026-97564","aliases":["CVE-2026-97564"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: reject userspace cifs.idmap descriptions","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: reject userspace cifs.idmap descriptions\n\ncifs.idmap key descriptions carry authority-bearing fields (owner and\ngroup SIDs and uid/gid values in \"os:\"/\"gs:\"/\"oi:\"/\"gi:\" form) that the\ncifs.idmap upcall helper treats as kernel-originating inputs.  Unlike\nits sibling cifs.spnego, the cifs.idmap key type has no vet_description\nhook, so userspace can create keys of this type through\nrequest_key(2)/add_key(2) and supply those fields without CIFS origin.\nA request_key(2) call with a non-NULL callout then drives a root\nusermodehelper upcall (/sbin/request-key -> cifs.idmap) that consumes\nthe unvetted description in root context.\n\nOnly accept cifs.idmap descriptions while CIFS is using its private\nroot_cred to request the key.  id_to_sid()/sid_to_id() already run\nunder override_creds(root_cred), so the kernel-originated path is\nunaffected.\n\nThis mirrors commit 3da1fdf4efbc (\"smb: client: reject userspace\ncifs.spnego descriptions\"), which applied the same restriction to\ncifs.spnego.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: reject userspace cifs.idmap descriptions\n\ncifs.idmap key descriptions carry authority-bearing fields (owner and\ngroup SIDs and uid/gid values in \"os:\"/\"gs:\"/\"oi:\"/\"gi:\" form) that the\ncifs.idmap upcall helper treats as kernel-originating inputs.  Unlike\nits sibling cifs.spnego, the cifs.idmap key type has no vet_description\nhook, so userspace can create keys of this type through\nrequest_key(2)/add_key(2) and supply those fields without CIFS origin.\nA request_key(2) call with a non-NULL callout then drives a root\nusermodehelper upcall (/sbin/request-key -> cifs.idmap) that consumes\nthe unvetted description in root context.\n\nOnly accept cifs.idmap descriptions while CIFS is using its private\nroot_cred to request the key.  id_to_sid()/sid_to_id() already run\nunder override_creds(root_cred), so the kernel-originated path is\nunaffected.\n\nThis mirrors commit 3da1fdf4efbc (\"smb: client: reject userspace\ncifs.spnego descriptions\"), which applied the same restriction to\ncifs.spnego.","source":"cvelist"}],"published":"2026-09-25T10:21:51.858Z","modified":"2026-10-30T13:21:08.353Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"91da70a2e5c6f54e1316d51e0e6911e78ef5e09a","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"856cb3f05b49d23dc1542f78696e20c4ea6dd7de","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"f29c1ec0e7d8c887a91df3f93bb4617c0ac95c6a","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"17c93bcd17755523c21abb22cbf2a41a6eb0caaf","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"e5964064e3fbe6325893408faff08ca33de0e2c3","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"96751028c0d4dec785709ea3eb0ab38a4f2ded96","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"1d3b24b16a0b013792e8f1e3ed060f0b46f537d1","status":"affected"},{"type":"git","introduced":"4d79dba0e00749fa40de8ef13a9b85ce57a1603b","fixed":"d9d7eeb0cea5b55b82888f443622fd8d4ee064f3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/91da70a2e5c6f54e1316d51e0e6911e78ef5e09a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/856cb3f05b49d23dc1542f78696e20c4ea6dd7de","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f29c1ec0e7d8c887a91df3f93bb4617c0ac95c6a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17c93bcd17755523c21abb22cbf2a41a6eb0caaf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5964064e3fbe6325893408faff08ca33de0e2c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96751028c0d4dec785709ea3eb0ab38a4f2ded96","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d3b24b16a0b013792e8f1e3ed060f0b46f537d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9d7eeb0cea5b55b82888f443622fd8d4ee064f3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97564","url":"https://www.cve.org/CVERecord?id=CVE-2026-97564","licence":"CVE Terms of Use","modified":"2026-10-30T12:37:26.400Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97564","licence":"Public domain","modified":"2026-10-30T13:21:08.353Z"}],"updatedAt":"2026-11-25T22:59:40.958Z","epss":{"score":0.00216,"percentile":0.12821,"date":"2026-12-02T12:00:21.000Z"}}