Messages in this thread | | | Date | Wed, 6 Jul 2016 20:32:45 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH -v3.1 2/2] printk: Add kernel parameter to control writes to /dev/kmsg |
| |
On Wed, Jul 06, 2016 at 01:52:11PM -0400, Steven Rostedt wrote: > Hmm, this does nothing to stop user space from doing the following: > > while :; do echo '5,0,0,-;hello' > /dev/kmsg; done
I wouldn't worry too much if /dev/kmsg has root:root perms elsewhere too, like it is the case in my guest here:
crw-r--r-- 1 root root 1, 11 Jul 6 22:28 /dev/kmsg
root can shoot herself in the foot in countless ways anyway.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply.
| |