Kernel panic at ceph_put_snap_realm+0x21

Solution Verified - Updated -

Issue

  • Kernel panic with below logs:
[647873.801594] ceph: check_quota_exceeded: ino (100001684f3.fffffffffffffffe) null i_snap_realm
[647873.801650] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[647873.801681] IP: [<ffffffffc08f76d1>] ceph_put_snap_realm+0x21/0xe0 [ceph]
[647873.801716] PGD 8000001b9eb6d067 PUD 1785528067 PMD 0
[647873.801739] Oops: 0002 [#1] SMP
[647873.801755] Modules linked in: ipmi_si binfmt_misc mpt3sas mpt2sas raid_class scsi_transport_sas mptctl mptbase ceph rbd libceph dns_resolver dell_rbu bonding nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack_ftp nf_conntrack nf_log_ipv4 nf_log_common xt_LOG iptable_filter sb_edac intel_powerclamp coretemp intel_rapl iTCO_wdt iTCO_vendor_support iosf_mbi vfat fat kvm_intel mxm_wmi kvm dcdbas irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr joydev mei_me ipmi_ssif mei lpc_ich sg ipmi_devintf ioatdma ipmi_msghandler wmi acpi_power_meter nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200 drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm uas ahci libahci drm usb_storage
[647873.802127]  libata igb crct10dif_pclmul crct10dif_common crc32c_intel megaraid_sas ptp pps_core drm_panel_orientation_quirks dca i2c_algo_bit dm_mirror dm_region_hash dm_log dm_mod [last unloaded: ipmi_si]
[647873.802204] CPU: 8 PID: 1837143 Comm: java Kdump: loaded Not tainted 3.10.0-1160.2.1.el7.x86_64 #1
[647873.802253] Hardware name: Dell Inc. PowerEdge R630/0CNCJW, BIOS 2.11.0 11/02/2019
[647873.802289] task: ffff8e5485694200 ti: ffff8e55e4730000 task.ti: ffff8e55e4730000
[647873.802314] RIP: 0010:[<ffffffffc08f76d1>]  [<ffffffffc08f76d1>] ceph_put_snap_realm+0x21/0xe0 [ceph]
[647873.803405] RSP: 0018:ffff8e55e4733db8  EFLAGS: 00010246
[647873.804438] RAX: 0000000000000050 RBX: 0000000000000000 RCX: 0000000000000000
[647873.805570] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8e24bbbdb800
[647873.806693] RBP: ffff8e55e4733dd0 R08: 0000000000000000 R09: ffff8e24df3b2000
[647873.807845] R10: 0000000000033089 R11: 0000000000000001 R12: ffff8e24bbbdb800
[647873.808960] R13: 0000000000000000 R14: 00000000000001ff R15: 0000000000000000
[647873.810085] FS:  00007ee1f9ecf700(0000) GS:ffff8e523fb00000(0000) knlGS:0000000000000000
[647873.811149] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[647873.812246] CR2: 0000000000000010 CR3: 000000232e3f2000 CR4: 00000000001607e0
[647873.813461] Call Trace:
[647873.814524]  [<ffffffffc08fb6ab>] check_quota_exceeded+0x1bb/0x270 [ceph]
[647873.815636]  [<ffffffffc08fba11>] ceph_quota_is_max_files_exceeded+0x41/0x60 [ceph]
[647873.816762]  [<ffffffffc08e128a>] ceph_mkdir+0x8a/0x280 [ceph]
[647873.817829]  [<ffffffff94e5b03f>] vfs_mkdir+0x10f/0x1d0
[647873.818896]  [<ffffffff94e6133a>] SyS_mkdirat+0xca/0x100
[647873.819906]  [<ffffffff94e61389>] SyS_mkdir+0x19/0x20
[647873.820918]  [<ffffffff95393f92>] system_call_fastpath+0x25/0x2a
[647873.821937] Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 49 89 fc 53 f6 05 1a 9a 02 00 04 48 89 f3 0f 85 89 00 00 00 <f0> ff 4b 10 0f 94 c0 84 c0 75 0c 5b 41 5c 41 5d 5d c3 0f 1f 44
[647873.824093] RIP  [<ffffffffc08f76d1>] ceph_put_snap_realm+0x21/0xe0 [ceph]
[647873.825164]  RSP <ffff8e55e4733db8>
[647873.826195] CR2: 0000000000000010

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7

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