[RHEL5] Server rebooted because "kernel NULL pointer dereference at 0000000000000011 RIP: [<ffffffff80019e75>] do_sys_open+0x5c/0xbe"

Solution Unverified - Updated -

Issue

  • machine crash at do_sys_open on an openafs file.
  • The task that panic'd was in an 'open' system call. The working directory of the process was an afs path. The backtrace was as follows:
    PID: 3182676  TASK: ffff816fd6d5b100  CPU: 59  COMMAND: "bmin"
     #3 [ffff816d67891ea0] error_exit at ffffffff8005dde9
        [exception RIP: do_sys_open+92]
        RIP: ffffffff80019e75  RSP: ffff816d67891f58  RFLAGS: 00010203
        RAX: 0000000000000001  RBX: 00000000000001b6  RCX: 0000000000000311
        RDX: ffff816d67891ea8  RSI: 0000000000000311  RDI: ffff81407ddc0e10
        RBP: 0000000000000001   R8: ffff816d67891bd8   R9: ffff817927a37e80
        R10: 0000000200000000  R11: ffff8160b02051d8  R12: 00000000ffffff9c
        R13: 000000000000000b  R14: ffff8170c2c1e000  R15: 0000000000000000
        ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
     #4 [ffff816d67891f80] tracesys at ffffffff8005d28d (via system_call)
        RIP: 00000036b10c58f0  RSP: 00007fffc7949118  RFLAGS: 00000246
        RAX: ffffffffffffffda  RBX: ffffffff8005d28d  RCX: ffffffffffffffff
        RDX: 00000000000001b6  RSI: 0000000000000241  RDI: 00007fffc79493d0
        RBP: 0000000000000000   R8: 0000000000000004   R9: 0000000000000001
        R10: 0000000000000241  R11: 0000000000000246  R12: 000000001a91f7e0
        R13: 00007fffc7949220  R14: 0000000000000004  R15: 000000001a91f7e0
        ORIG_RAX: 0000000000000002  CS: 0033  SS: 002b

Environment

  • Red Hat Enterprise Linux 5
  • openafs (vulnerable to 'truncate' bug)
kmod-openafs-1.4.14-2.3.pfiz.2.6.18_194.11.3.el5.x86_64     Wed 09 Nov 2011 02:03:39 PM EST
openafs-1.4.14-1.2.3.pfiz.x86_64                            Wed 09 Nov 2011 02:03:39 PM EST
  • openafs (vulnerable to non-truncate bug)
kmod-openafs-1.4.10-1.1.2.6.18_8.1.1.el5.x86_64             Mon 23 Aug 2010 07:14:10 AM MST
openafs-1.4.10-el5.1.1.x86_64                               Mon 23 Aug 2010 07:14:07 AM MST

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.