[OpenAFS] pagsh and big uid with linux

Stefan Reimbold Stefan.Reimbold@de.ibm.com
Tue, 15 Jan 2002 12:49:51 +0100


Hi All,

I'm using SuSE 7.2 with kernel version 2.4.4-4GB. After installing
openafs-1.2.2a I discovered a problem with pagsh and big uids.

Users who have UIDs bigger then 65535 get their UIDs mapped to (UID%655=
35).
These can leed to unauthorized root access as shown in the following
example.

% id
uid=3D65536(test) gid=3D100(users) Gruppen=3D100(users)
% pagsh
% id
uid=3D0(root) gid=3D100(users) Gruppen=3D33807,41162,100(users)

The groups seem to be mangled to, so I assume there's a type for the UI=
D to
small, so the field for GID gets overwritten.

I tested this on AIX as well and on AIX it is ok. So it seems to be a
problem with the linux AFS kernel module.

Best Regards  --  Mit freundlichen Gr=FC=DFen...Stefan Reimbold=