Skip to content

Tag Archives: hacking

Calling driver initialization code in the Linux kernel

18-Mar-10

Every driver has an entry point function, minimaly defined as: static __init mydriver_init( void ) { return platform_driver_register(&my_driver); } module_init(mydriver_init); The __init macro is used to describe the function as only being required during initialisation time, so that the kernel can remove this function and release its memory after initialization. To recover memory used by [...]

Linux kernel exploit for NULL pointer dereference

27-Aug-09

After being on holidays I am slowly catching up with things. A big one has been the null pointer exploit on the Linux kernel that has been there for almost 8 years. All Linux 2.4/2.6 versions since May 2001 are believed to be affected:   Linux 2.4, from 2.4.4 up to and including 2.4.37.4 Linux [...]