News for hackers. Stuff that matters.
Re:How I Found a 20-Year-Old Linux Kernel Bug by benmmurphy on Wednesday June 14, 2017 @05:47PM (#14556370)
the syscall function takes a void* parameter then does a copy from user space into the kernel using the wrong target type/sizeof. i think it works because the incorrect type was a superset of the correct type. i don't think any static analyser could catch this.

proposed patch here:

https://bugzilla.kernel.org/attachment.cgi?id=256997&action=...

Re:How I Found a 20-Year-Old Linux Kernel Bug by jjnoakes on Wednesday June 14, 2017 @07:37PM (#14556865)
A static analyzer with sufficient inter-procedural analysis (i.e. across the user/kernel boundary) could certainly see the type of the allocated structure in userspace, and flag the kernel read of a larger type.