Description
security/keys/big_key.c in the Linux kernel before 4.8.7 mishandles unsuccessful crypto registration in conjunction with successful key-type registration, which allows local users to cause a denial of service (NULL pointer dereference and panic) or possibly have unspecified other impact via a crafted application that uses the big_key data type.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.8.7-1 | — |
| Debian 13 | linux | 4.8.7-1 | — |
| Debian 12 | linux | 4.8.7-1 | — |
References
- [oss-security] 20160722 panic at big_key_preparse #4.7-r6/rc7 & master mailing-list
- https://github.com/torvalds/linux/commit/7df3e59c3d1df4f87fe874c7956ef7a3d2f4d5fb
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.7
- 94546 vdb-entry
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7df3e59c3d1df4f87fe874c7956ef7a3d2f4d5fb