Learning mode and cdrecord, cdrdao
Posted: Tue Mar 25, 2003 5:07 pm
Hi!
I running grsec in learning mode, and I start cdrdao, or cdrecord, I got this:
NMI watchdog detected LOCKUP on CPU0, eip c011e1ed, registers:
. . .
Process: swapper (or cdrdao one time) (pid:0, stackpage=c0421000)
. . .
console shuts up
Sorry, for missing part of kernel messages, but I wrote it by hand.
I use PAX. If You think is usefull, I can paste my whole grsec realted kernel config.
The pc was frozen every time, and this can be reproduce.
The PC is an SMP pIII, with 1GB ram /highmem enabled/
Both cdrdao, and cdrecord are setuid program.
The acl settings:
/ l {
/
/opt rx
/home rw
/home/*/bin rwx
/mnt r
/dev
/dev/random r
/dev/urandom r
/dev/input rw
/dev/psaux rw
/dev/input/mice rw
/dev/tty0 rw
/dev/tty1 rw
/dev/tty2 rw
/dev/tty3 rw
/dev/tty4 rw
/dev/tty5 rw
/dev/tty6 rw
/dev/tty7 rw
/dev/tty8 rw
/dev/null rw
/dev/pts rw
/dev/ptmx rw
/dev/tty rw
/dev/dsp rw
/dev/mixer rw
/dev/console rw
/dev/mem h
/dev/kmem h
/dev/port h
/dev/zero rw
/bin rx
/sbin rx
/lib rx
/usr rx
/etc rx
/etc/postfix r
/etc/init.d h
/etc/shadow- h
/etc/shadow h
/proc rwx
/proc/sys r
/proc/kcore h
/root r
/tmp rw
/var rx
/var/cache rw
/var/spool rw
/var/spool/postfix/lib rx
/var/run rw
/var/tmp rw
/var/log
/boot r
/etc/grsec h
-CAP_ALL
}
/usr/bin/cdrecord l {
/ h
-CAP_ALL
RES_FSIZE 0 0
RES_DATA 0 0
RES_RSS 0 0
RES_NOFILE 0 0
RES_MEMLOCK 0 0
RES_STACK 0 0
RES_AS 0 0
RES_NPROC 0 0
RES_LOCKS 0 0
connect {
disabled
}
bind {
disabled
}
}
/usr/bin/cdrdao l {
/ h
-CAP_ALL
RES_FSIZE 0 0
RES_DATA 0 0
RES_RSS 0 0
RES_NOFILE 0 0
RES_MEMLOCK 0 0
RES_STACK 0 0
RES_AS 0 0
RES_NPROC 0 0
RES_LOCKS 0 0
connect {
disabled
}
bind {
disabled
}
}
Thanx a lot!
I running grsec in learning mode, and I start cdrdao, or cdrecord, I got this:
NMI watchdog detected LOCKUP on CPU0, eip c011e1ed, registers:
. . .
Process: swapper (or cdrdao one time) (pid:0, stackpage=c0421000)
. . .
console shuts up
Sorry, for missing part of kernel messages, but I wrote it by hand.
I use PAX. If You think is usefull, I can paste my whole grsec realted kernel config.
The pc was frozen every time, and this can be reproduce.
The PC is an SMP pIII, with 1GB ram /highmem enabled/
Both cdrdao, and cdrecord are setuid program.
The acl settings:
/ l {
/
/opt rx
/home rw
/home/*/bin rwx
/mnt r
/dev
/dev/random r
/dev/urandom r
/dev/input rw
/dev/psaux rw
/dev/input/mice rw
/dev/tty0 rw
/dev/tty1 rw
/dev/tty2 rw
/dev/tty3 rw
/dev/tty4 rw
/dev/tty5 rw
/dev/tty6 rw
/dev/tty7 rw
/dev/tty8 rw
/dev/null rw
/dev/pts rw
/dev/ptmx rw
/dev/tty rw
/dev/dsp rw
/dev/mixer rw
/dev/console rw
/dev/mem h
/dev/kmem h
/dev/port h
/dev/zero rw
/bin rx
/sbin rx
/lib rx
/usr rx
/etc rx
/etc/postfix r
/etc/init.d h
/etc/shadow- h
/etc/shadow h
/proc rwx
/proc/sys r
/proc/kcore h
/root r
/tmp rw
/var rx
/var/cache rw
/var/spool rw
/var/spool/postfix/lib rx
/var/run rw
/var/tmp rw
/var/log
/boot r
/etc/grsec h
-CAP_ALL
}
/usr/bin/cdrecord l {
/ h
-CAP_ALL
RES_FSIZE 0 0
RES_DATA 0 0
RES_RSS 0 0
RES_NOFILE 0 0
RES_MEMLOCK 0 0
RES_STACK 0 0
RES_AS 0 0
RES_NPROC 0 0
RES_LOCKS 0 0
connect {
disabled
}
bind {
disabled
}
}
/usr/bin/cdrdao l {
/ h
-CAP_ALL
RES_FSIZE 0 0
RES_DATA 0 0
RES_RSS 0 0
RES_NOFILE 0 0
RES_MEMLOCK 0 0
RES_STACK 0 0
RES_AS 0 0
RES_NPROC 0 0
RES_LOCKS 0 0
connect {
disabled
}
bind {
disabled
}
}
Thanx a lot!