Linux Today: Linux News On Internet Time.

More on LinuxToday

Linux NULL pointer dereference due to incorrect proto_ops initializations

Aug 14, 2009, 12:03 (1 Talkback[s])

"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

Related Stories: