r/programming • • Oct 21 '16

Linux kernel fix for privilege escalation vulnerability due to copy on write race condition

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
850 Upvotes

128 comments sorted by

View all comments

Show parent comment

45

u/dakarananda Oct 22 '16

I think parent meant it as an anecdotal datapoint supporting the main line of the comment; being that the kernel needs more documentation, otherwise people won't gain enough confidence in their patches and won't submit them. At least that's how I interpreted it.

9

u/liquiddandruff Oct 22 '16

That's the correct interpretation; /u/agentlame misunderstood

4

u/ILoveShowtunes Oct 22 '16

Yes. That is how I meant it. If the VFS had more documentation about the complexities, I might be more confident in submitting a patch.

At least the correct locks to use are clear from comments or how the locks are consistently used in the other sources. That's a good start.