Re: [alpine-devel] Bug in rpc.mountd
On Mon, 21 May 2012 16:47:47 +0200
alex M <lonkaji_at_gmail.com> wrote:
> I answered only to you, so I repost it to the ml.
> bei:~# apk version 'libc0.9.32'
> Installed: Available:
> libc0.9.32-0.9.33.2-r1 = 0.9.33.2-r1
> bei:~# cat /etc/apk/repositories
> bei:~# uname -a
> Linux bei 3.3.6-grsec #1-Alpine SMP Mon May 14 13:42:17 UTC 2012
> x86_64 Linux
> And yes it was working with the 2.4.1
> The segfault happen when I try to mount the nfs share. I can let you
> an SSH access if you want to check around my system.
Will not be necessary. I am able to reproduce it here.
I noticed there are a new grsec patch available and a new version of
nfs-utils. I'll test those and if they work I'll push them to v2.4
> Thanks for taking care of this problem.
> On Mon, May 21, 2012 at 3:27 PM, Natanael Copa
> <ncopa_at_alpinelinux.org> wrote:
> > On Mon, 21 May 2012 09:19:04 +0200
> > alex M <lonkaji_at_gmail.com> wrote:
> >> Hi,
> >> I upgade from 2.4.1 to 2.4.2 and now I got a real problem with the
> >> nfs daemon:
> >> [ 482.292020] rpc.mountd: segfault at 7873d1d796c8 ip
> >> 0000786bd1b52c96 sp 00007ae3fb88a470 error 4 in
> >> libuClibc-0.9.33.2.so[786bd1b07000+6b000]
> >> [ 482.292057] grsec: Segmentation fault occurred at
> >> 00007873d1d796c8 in /usr/sbin/rpc.mountd[rpc.mountd:2043]
> >> uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[init:1]
> >> uid/euid:0/0 gid/egid:0/0 [ 482.292087] grsec: denied resource
> >> overstep by requesting 4096 for RLIMIT_CORE against limit 0
> >> for /usr/sbin/rpc.mountd[rpc.mountd:2043] uid/euid:0/0
> >> gid/egid:0/0, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0
> >> That's a real problem since the main purpose of the computer
> >> running alpinelinux is to be a NFS server.
> >> I just want to report this bug and pray it can be fix quickly,
> >> otherwise I had to reinstall my box with something that don't broke
> >> NFS server.
> > Ok. I was able to reproduce. It works on 2.4.1, it segfaults on
> > x86_64 2.4.2 within uclibc code and it segfaults on startup.
> > What is interesting is that only relevant thing changed between
> > 2.4.1 and 2.4.2 is the kernel.
> > I will try make a debug build here and generate a core dump.
> > Thanks!
> > -nc
> >> Regards.
> >> ---
> >> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> >> Help: alpine-devel+help_at_lists.alpinelinux.org
> >> ---
Received on Mon May 21 2012 - 17:06:12 UTC