[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681418: #681418 debugfs is a big security hole



Steve Cotton <steve@s.cotton.clara.co.uk> writes:
> For me the mount point changes permission when mounted, and from the hard link count I guess you have it unmounted.
>
> tsunami:~# umount /sys/kernel/debug/
> tsunami:~# ls -ld /sys/kernel/debug/
> drwxr-xr-x 2 root root 0 Jul 30 13:08 /sys/kernel/debug/
> tsunami:~# mount -t debugfs none /sys/kernel/debug
> tsunami:~# ls -ld /sys/kernel/debug/
> drwx------ 16 root root 0 Jul 29 08:52 /sys/kernel/debug/
>
> I'm using a local build of 3.10.2.

That might indeed be true. I can't reproduce the bug with

linux-image-3.10-1-amd64   3.10.3-1

today.


Reply to: