Re: 2.6.0-mm1 - kernel panic (VFS bug?)

From: Libor Vanek
Date: Mon Jan 05 2004 - 23:25:34 EST


Unable to handle kernel paging request at virtual address fffffff2
Hmm.. a -14. ;)
You did know that getname can return an error, right?

Not untill now - I should had a look a more detailed at code in sys_open. Thanks.


Poking around in fs/namei.c shows that -14 is 'EFAULT' - most likely
some bozo did "fd = open(pointer_to_nowhere,....);". Notice the use
of IS_ERR(tmp) in sys_open() to guard against this....

I see... (now)...

Why does anybody try to do this? Is there any reason for it?


--
Libor Vanek





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/