Version 4.12 was from July 2017 until September 2017 (0)
Right now the main line kernel is at 4.14, but it has not changed so much that it really matters for learning Linux.
[0] https://en.wikipedia.org/wiki/Linux_kernel#4.x.y_releases
But probably best to stick with the kernel that the doc is written for.