CVE-2017-2636: exploit the race condition in the n_hdlc Linux kernel driver bypassing SMEP

This driver provides HDLC serial line discipline and comes as a kernel module in many Linux distributions, which have CONFIG_N_HDLC=m in the kernel config. So RHEL 6/7, Fedora, SUSE, Debian, and Ubuntu were affected by CVE-2017-2636. Currently the flaw is fixed in the mainline Linux kernel (public disclosure). The bug was introduced quite a long […]