by cirowrc · 8y ago · 0 comments
> CVE-2017-5123 was published earlier this year on Oct 12 — it was a Linux kernel vulnerability in the waitid() syscall for 4.12-4.13 kernel versions.
Does this mean that kernel versions prior to 4.12 are not affected? That's what I understood from the related issue in the bug tracker https://bugzilla.redhat.com/show_bug.cgi?id=1500094
By the way, this is very important:
> In 2017 alone, 434 linux kernel exploits where found, and as you have seen in this post, kernel exploits can be devastating for containerized environments. This is because containers share the same kernel as the host, thus trusting the built-in protection mechanisms alone isn’t sufficient. Make sure your kernel is always updated on all of your production hosts.
Great article!
It was patched in 4.13.7 after being introduced in the 4.13.0 merge window.
See https://lwn.net/Articles/736348/
This issue shouldn't have happened at all, but it was caught and patched very quickly, so relatively few real-world systems are or were affected.
which by itself is in a 4.12 vanilla code tree
https://github.com/torvalds/linux/commit/4c48abe91be03d191d0... (click the little '...' to expand tags it's in) or:
$ git tag --contains 4c48abe91be03d191d0c20cc755877da2cb35622
v4.13
What is your methodology that gets that it is in the 4.12 tree?And in order to avoid any zero-day exploits, always use dedicated machines, never use a VPS server.
https://elixir.free-electrons.com/linux/v4.11/source/kernel/...
The code is significantly different but I still see a lack of access_ok(), so was the checking performed somewhere else that I didn't notice (I haven't looked closely at this part of the kernel before)?