Changes To kmod-nokeyctl

Initial version of "kmod-nokeyctl"


























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
kmod-nokeyctl
=============

Simple kernel module which disables the keyctl(2) system call to workaround CVE-2016-0728 on vulnerable systems without rebooting until a proper patch can be applied.

Usage
-----

    $ ./configure
    $ make
    $ sudo -i insmod "$(pwd)/nokeyctl.ko"


Verification
------------

    $ sudo dmesg
    ...
    [2811856.665590] [nokeyctl] keyctl syscall disabled


Removal
-------

    $ sudo -i rmmod nokeyctl