Open causes oops instead of EPERM
From Linux NFS
About
- Kernel version: 2.6.34-rc1, 2.6.34-rc2
- Bug 15674
- Reported by: Daniel J Blueman (March 29, 2010)
- Fixed by:
Symptoms
- User attempts to open a file they do not have permissions for
- We expect EPERM, instead we see an oops
- On local filesystem:
$ touch /tmp/foo $ sudo chmod 0 /tmp/foo $ cat /tmp/foo cat: /tmp/foo: Permission denied
- On NFS filesystem:
$ touch /net/users/daniel/foo $ sudo chmod 0 /net/users/daniel/foo $ cat /net/users/daniel/foo Killed --- [2] BUG: unable to handle kernel NULL pointer dereference at 000000000000000b
Resolution
- This problem was fixed by commit [1]