RHEL7: PANIC: general protection fault: in virtio_check_driver_offered_feature

Solution Verified - Updated -

Issue

  • The system rebooted for no obvious reason.
  • The Panic type is general Protection Fault and the routine that failed is virtio_check_driver_offered_feature.
  • Kernel panic with below logs:
[828603.338044] general protection fault: 0000 [#1] SMP
[828603.339262] Modules linked in: iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi macsec tcp_diag udp_diag inet_diag unix_diag af_packet_diag netlink_diag binfmt_misc ext4 mbcache jbd2 ppdev iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd sg joydev parport_pc virtio_rng virtio_balloon parport i2c_piix4 pcspkr nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sr_mod cdrom sd_mod crc_t10dif crct10dif_generic ata_generic pata_acpi virtio_net virtio_console virtio_blk virtio_scsi qxl drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_piix drm libata serio_raw crct10dif_pclmul crct10dif_common crc32c_intel virtio_pci virtio_ring virtio drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod
[828603.347047] CPU: 0 PID: 28406 Comm: sg_inq Kdump: loaded Not tainted 3.10.0-1062.12.1.el7.x86_64 #1
[828603.348119] Hardware name: Red Hat RHEV Hypervisor, BIOS 1.11.0-2.el7 04/01/2014
[828603.349277] task: ffff9a0e357fc1c0 ti: ffff9a0a12ac0000 task.ti: ffff9a0a12ac0000
[828603.350452] RIP: 0010:[<ffffffffc0056446>]  [<ffffffffc0056446>] virtio_check_driver_offered_feature+0x6/0x90 [virtio]
[828603.351640] RSP: 0018:ffff9a0a12ac3d70  EFLAGS: 00010282
[828603.352849] RAX: ffff9a0e60770600 RBX: 73042507e9028200 RCX: 00007ffdf7ca4150
[828603.353949] RDX: 0000000000002285 RSI: 0000000000000007 RDI: 73042507e9028200
[828603.355100] RBP: ffff9a0a12ac3da8 R08: 0000000000000000 R09: 0000000000000000
[828603.356204] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9a0e628c8000
[828603.357390] R13: 000000000000005d R14: 0000000000002285 R15: 00007ffdf7ca4150
[828603.358539] FS:  00007ff366758740(0000) GS:ffff9a0e67200000(0000) knlGS:0000000000000000
[828603.359626] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[828603.360736] CR2: 0000000000402759 CR3: 00000005bef14000 CR4: 00000000000406f0
[828603.362016] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[828603.363119] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[828603.364182] Call Trace:
[828603.365312]  [<ffffffffc0140b4c>] ? virtblk_ioctl+0x3c/0x70 [virtio_blk]
[828603.366357]  [<ffffffff8cb62ac5>] __blkdev_driver_ioctl+0x25/0x40
[828603.367413]  [<ffffffffc0017024>] dm_blk_ioctl+0x74/0xb0 [dm_mod]
[828603.368458]  [<ffffffff8ca473fa>] ? __check_object_size+0x1ca/0x250
[828603.369500]  [<ffffffff8cb6350a>] blkdev_ioctl+0x28a/0xa20
[828603.370564]  [<ffffffff8ca8a931>] block_ioctl+0x41/0x50
[828603.371564]  [<ffffffff8ca5fbc0>] do_vfs_ioctl+0x3a0/0x5a0
[828603.372631]  [<ffffffff8ca5fe61>] SyS_ioctl+0xa1/0xc0
[828603.373649]  [<ffffffff8cf8dede>] system_call_fastpath+0x25/0x2a
[828603.374703]  [<ffffffff8cf8de21>] ? system_call_after_swapgs+0xae/0x146
[828603.375717] Code: 89 e5 53 8b 5f f0 e8 ea b2 c5 cc 89 de 48 c7 c7 e0 83 05 c0 e8 5c ca b2 cc 5b 5d c3 66 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 <48> 8b 8f a0 00 00 00 48 89 e5 8b 91 90 00 00 00 85 d2 74 2c 48
[828603.377803] RIP  [<ffffffffc0056446>] virtio_check_driver_offered_feature+0x6/0x90 [virtio]
[828603.378929]  RSP <ffff9a0a12ac3d70>

Environment

  • Red Hat Enterprise Linux 7
    • kernel 3.10.0-1062.12.1.el7.x86_64
  • lvm2-2.02.185-2.el7_7.2.x86_64.rpm

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