My first impression is that:
1) sys_lseek() is called
2) file->f_dentry == NULL, i.e. goto out_putf
3) out_putf: fput(file);
4) fput: calls locks_remove_flock(file)
5) locks_remove_flock(file):
dereferences file->f_dentry->d_inode --> NULL pointer access.
My question(s):
a) when is file->f_dentry==NULL?
b) what should locks_remove_flock() do if file->f_dentry ==NULL?
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/