Re: ls -l /proc/1/exe -> Permission denied

From: Richard Weinberger
Date: Sun Jul 20 2014 - 08:08:49 EST


Am 20.07.2014 13:51, schrieb Andreas Schwab:
> Richard Weinberger <richard.weinberger@xxxxxxxxx> writes:
>> Do you have an example?
>
> proc symlinks are special because they actually resolve to the inode.

Ah. If an attacker manages the kernel to follow the symlink he could
indirectly access that file.
Thanks for pointing this out!

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/