Bug 2388220 (CVE-2025-8941)

Summary: CVE-2025-8941 linux-pam: Incomplete fix for CVE-2025-6020
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adudiak, carnil, kshier, omaciel, prodsec-dev, stcannon, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---Flags: carnil: needinfo? (prodsec-dev)
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a "complete" fix for CVE-2025-6020.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-08-13 12:39:41 UTC
CVE-2025-8941 – this is the “complete” fix for CVE-2025-6020, a directory-traversal privilege escalation in Linux-PAM’s pam_namespace module. The upstream patch fully addresses the symlink and race-condition attack vectors that were previously mitigated only partially.

Comment 1 Salvatore Bonaccorso 2025-08-19 12:52:33 UTC
Hi 

The description is not fully clear about that: Is this CVE for a Red Hat specific incomplte fix? The description above say "The upstream patch fully addresses the symlink and race-condition attack vectors that were previously mitigated only partially." so this sound that upstream was fine at every point in time with the patches and the CVE is specific for a Red Hat update for CVE-2025-6020? Can you please clarify?

Regards,
Salvatore

Comment 2 errata-xmlrpc 2025-09-03 00:41:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:15100 https://access.redhat.com/errata/RHSA-2025:15100

Comment 3 errata-xmlrpc 2025-09-03 00:50:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:15099 https://access.redhat.com/errata/RHSA-2025:15099

Comment 4 errata-xmlrpc 2025-09-03 01:11:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:15107 https://access.redhat.com/errata/RHSA-2025:15107

Comment 5 errata-xmlrpc 2025-09-03 01:21:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:15101 https://access.redhat.com/errata/RHSA-2025:15101

Comment 6 errata-xmlrpc 2025-09-03 01:25:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15102 https://access.redhat.com/errata/RHSA-2025:15102

Comment 7 errata-xmlrpc 2025-09-03 01:26:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2025:15104 https://access.redhat.com/errata/RHSA-2025:15104

Comment 8 errata-xmlrpc 2025-09-03 01:26:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:15103 https://access.redhat.com/errata/RHSA-2025:15103

Comment 9 errata-xmlrpc 2025-09-03 01:26:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:15105 https://access.redhat.com/errata/RHSA-2025:15105

Comment 10 errata-xmlrpc 2025-09-03 01:28:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:15106 https://access.redhat.com/errata/RHSA-2025:15106

Comment 12 errata-xmlrpc 2025-09-15 15:13:19 UTC
This issue has been addressed in the following products:

  Red Hat Web Terminal 1.12 on RHEL 9

Via RHSA-2025:15827 https://access.redhat.com/errata/RHSA-2025:15827

Comment 13 errata-xmlrpc 2025-09-15 15:14:10 UTC
This issue has been addressed in the following products:

  Red Hat Web Terminal 1.11 on RHEL 9

Via RHSA-2025:15828 https://access.redhat.com/errata/RHSA-2025:15828