System crash in mempool_alloc() while running parted on ASM (oracleadvm) device

Solution Unverified - Updated -

Issue

  • System crash in mempool_alloc() while running parted on asm device:
[17391.627789]  sdgz: sdgz3 sdgz8
[17391.634802]  sdhp: sdhp3 sdhp8
[17391.640578]  sdhq: sdhq3 sdhq8
[17391.643490] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[17391.643861] IP: [<ffffffff9fbc163e>] mempool_alloc+0x5e/0x170
[17391.644056] PGD 800000284c4dd067 PUD 286c3f8067 PMD 0 
[17391.644272] Oops: 0000 [#1] SMP 
[17391.648628] CPU: 11 PID: 177225 Comm: parted Kdump: loaded Tainted: P        W  OE  ------------   3.10.0-1127.13.1.el7.x86_64 #1
[17391.649023] Hardware name: HP ProLiant DL380p Gen8, BIOS P70 05/24/2019
[17391.649219] task: ffff8ad96c521070 ti: ffff8ad91c67c000 task.ti: ffff8ad91c67c000
[17391.649602] RIP: 0010:[<ffffffff9fbc163e>]  [<ffffffff9fbc163e>] mempool_alloc+0x5e/0x170
[17391.650000] RSP: 0018:ffff8ad91c67f8d8  EFLAGS: 00010206
[17391.650185] RAX: ffff8ad91c67f8f0 RBX: 0000000000000030 RCX: ffff8ad91c67ffd8
[17391.650414] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[17391.650599] RBP: ffff8ad91c67f948 R08: 0000000000000000 R09: 000000000001fd70
[17391.650798] R10: ffff8af8fffd9000 R11: 0000000000000000 R12: ffff8ad91c67f908
[17391.651003] R13: 0000000000011200 R14: 0000000000000000 R15: ffff8ad96c521070
[17391.651198] FS:  00007fb67084a880(0000) GS:ffff8af89ee40000(0000) knlGS:0000000000000000
[17391.651603] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17391.651799] CR2: 0000000000000018 CR3: 000000284ccae000 CR4: 00000000001607e0
[17391.652018] Call Trace:
[17391.652223]  [<ffffffff9fc8b855>] ? bio_alloc_bioset+0x115/0x310
[17391.652433]  [<ffffffff9fc8a266>] ? __bio_clone+0x26/0x70
[17391.652618]  [<ffffffff9fc087f2>] blk_queue_bounce+0x1d2/0x2c0
[17391.652804]  [<ffffffff9fd560fe>] blk_queue_bio+0x3e/0x400
[17391.653022]  [<ffffffff9fd543f7>] generic_make_request+0x147/0x380
[17391.653218]  [<ffffffff9fc8d0b0>] ? set_init_blocksize+0x90/0x90
[17391.653415]  [<ffffffff9fd546a0>] submit_bio+0x70/0x150
[17391.653621]  [<ffffffff9fbbf037>] ? __add_to_page_cache_locked+0xc7/0x1a0
[17391.653806]  [<ffffffff9fc92a7a>] mpage_bio_submit+0x2a/0x40
[17391.654015]  [<ffffffff9fc93c1f>] mpage_readpages+0x13f/0x170
[17391.654220]  [<ffffffff9fc8d0b0>] ? set_init_blocksize+0x90/0x90
[17391.654439]  [<ffffffff9fc8d0b0>] ? set_init_blocksize+0x90/0x90
[17391.654624]  [<ffffffff9fc8d8ad>] blkdev_readpages+0x1d/0x20
[17391.654822]  [<ffffffff9fbcb67f>] __do_page_cache_readahead+0x1cf/0x260
[17391.655041]  [<ffffffff9fbcb82f>] ondemand_readahead+0x11f/0x240
[17391.655239]  [<ffffffff9fbcbc54>] page_cache_sync_readahead+0x44/0xb0
[17391.655437]  [<ffffffff9fbc0092>] generic_file_aio_read+0x2c2/0x790
[17391.655632]  [<ffffffff9fc8dcbc>] blkdev_aio_read+0x4c/0x70
[17391.655839]  [<ffffffff9fc8e58f>] ? __sync_blockdev+0x1f/0x40
[17391.656061]  [<ffffffff9fc4c5e3>] do_sync_read+0x93/0xe0
[17391.656268]  [<ffffffff9fc4d01f>] vfs_read+0x9f/0x170
[17391.656472]  [<ffffffff9fc4de8f>] SyS_read+0x7f/0xf0
[17391.656660]  [<ffffffffa0192ed2>] system_call_fastpath+0x25/0x2a
....
[17391.657719] RIP  [<ffffffff9fbc163e>] mempool_alloc+0x5e/0x170
....

Environment

  • Red Hat Enterprise Linux

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