Open causes oops instead of EPERM

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
Amschuma (Talk | contribs)
(Created page with '== About == * Kernel version: 2.6.34-rc1, 2.6.34-rc2 * [https://bugzilla.kernel.org/show_bug.cgi?id=15674 Bug 15674] * Reported by: Daniel J Blueman (March 29, 2010) * Fixed by: …')
Newer edit →

Revision as of 16:06, 22 October 2010

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]


				
				
Personal tools