• Jeff Moyer's avatar
    io-wq: fully initialize wqe before calling cpuhp_state_add_instance_nocalls() · 0f8baa3c
    Jeff Moyer authored
    I received a bug report with the following signature:
    
    [ 1759.937637] BUG: unable to handle page fault for address: ffffffffffffffe8
    [ 1759.944564] #PF: supervisor read access in kernel mode
    [ 1759.949732] #PF: error_code(0x0000) - not-present page
    [ 1759.954901] PGD 7ab615067 P4D 7ab615067 PUD 7ab617067 PMD 0
    [ 1759.960596] Oops: 0000 1 PREEMPT SMP PTI
    [ 1759.964804] CPU: 15 PID: 109 Comm: cpuhp/15 Kdump: loaded Tainted: G X ------- — 5.14.0-362.3.1.el9_3.x86_64 #1
    [ 1759.976609] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 06/20/2018
    [ 1759.985181] RIP: 0010:io_wq_for_each_worker.isra.0+0x24/0xa0
    [ 1759.990877] Code: 90 90 90 90 90 90 0f 1f 44 00 00 41 56 41 55 41 54 55 48 8d 6f 78 53 48 8b 47 78 48 39 c5 74 4f 49 89 f5 49 89 d4 48 8d 58 e8 <8b> 13 85 d2 74 32 8d 4a 01 89 d0 f0 0f b1 0b 75 5c 09 ca 78 3d 48
    [ 1760.009758] RSP: 0000:ffffb6f403603e20 EFLAGS: 00010286
    [ 1760.015013] RAX: 00000000000000...
    0f8baa3c
io-wq.c 32.6 KB