Re: Kernel 4.3 breaks security in systems using capabilities

From: Linus Torvalds
Date: Mon Nov 02 2015 - 13:52:38 EST


On Mon, Nov 2, 2015 at 10:38 AM, Richard Weinberger
<richard.weinberger@xxxxxxxxx> wrote:
>>
>> With the patch above, any process that is spawned by such a program will
>> inherit the raised capabilities if it has no own filecapabilities set.

Do you actually have a real example of this?

The ambient capabilities stay empty unless you explicitly raise them.
So your old workflow shouldn't actually have any change in it at all.

And if your old workflow gave a capability to something you don't
trust, and that then decides to now uses the ambient capabilities,
what does that change? It had the capability already.

So please explain what it is you actually object to. With actual real issues.

If behavior actually changed of existing setups, then that would be a
bug, and yes, it should be fixed. The new ambient capabilities should
only matter when you choose to use them.

Linus
--
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/