The system crashes with a error "BUG: unable to handle kernel NULL pointer dereference at 0000000000000022"

Solution Verified - Updated -

Issue

  • The system crashes with a error "[2507461.692785] BUG: unable to handle kernel NULL pointer dereference at 0000000000000022"
[2507461.692785] BUG: unable to handle kernel NULL pointer dereference at 0000000000000022
[2507462.080875] IP: [<ffffffff8129dbc5>] memcpy+0x5/0x120
[2507462.333909] PGD 0 
[2507462.439407] Oops: 0000 [#1] SMP 
[2507462.603881] last sysfs file: /sys/devices/system/cpu/online
[2507462.878593] CPU 2 
[2507462.975636] Modules linked in: ... [last unloaded: mlx4_en]
[2507465.627024] 
[2507465.707194] Pid: 11, comm: migration/2 Tainted: G        W  -- ------------    2.6.32-573.22.1.el6.x86_64 #1 HP ProLiant DL380 Gen9/ProLiant DL380 Gen9
[2507466.376676] RIP: 0010:[<ffffffff8129dbc5>]  [<ffffffff8129dbc5>] memcpy+0x5/0x120
[2507466.750001] RSP: 0018:ffff884027a1ba90  EFLAGS: 00010206
[2507467.017041] RAX: ffff883f516bf822 RBX: ffff8840214c26e0 RCX: 0000000000000062
[2507467.373165] RDX: 0000000000000062 RSI: 0000000000000022 RDI: ffff883f516bf822
[2507467.729520] RBP: ffff884027a1bb58 R08: 0000000000000000 R09: 0000000000000000
[2507468.086294] R10: 0000000000000218 R11: 000000000000000d R12: ffff8840214c2ee0
[2507468.438475] R13: ffff88401f409040 R14: ffff88111f04e380 R15: 0000000000000482
[2507468.794446] FS:  0000000000000000(0000) GS:ffff880192b00000(0000) knlGS:0000000000000000
[2507469.188805] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[2507469.476853] CR2: 0000000000000022 CR3: 0000000001a8d000 CR4: 00000000001407e0
[2507469.832814] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2507470.189041] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[2507470.544957] Process migration/2 (pid: 11, threadinfo ffff884027a18000, task ffff884027a0e040)
[2507470.964077] Stack:
[2507471.070066]  ffffffffa0250649 ffff884027a1bac8 0000000000000286 ffff8840214c2fb8
[2507471.425740] <d> 0000000000000000 0000004015e7a022 00000001224d1f80 0000000000000062
[2507471.806798] <d> 0000000000000000 0000006227a1bb78 0000000000000000 0000048600000040
[2507472.195303] Call Trace:
[2507472.321832]  [<ffffffffa0250649>] ? tg3_poll_work+0xa29/0xfb0 [tg3]
[2507472.633919]  [<ffffffffa0250c1f>] tg3_poll_msix+0x4f/0x160 [tg3]
[2507472.933396]  [<ffffffff81470f93>] net_rx_action+0x103/0x2f0
[2507473.211846]  [<ffffffff81080361>] __do_softirq+0xc1/0x1e0
[2507473.482198]  [<ffffffff810b322f>] ? tick_program_event+0x2f/0x40
[2507473.781604]  [<ffffffff8100c38c>] call_softirq+0x1c/0x30
[2507474.047850]  [<ffffffff8100fc25>] do_softirq+0x65/0xa0
[2507474.305104]  [<ffffffff81080215>] irq_exit+0x85/0x90
[2507474.553941]  [<ffffffff815435ba>] smp_apic_timer_interrupt+0x4a/0x60
[2507474.870252]  [<ffffffff8100bc13>] apic_timer_interrupt+0x13/0x20
[2507475.170080]  [<ffffffff810633df>] ? finish_task_switch+0x4f/0xf0
[2507475.469712]  [<ffffffff8153933e>] ? thread_return+0x4e/0x7d0
[2507475.752237]  [<ffffffff8106fe64>] ? enqueue_task_fair+0x64/0x100
[2507476.051961]  [<ffffffff8106f135>] ? migration_thread+0x265/0x2e0
[2507476.351418]  [<ffffffff8106eed0>] ? migration_thread+0x0/0x2e0
[2507476.643268]  [<ffffffff810a138e>] ? kthread+0x9e/0xc0
[2507476.896192]  [<ffffffff8100c28a>] ? child_rip+0xa/0x20
[2507477.153681]  [<ffffffff810a12f0>] ? kthread+0x0/0xc0
[2507477.402446]  [<ffffffff8100c280>] ? child_rip+0x0/0x20
[2507477.659874] Code: 95 40 4f 83 fa 01 49 89 70 50 19 c0 49 89 70 58 41 c6 40 4c 04 83 e0 fc 83 c0 08 41 88 40 4d c9 c3 90 90 90 90 90 48 89 f8 89 d1 <f3> a4 c3 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 20 48 83 ea 20 4c 8b 
[2507478.580807] RIP  [<ffffffff8129dbc5>] memcpy+0x5/0x120
[2507478.838121]  RSP <ffff884027a1ba90>
[2507479.015301] CR2: 0000000000000022
[2690200.067456] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[2690200.067526] PGD 0 P4D 0
[2690200.067545] Oops: 0000 [#1] SMP PTI
[2690200.067567] CPU: 42 PID: 0 Comm: swapper/42 Kdump: loaded Tainted: P           OE     -------- -  - 4.18.0-553.36.1.el8_10.x86_64 #1
[2690200.067620] Hardware name: HP ProLiant DL560 Gen9/ProLiant DL560 Gen9, BIOS P85 08/29/2024
[2690200.067656] RIP: 0010:tg3_poll_work+0xcb5/0xe70 [tg3]
[2690200.067690] Code: f4 ff ff 8b 93 dc 00 00 00 48 8b 74 24 20 49 8d be f0 00 00 00 48 03 93 e0 00 00 00 48 83 c2 10 e8 40 63 ff ff e9 ed f8 ff ff <49> 8b 13 48 8d 79 08 4c 89 de 48 83 e7 f8 48 89 11 49 8b 54 03 f8
[2690200.067767] RSP: 0018:ffffb6a60d068dc0 EFLAGS: 00010202
[2690200.067794] RAX: 000000000000005a RBX: ffff91010e4e4c00 RCX: ffff912d61e96442
[2690200.067826] RDX: 000000000000005a RSI: 0000000bca7fe140 RDI: ffff912b3fd9c0b8
[2690200.067859] RBP: 000000000000005a R08: ffffffffa242d6c0 R09: 0000000000010000
[2690200.068374] R10: 00000000000003f6 R11: 0000000000000040 R12: ffff90fc05346e40
[2690200.068755] R13: 0000000000000bf6 R14: ffff90fc05346ac0 R15: ffff90fc56f77ec0
[2690200.069130] FS:  0000000000000000(0000) GS:ffff910b3fb00000(0000) knlGS:0000000000000000
[2690200.069503] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2690200.069871] CR2: 0000000000000040 CR3: 0000002101a10001 CR4: 00000000003706e0
[2690200.070249] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2690200.070801] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[2690200.071345] Call Trace:
[2690200.071875]  <IRQ>
[2690200.072393]  ? __die_body+0x1a/0x60
[2690200.072957]  ? no_context+0x1ba/0x3f0
[2690200.073524]  ? __bad_area_nosemaphore+0x157/0x180
[2690200.074064]  ? do_page_fault+0x37/0x12d
[2690200.074415]  ? page_fault+0x1e/0x30
[2690200.074942]  ? tg3_poll_work+0xcb5/0xe70 [tg3]
[2690200.075402]  tg3_poll_msix+0x3b/0x170 [tg3]
[2690200.075748]  __napi_poll+0x2d/0x130
[2690200.076081]  net_rx_action+0x252/0x320
[2690200.076405]  __do_softirq+0xdc/0x2cf
[2690200.076728]  irq_exit_rcu+0xc6/0xd0
[2690200.077043]  irq_exit+0xa/0x10
[2690200.077350]  do_IRQ+0x7f/0xd0
[2690200.077657]  common_interrupt+0xf/0xf
[2690200.077963]  </IRQ>
[2690200.078252] RIP: 0010:cpuidle_enter_state+0xda/0x470
[2690200.078555] Code: e8 1b 41 97 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 4b 03 00 00 31 ff e8 bd 5f 9e ff fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 24 01 00 00 49 63 d6 48 8b 4c 24 10 48 2b 0c 24 48
...
[2690200.086090] CR2: 0000000000000040

Environment

  • Red Hat Enterprise Linux 6 (kernel-2.6.32-573.22.1.el6.x86_64)
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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