kernel was crashed due to general protection fault, probably for non-canonical address when __kmalloc refered to corrupted kmalloc-4k freelist
Issue
- Kernel panic occurred due to general protection fault at
__kmalloc()
[13201611.785467] general protection fault, probably for non-canonical address 0x952b3be4ed7c617a: 0000 [#1] SMP NOPTI
[13201611.785509] CPU: 1 PID: 175283 Comm: nfsd Kdump: loaded Not tainted 4.18.0-477.13.1.el8_8.x86_64 #1
...
[13201611.785558] RIP: 0010:__kmalloc+0xac/0x250
[13201611.785578] Code: 6b 49 8b 50 08 49 8b 00 49 83 78 10 00 48 89 04 24 0f 84 7a 01 00 00 48 85 c0 0f 84 71 01 00 00 8b 4d 20 48 8b 7d 00 48 01 c1 <48> 8b 19 48 89 ce 48 33 9d 90 01 00 00 48 8d 4a 01 48 0f ce 48 31
[13201611.785626] RSP: 0018:ffffb454a491fd20 EFLAGS: 00010282
[13201611.785642] RAX: 952b3be4ed7c597a RBX: ffff97b1fe664060 RCX: 952b3be4ed7c617a
[13201611.785662] RDX: 000000000110a391 RSI: 00000000006080c0 RDI: 00000000000381a0
[13201611.785682] RBP: ffff978dc00056c0 R08: ffff97a49f8781a0 R09: ffff9791d7c50000
[13201611.785702] R10: 0066fd44a8978446 R11: 0000000000000246 R12: 00000000006080c0
[13201611.785722] R13: 0000000000000848 R14: ffff978dc00056c0 R15: ffffffffc09234e9
[13201611.785743] FS: 0000000000000000(0000) GS:ffff97a49f840000(0000) knlGS:0000000000000000
[13201611.785765] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[13201611.785782] CR2: 00007ff57c0c73c8 CR3: 000000236fe10001 CR4: 00000000007706e0
[13201611.785802] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[13201611.785822] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[13201611.785842] PKRU: 55555554
[13201611.785852] Call Trace:
[13201611.785865] nfsd4_create_session+0x229/0x9d0 [nfsd]
[13201611.785904] nfsd4_proc_compound+0x30e/0x670 [nfsd]
[13201611.785930] nfsd_dispatch+0x15e/0x290 [nfsd]
[13201611.785952] svc_process_common+0x360/0x5c0 [sunrpc]
[13201611.785997] ? svc_sock_secure_port+0x12/0x40 [sunrpc]
[13201611.786026] ? nfsd_svc+0x2f0/0x2f0 [nfsd]
[13201611.786048] ? nfsd_shutdown_threads+0x80/0x80 [nfsd]
[13201611.786071] svc_process+0xb7/0xf0 [sunrpc]
[13201611.786098] nfsd+0xe3/0x140 [nfsd]
[13201611.786118] kthread+0x134/0x150
[13201611.786132] ? set_kthread_struct+0x50/0x50
[13201611.786145] ret_from_fork+0x1f/0x40
Environment
- Red Hat Enterprise Linux 8
- kernel-4.18.0-477.13.1.el8_8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.