Bug 2231556

Summary: pam_faillock audit events duplicate uid
Product: Red Hat Enterprise Linux 9 Reporter: Steve Grubb <sgrubb>
Component: pamAssignee: Iker Pedrosa <ipedrosa>
Status: NEW --- QA Contact: sssd-qe
Severity: medium Docs Contact:
Priority: high    
Version: 9.3CC: pbrezina
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Grubb 2023-08-11 21:15:14 UTC
Description of problem:
It was found that pam_faillock is making bad audit events. Seems to be this way a while. But recently found that it can mislead ausearch to associate the wrong name to uid. The fix is to change uid to suid. There is a patch here that upstream recently accepted:

https://github.com/linux-pam/linux-pam/pull/591

This should be applied as soon as possible, because once the event is created wrong, it's that way forever.