general protection fault at RiP: __kmalloc+0x94

Solution Verified - Updated -

Issue

  • Kernel crashed with general protection fault at RiP: __kmalloc+0x94 in the code path of third party module veeamsnap
[10466895.820224] general protection fault: 0000 [#1] SMP
[10466895.820256] Modules linked in: veeamsnap(OE) ... [last unloaded: veeamsnap]
[10466895.820939] CPU: 14 PID: 40406 Comm: veeamagent Kdump: loaded Tainted: G           OE  ------------ T 3.10.0-1160.15.2.el7.x86_64 #1
[10466895.820980] Hardware name: Lenovo ThinkSystem SR650 -[7X06CTO1WW]-/-[7X06CTO1WW]-, BIOS -[IVE148M-2.41]- 10/31/2019
[10466895.821016] task: ffff8e7f2ce19080 ti: ffff8e7df1918000 task.ti: ffff8e7df1918000
[10466895.821043] RIP: 0010:[<ffffffffa6828394>]  [<ffffffffa6828394>] __kmalloc+0x94/0x230
[10466895.821080] RSP: 0018:ffff8e7df191b948  EFLAGS: 00010282
[10466895.821100] RAX: 0000000000000000 RBX: ffff8e819edd6c58 RCX: 0000000003fd2afd
[10466895.821126] RDX: 0000000003fd2afc RSI: 0000000000000000 RDI: 0000000000000008
[10466895.821152] RBP: ffff8e7df191b978 R08: 000000000001f0c0 R09: ffffffffc0b9486f
[10466895.822970] R10: ffff8e5b7fc07a00 R11: 0000000000000008 R12: 0000000000000010
[10466895.824880] R13: c0ffff8e5bf07eec R14: 0000000000000048 R15: ffff8e5b7fc07a00
[10466895.826275] FS:  00007f23f27fc700(0000) GS:ffff8e99bd480000(0000) knlGS:0000000000000000
[10466895.827367] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10466895.828427] CR2: 00000023bea87ca0 CR3: 0000002541a86000 CR4: 00000000007607e0
[10466895.829484] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[10466895.830338] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[10466895.831051] PKRU: 55555554
[10466895.831753] Call Trace:
[10466895.832445]  [<ffffffffc0b9486f>] ? dbg_kmalloc+0xf/0x50 [veeamsnap]
[10466895.833140]  [<ffffffffc0b9486f>] dbg_kmalloc+0xf/0x50 [veeamsnap]
[10466895.833831]  [<ffffffffc0b9620c>] queue_content_sl_new_opt_append+0x1c/0x50 [veeamsnap]
[10466895.834526]  [<ffffffffc0b96250>] queue_content_sl_new_opt+0x10/0x20 [veeamsnap]
[10466895.835205]  [<ffffffffc0ba1691>] _snapimage_make_request+0xa1/0x1d0 [veeamsnap]
[10466895.835870]  [<ffffffffa69554f7>] generic_make_request+0x147/0x380
[10466895.836530]  [<ffffffffa688c1a9>] ? bvec_alloc+0x59/0x120
[10466895.837186]  [<ffffffffa69557a0>] submit_bio+0x70/0x150
[10466895.837837]  [<ffffffffa688c483>] ? bio_alloc_bioset+0x213/0x310
[10466895.838481]  [<ffffffffa689275c>] do_blockdev_direct_IO+0x107c/0x20b0
[10466895.839126]  [<ffffffffa66e11ee>] ? account_entity_dequeue+0xae/0xd0
[10466895.839766]  [<ffffffffa688ded0>] ? set_init_blocksize+0x90/0x90
[10466895.840396]  [<ffffffffa68937e5>] __blockdev_direct_IO+0x55/0x60
[10466895.841022]  [<ffffffffa688ded0>] ? set_init_blocksize+0x90/0x90
[10466895.841646]  [<ffffffffa688e5e7>] blkdev_direct_IO+0x57/0x60
[10466895.842264]  [<ffffffffa688ded0>] ? set_init_blocksize+0x90/0x90
[10466895.842877]  [<ffffffffa67bff31>] generic_file_aio_read+0x251/0x290
[10466895.843487]  [<ffffffffa688eadc>] blkdev_aio_read+0x4c/0x70
[10466895.844091]  [<ffffffffa684d163>] do_sync_read+0x93/0xe0
[10466895.844682]  [<ffffffffa684db9f>] vfs_read+0x9f/0x170
[10466895.845257]  [<ffffffffa684ea1f>] SyS_read+0x7f/0xf0
[10466895.845817]  [<ffffffffa6d94f92>] system_call_fastpath+0x25/0x2a
[10466895.846362] Code: 8e 7e 59 49 8b 50 08 4d 8b 28 49 8b 40 10 4d 85 ed 0f 84 29 01 00 00 48 85 c0 0f 84 20 01 00 00 49 63 42 20 48 8d 4a 01 4d 8b 02 <49> 8b 5c 05 00 4c 89 e8 65 49 0f c7 08 0f 94 c0 84 c0 74 b9 49
[10466895.847524] RIP  [<ffffffffa6828394>] __kmalloc+0x94/0x230
[10466895.848069]  RSP <ffff8e7df191b948>

Environment

  • RHEL7
  • Kernel-3.10.0-1160.59.1.el7
  • 3rd party module, veeamsnap

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