Linux 5.13 + acpi_call BUG: kernel NULL pointer dereference

After installing linux513 I’ve noticed this in dmesg:

[    5.023913] BUG: kernel NULL pointer dereference, address: 0000000000000000
[    5.023918] #PF: supervisor instruction fetch in kernel mode
[    5.023921] #PF: error_code(0x0010) - not-present page
[    5.023923] PGD 0 P4D 0 
[    5.023925] Oops: 0010 [#1] PREEMPT SMP PTI
[    5.023929] CPU: 2 PID: 931 Comm: tpacpi-bat Tainted: P           OE     5.13.1-3-MANJARO #1
[    5.023932] Hardware name: LENOVO 20ENCTO1WW/20ENCTO1WW, BIOS N1EET90W (1.63 ) 10/21/2020
[    5.023933] RIP: 0010:0x0
[    5.023938] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[    5.023940] RSP: 0018:ffffc1ecc316fef0 EFLAGS: 00010246
[    5.023942] RAX: 0000000000000000 RBX: ffff9eadc32433c0 RCX: 0000000000000001
[    5.023944] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9eadc5834b00
[    5.023946] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001
[    5.023947] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[    5.023947] R13: ffffffffffffffea R14: ffff9eadc5834b00 R15: 0000000000000000
[    5.023949] FS:  00007fc84879b740(0000) GS:ffff9eb53f680000(0000) knlGS:0000000000000000
[    5.023951] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.023952] CR2: ffffffffffffffd6 CR3: 000000012c21c006 CR4: 00000000003706e0
[    5.023953] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    5.023954] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    5.023956] Call Trace:
[    5.023957]  proc_reg_llseek+0x49/0x80
[    5.023961]  ? __fdget_pos+0x13/0x50
[    5.023965]  ksys_lseek+0x7d/0xb0
[    5.023967]  do_syscall_64+0x40/0x80
[    5.023970]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    5.023974] RIP: 0033:0x7fc848a3299b
[    5.023975] Code: ff ff c3 0f 1f 40 00 48 8b 15 d1 04 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb ba 0f 1f 00 f3 0f 1e fa b8 08 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 a1 04 0d 00 f7 d8
[    5.023977] RSP: 002b:00007ffe9efd5748 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
[    5.023979] RAX: ffffffffffffffda RBX: 00007fc848eb9de0 RCX: 00007fc848a3299b
[    5.023980] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000003
[    5.023981] RBP: 0000557da6a81c40 R08: 00007ffe9efd56f0 R09: 00000000ffffffff
[    5.023982] R10: 00007fc848b03a00 R11: 0000000000000246 R12: 0000557da6a612a0
[    5.023983] R13: 00007ffe9efd5950 R14: 0000557da6a613e0 R15: 0000557da6b3e6e0
[    5.023986] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c cmac br_netfilter algif_hash algif_skcipher af_alg bnep uvcvideo btusb btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev mc ecdh_generic ecc usbhid bridge stp llc overlay joydev mousedev rmi_smbus rmi_core intel_rapl_msr intel_rapl_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel mac80211 libarc4 snd_ctl_led kvm snd_hda_codec_realtek vfat fat iwlwifi snd_hda_codec_generic irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel aesni_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec crypto_simd mei_wdt cryptd mei_hdcp intel_wmi_thunderbolt wmi_bmof ee1004 tpm_crb snd_hda_core rapl cfg80211 snd_hwdep snd_pcm intel_cstate thinkpad_acpi e1000e psmouse intel_uncore pcspkr mei_me i2c_i801
[    5.024026]  snd_timer tpm_tis platform_profile i2c_smbus ledtrig_audio mei tpm_tis_core rfkill intel_pch_thermal wmi snd soundcore tpm rng_core mac_hid zram nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) fuse acpi_call(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 crc32c_intel rtsx_pci xhci_pci i8042 serio i915 i2c_algo_bit intel_gtt video drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
[    5.024066] CR2: 0000000000000000
[    5.024067] ---[ end trace 4be638d5406f058d ]---
[    5.024068] RIP: 0010:0x0
[    5.024070] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[    5.024071] RSP: 0018:ffffc1ecc316fef0 EFLAGS: 00010246
[    5.024072] RAX: 0000000000000000 RBX: ffff9eadc32433c0 RCX: 0000000000000001
[    5.024073] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9eadc5834b00
[    5.024074] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001
[    5.024075] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[    5.024076] R13: ffffffffffffffea R14: ffff9eadc5834b00 R15: 0000000000000000
[    5.024077] FS:  00007fc84879b740(0000) GS:ffff9eb53f680000(0000) knlGS:0000000000000000
[    5.024079] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.024080] CR2: ffffffffffffffd6 CR3: 000000012c21c006 CR4: 00000000003706e0
[    5.024081] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    5.024082] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    5.115777] BUG: kernel NULL pointer dereference, address: 0000000000000000
[    5.115781] #PF: supervisor instruction fetch in kernel mode
[    5.115783] #PF: error_code(0x0010) - not-present page
[    5.115784] PGD 0 P4D 0 
[    5.115786] Oops: 0010 [#2] PREEMPT SMP PTI
[    5.115788] CPU: 0 PID: 1012 Comm: tpacpi-bat Tainted: P      D    OE     5.13.1-3-MANJARO #1
[    5.115791] Hardware name: LENOVO 20ENCTO1WW/20ENCTO1WW, BIOS N1EET90W (1.63 ) 10/21/2020
[    5.115793] RIP: 0010:0x0
[    5.115798] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[    5.115800] RSP: 0018:ffffc1ecc32e7ef0 EFLAGS: 00010246
[    5.115802] RAX: 0000000000000000 RBX: ffff9eadc32433c0 RCX: 0000000000000002
[    5.115805] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9eadc77e2400
[    5.115807] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001
[    5.115808] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[    5.115810] R13: ffffffffffffffea R14: ffff9eadc77e2400 R15: 0000000000000000
[    5.115812] FS:  00007f6f13712740(0000) GS:ffff9eb53f600000(0000) knlGS:0000000000000000
[    5.115815] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.115817] CR2: ffffffffffffffd6 CR3: 000000012c21c001 CR4: 00000000003706f0
[    5.115819] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    5.115820] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    5.115822] Call Trace:
[    5.115825]  proc_reg_llseek+0x49/0x80
[    5.115833]  ? __fdget_pos+0x13/0x50
[    5.115848]  ksys_lseek+0x7d/0xb0
[    5.115850]  do_syscall_64+0x40/0x80
[    5.115853]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    5.115857] RIP: 0033:0x7f6f139a999b
[    5.115859] Code: ff ff c3 0f 1f 40 00 48 8b 15 d1 04 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb ba 0f 1f 00 f3 0f 1e fa b8 08 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 a1 04 0d 00 f7 d8
[    5.115861] RSP: 002b:00007fff20a95228 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
[    5.115863] RAX: ffffffffffffffda RBX: 00007f6f13e30de0 RCX: 00007f6f139a999b
[    5.115864] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000003
[    5.115865] RBP: 000055f4f8f72c40 R08: 00007fff20a951d0 R09: 00000000ffffffff
[    5.115866] R10: 00007f6f13a7aa00 R11: 0000000000000246 R12: 000055f4f8f522a0
[    5.115867] R13: 00007fff20a95430 R14: 000055f4f8f523e0 R15: 000055f4f9074ea0
[    5.115870] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c cmac br_netfilter algif_hash algif_skcipher af_alg bnep uvcvideo btusb btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev mc ecdh_generic ecc usbhid bridge stp llc overlay joydev mousedev rmi_smbus rmi_core intel_rapl_msr intel_rapl_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel mac80211 libarc4 snd_ctl_led kvm snd_hda_codec_realtek vfat fat iwlwifi snd_hda_codec_generic irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel aesni_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec crypto_simd mei_wdt cryptd mei_hdcp intel_wmi_thunderbolt wmi_bmof ee1004 tpm_crb snd_hda_core rapl cfg80211 snd_hwdep snd_pcm intel_cstate thinkpad_acpi e1000e psmouse intel_uncore pcspkr mei_me i2c_i801
[    5.115912]  snd_timer tpm_tis platform_profile i2c_smbus ledtrig_audio mei tpm_tis_core rfkill intel_pch_thermal wmi snd soundcore tpm rng_core mac_hid zram nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) fuse acpi_call(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 crc32c_intel rtsx_pci xhci_pci i8042 serio i915 i2c_algo_bit intel_gtt video drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
[    5.115942] CR2: 0000000000000000
[    5.115944] ---[ end trace 4be638d5406f058e ]---
[    5.115946] RIP: 0010:0x0
[    5.115949] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[    5.115950] RSP: 0018:ffffc1ecc316fef0 EFLAGS: 00010246
[    5.115952] RAX: 0000000000000000 RBX: ffff9eadc32433c0 RCX: 0000000000000001
[    5.115954] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9eadc5834b00
[    5.115956] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001
[    5.115958] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[    5.115959] R13: ffffffffffffffea R14: ffff9eadc5834b00 R15: 0000000000000000
[    5.115961] FS:  00007f6f13712740(0000) GS:ffff9eb53f600000(0000) knlGS:0000000000000000
[    5.115963] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.115965] CR2: ffffffffffffffd6 CR3: 000000012c21c001 CR4: 00000000003706f0
[    5.115966] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    5.115967] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

This entry disappears after uninstalling the acpi_call module and doesn’t show up at all on linux510 with or without acpi_call.
H/w: ThinkPad P50.

:+1: Welcome to Manjaro! :+1:

Please read this:

Then file a bug upstream or keep using 5.10 LTS… (which is what I do)

:crossed_fingers: