Skip to content

hannob/symlinkown

Repository files navigation

symlinkown

Patch for the Linux Kernel to implement "SymlinksIfOwnerMatches" features

description

This is a patch that implements a symlink protection feature in the Linux kernel. For a configurable group all file accesses with symlinks will only be approved if the owner of the symlink target matches the owner of the symlink.

This prevents attacks with web servers on multiuser systems. This attack was used in the hack of Freedom Hosting II.

Background:

If you get rejects when applying the latest patch to the latest upstream kernel please open an issue and I'll try to update it.

source and copyright

This patch is extracted from the grsecurity kernel patch. It is licensed (like the Linux kernel itself) under the GPL version 2.

Copyright 2014-2017 by Open Source Security, Inc., Brad Spengler spender@grsecurity.net and PaX Team pageexec@freemail.hu

The only thing I did is extract the patch out of the larger grsecurity patchset.

Hanno Böck, https://hboeck.de/

About

Patch for the Linux Kernel to implement "SymlinksIfOwnerMatches" features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages