[BUG] pam_access.so segfaults

Darren Tucker dtucker at zip.com.au
Wed Oct 13 00:42:11 UTC 2004


Sven Köhler wrote:
>> on one of my computers, pam_acess.so segfults, ok, to be precise: sshd 
>> segfaults, since i included pam_access.sp in my config.
>> I guess the bug is in the code, that looksup the groups the user is 
>> in. A full description of the Bug is here:
>> http://bugs.gentoo.org/show_bug.cgi?id=65567
>>
>> Please tell me which data or info you need.
>> I will provide as much help as i can.
> 
> No reactions? What's wrong? Did i do anything wrong? Is this "bug" to 
> harmless? Is pam_access deprecated?

I'm not sure if this is your problem, but one thing that can cause this 
is if a PAM module does not correctly handle the appdata_ptr.

If the module doesn't pass it back (eg passes a null) then sshd ( <= 
3.8.1p1, I think) will segfault when it attempts to deref it.  From 
3.9p1, sshd will check for null and give a warning instead of crashing.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the Pam-list mailing list