Issue found with Jammy 5.15.0-1043-realtime on ARM64 node scobee-kernel
[ 101.745684] BUG: using smp_processor_id() in preemptible [00000000] code: systemd-udevd/2706 [ 101.745703] caller is debug_smp_processor_id+0x20/0x30 [ 101.745726] CPU: 63 PID: 2706 Comm: systemd-udevd Not tainted 5.15.0-1043-realtime #48-Ubuntu [ 101.745733] Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 CS V3.B160.01 01/15/2020 [ 101.745739] Call trace: [ 101.745741] dump_backtrace+0x0/0x200 [ 101.745751] show_stack+0x20/0x30 [ 101.745756] dump_stack_lvl+0x68/0x84 [ 101.745765] dump_stack+0x18/0x34 [ 101.745770] check_preemption_disabled+0x148/0x190 [ 101.745775] debug_smp_processor_id+0x20/0x30 [ 101.745780] hpre_create_qp+0x3c/0x150 [hisi_hpre] [ 101.745806] hpre_ctx_init+0x38/0x180 [hisi_hpre] [ 101.745815] hpre_rsa_init_tfm+0x48/0x9c [hisi_hpre] [ 101.745824] crypto_akcipher_init_tfm+0x48/0x60 [ 101.745840] crypto_create_tfm_node+0x6c/0x14c [ 101.745854] crypto_spawn_tfm2+0x38/0x7c [ 101.745862] pkcs1pad_init_tfm+0x28/0x50 [ 101.745869] crypto_akcipher_init_tfm+0x48/0x60 [ 101.745874] crypto_create_tfm_node+0x6c/0x14c [ 101.745881] crypto_alloc_tfm_node+0x78/0x100 [ 101.745887] crypto_alloc_akcipher+0x2c/0x40 [ 101.745893] public_key_verify_signature+0xb8/0x3c0 [ 101.745900] public_key_verify_signature_2+0x1c/0x30 [ 101.745905] verify_signature+0x44/0x60 [ 101.745910] pkcs7_validate_trust_one.constprop.0+0x1a0/0x250 [ 101.745915] pkcs7_validate_trust+0x54/0xc0 [ 101.745921] verify_pkcs7_message_sig+0x94/0x150 [ 101.745930] verify_pkcs7_signature+0x74/0xb0 [ 101.745934] mod_verify_sig+0xa4/0x120 [ 101.745948] load_module+0x840/0xbf0 [ 101.745954] __do_sys_finit_module+0xa8/0x114 [ 101.745960] __arm64_sys_finit_module+0x28/0x3c [ 101.745966] invoke_syscall+0x78/0x100 [ 101.745976] el0_svc_common.constprop.0+0x180/0x184 [ 101.745984] do_el0_svc+0x30/0xac [ 101.745991] el0_svc+0x50/0x1f0 [ 101.746003] el0t_64_sync_handler+0xa4/0x130 [ 101.746010] el0t_64_sync+0x1a4/0x1a8
Issue found with Jammy 5.15.0- 1043-realtime on ARM64 node scobee-kernel
[ 101.745684] BUG: using smp_processor_id() in preemptible [00000000] code: systemd-udevd/2706 processor_ id+0x20/ 0x30 1043-realtime #48-Ubuntu 0x0/0x200 0x20/0x30 lvl+0x68/ 0x84 0x18/0x34 n_disabled+ 0x148/0x190 processor_ id+0x20/ 0x30 qp+0x3c/ 0x150 [hisi_hpre] init+0x38/ 0x180 [hisi_hpre] init_tfm+ 0x48/0x9c [hisi_hpre] akcipher_ init_tfm+ 0x48/0x60 create_ tfm_node+ 0x6c/0x14c spawn_tfm2+ 0x38/0x7c init_tfm+ 0x28/0x50 akcipher_ init_tfm+ 0x48/0x60 create_ tfm_node+ 0x6c/0x14c alloc_tfm_ node+0x78/ 0x100 alloc_akcipher+ 0x2c/0x40 key_verify_ signature+ 0xb8/0x3c0 key_verify_ signature_ 2+0x1c/ 0x30 signature+ 0x44/0x60 trust_one. constprop. 0+0x1a0/ 0x250 trust+0x54/ 0xc0 pkcs7_message_ sig+0x94/ 0x150 pkcs7_signature +0x74/0xb0 sig+0xa4/ 0x120 0x840/0xbf0 finit_module+ 0xa8/0x114 sys_finit_ module+ 0x28/0x3c syscall+ 0x78/0x100 common. constprop. 0+0x180/ 0x184 svc+0x30/ 0xac sync_handler+ 0xa4/0x130 sync+0x1a4/ 0x1a8
[ 101.745703] caller is debug_smp_
[ 101.745726] CPU: 63 PID: 2706 Comm: systemd-udevd Not tainted 5.15.0-
[ 101.745733] Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 CS V3.B160.01 01/15/2020
[ 101.745739] Call trace:
[ 101.745741] dump_backtrace+
[ 101.745751] show_stack+
[ 101.745756] dump_stack_
[ 101.745765] dump_stack+
[ 101.745770] check_preemptio
[ 101.745775] debug_smp_
[ 101.745780] hpre_create_
[ 101.745806] hpre_ctx_
[ 101.745815] hpre_rsa_
[ 101.745824] crypto_
[ 101.745840] crypto_
[ 101.745854] crypto_
[ 101.745862] pkcs1pad_
[ 101.745869] crypto_
[ 101.745874] crypto_
[ 101.745881] crypto_
[ 101.745887] crypto_
[ 101.745893] public_
[ 101.745900] public_
[ 101.745905] verify_
[ 101.745910] pkcs7_validate_
[ 101.745915] pkcs7_validate_
[ 101.745921] verify_
[ 101.745930] verify_
[ 101.745934] mod_verify_
[ 101.745948] load_module+
[ 101.745954] __do_sys_
[ 101.745960] __arm64_
[ 101.745966] invoke_
[ 101.745976] el0_svc_
[ 101.745984] do_el0_
[ 101.745991] el0_svc+0x50/0x1f0
[ 101.746003] el0t_64_
[ 101.746010] el0t_64_