kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:167! - reproducible

Trond Myklebust
2000-12-18T10:33:42Z

>>>>> " " == M H VanLeeuwen <vanl@megsinet.net> writes:

> Trond, Neil I don't know if this is a loopback bug or an NFS
> bug but since nfs_fs.h was implicated so I thought one of you
> may be interested.

> Could you let me know if you know this problem has already been
> fixed or if you need more info.

Hi,

As far as I'm concerned, it's a loopback bug.

Somebody appears to be trying to copy a 'struct file' in the routine
'loop_set_fd'. This will cause havoc in any and all filesystems that
rely on f_ops->open() , f_ops->release() to maintain internal data.
In this case, it's the file's RPC authorizations, that are getting
garbage-collected from beneath you once the original struct file gets
fput() at the end of the routine.

Cheers,
Trond