Bug 2489805 (CVE-2026-12505) - CVE-2026-12505 cifs-utils: local privilege escalation via forged cifs.spnego key description in cifs.upcall
Summary: CVE-2026-12505 cifs-utils: local privilege escalation via forged cifs.spnego ...
Keywords:
Status: NEW
Alias: CVE-2026-12505
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2489808
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-17 10:22 UTC by OSIDB Bzimport
Modified: 2026-06-29 22:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:32990 0 None None None 2026-06-29 22:34:28 UTC

Description OSIDB Bzimport 2026-06-17 10:22:02 UTC
The vulnerability affects cifs.upcall in cifs-utils. When processing a cifs.spnego key request, cifs.upcall may switch into attacker-controlled namespaces before fully dropping its root privileges. During this transition, the helper performs NSS lookups using getpwuid() while still retaining privileged kernel credentials. An attacker may create a controlled user and mount namespace containing a malicious NSS configuration and NSS module. By triggering a crafted cifs.spnego request through request_key(), the attacker can cause cifs.upcall to load the malicious NSS module before privileges are fully dropped.

Comment 2 errata-xmlrpc 2026-06-29 22:34:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:32990 https://access.redhat.com/errata/RHSA-2026:32990


Note You need to log in before you can comment on or make changes to this bug.