Kernel Panic Due to NULL Pointer Dereference at RIP xfs_trans_log_inode+0x14/0x40 [xfs]

Solution Unverified - Updated -

Issue

  • xfs_fsr crashes the system
  • Experiencing system crashes with the following signature:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
      IP: [<ffffffffa0248fb4>] xfs_trans_log_inode+0x14/0x40 [xfs]
      [...] 
      Modules linked in: mpt2sas raid_class mptctl ipmi_devintf ipmi_si ipmi_msghandler nfs lockd fscache nfs_acl auth_rpcgss sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf bonding ipv6 xfs exportfs microcode serio_raw i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support e1000e ioatdma i7core_edac edac_core sg ses enclosure myri10ge dca ext3 jbd mbcache dm_round_robin sd_mod crc_t10dif ahci mptsas mptscsih mptbase scsi_transport_sas megaraid_sas dm_multipath dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

      Pid: 9641, comm: xfs_fsr Not tainted 2.6.32-220.4.2.el6.x86_64 #1 SGI.COM ISS3500/X8DT6
      RIP: 0010:[<ffffffffa0248fb4>]  [<ffffffffa0248fb4>] xfs_trans_log_inode+0x14/0x40 [xfs]
      [...]
      Call Trace:
       [<ffffffffa020da20>] xfs_bunmapi+0x6d0/0x850 [xfs]
       [<ffffffffa0230520>] xfs_itruncate_finish+0x150/0x330 [xfs]
       [<ffffffffa024c0e1>] xfs_inactive+0x311/0x460 [xfs]
       [<ffffffffa0259730>] xfs_fs_clear_inode+0xa0/0xd0 [xfs]
       [<ffffffff81190def>] clear_inode+0x8f/0x110
       [<ffffffff81191596>] generic_delete_inode+0x196/0x1d0
       [<ffffffff81191635>] generic_drop_inode+0x65/0x80
       [<ffffffff811904b2>] iput+0x62/0x70
       [<ffffffff8118d010>] dentry_iput+0x90/0x100
       [<ffffffff8118d171>] d_kill+0x31/0x60
       [<ffffffff8118eb9c>] dput+0x7c/0x150
       [<ffffffff81177db9>] __fput+0x189/0x210
       [<ffffffff81177e65>] fput+0x25/0x30
       [<ffffffff811738ad>] filp_close+0x5d/0x90
       [<ffffffff81173985>] sys_close+0xa5/0x100
       [<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b
      [...]

Environment

  • Red Hat Enterprise Linux 6
  • XFS (Thidparty packages in use : mod-enhancedxfs, sgi-xfsdump, and sgi-xfsprogs)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content