---

Linux NULL pointer dereference due to incorrect proto_ops initializations

“The issue lies in how Linux deals with unavailable operations
for some protocols. sock_sendpage and others don’t check for NULL
pointers before dereferencing operations in the ops structure.
Instead the kernel relies on correct initialization of those
proto_ops structures with stubs (such as sock_no_sendpage) instead
of NULL pointers.”


A patch has been committed
— ed.


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis