The keyctl_read_key function in security/keys/keyctl.c in the Key Management subcomponent in the Linux kernel before 4.13.5 does not properly consider that a key may be possessed but negatively instantiated, which allows local users to cause a denial of service (OOPS and system crash) via a crafted KEYCTL_READ operation.
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1493435 | third party advisory issue tracking |
https://usn.ubuntu.com/3583-2/ | vendor advisory |
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.5 | vendor advisory |
https://usn.ubuntu.com/3583-1/ | vendor advisory |
https://access.redhat.com/errata/RHSA-2018:0151 | vendor advisory |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=37863c43b2c6464f252862bf2e9768264e961678 | patch vendor advisory |
https://github.com/torvalds/linux/commit/37863c43b2c6464f252862bf2e9768264e961678 | patch vendor advisory |
https://lkml.org/lkml/2017/9/18/764 | third party advisory mailing list |