Package: tp-smapi-dkms
Version: 0.43-1
Severity: important
X-Debbugs-Cc: evily...@gmail.com

Dear Maintainer,

While working fine on kernel 5.10, starting with 5.14, when the thinkpad_ec or
tp_smapi modules are loaded, a kernel oop occurs.

Here's a relevant extract from kernel messages:
[   92.365760] tp_smapi 0.43 loading...
[   92.365896] tp_smapi successfully loaded (smapi_port=0xb2).
[   92.445556] BUG: kernel NULL pointer dereference, address: 0000000000000000
[   92.445575] #PF: supervisor instruction fetch in kernel mode
[   92.445581] #PF: error_code(0x0010) - not-present page
[   92.445587] PGD 0 P4D 0
[   92.445597] Oops: 0010 [#2] SMP PTI
[   92.445606] CPU: 2 PID: 1587 Comm: tpacpi-bat Tainted: G      D    OE
5.14.0-2-amd64 #1  Debian 5.14.9-2
[   92.445615] Hardware name: LENOVO 4180AP3/4180AP3, BIOS 83ET73WW (1.43 )
11/30/2012
[   92.445620] RIP: 0010:0x0
[   92.445635] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[   92.445640] RSP: 0018:ffff9cf1c0d27ef0 EFLAGS: 00010246
[   92.445647] RAX: 0000000000000000 RBX: ffff8a3ec373f9c0 RCX:
0000000000000002
[   92.445653] RDX: 0000000000000001 RSI: 0000000000000000 RDI:
ffff8a3dc4389500
[   92.445657] RBP: 0000000000000000 R08: 0000000000000003 R09:
0000000000000000
[   92.445662] R10: 0000000000000000 R11: 0000000000000000 R12:
0000000000000001
[   92.445666] R13: ffffffffffffffea R14: ffff8a3dc4389500 R15:
0000000000000000
[   92.445672] FS:  00007f09944572c0(0000) GS:ffff8a3eda280000(0000)
knlGS:0000000000000000
[   92.445679] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.445684] CR2: ffffffffffffffd6 CR3: 0000000001142002 CR4:
00000000000606e0
[   92.445691] Call Trace:
[   92.445698]  proc_reg_llseek+0x45/0x80
[   92.445719]  ksys_lseek+0x7d/0xb0
[   92.445729]  do_syscall_64+0x3b/0xc0
[   92.445739]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[   92.445752] RIP: 0033:0x7f099466ade7
[   92.445758] Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 8b 15 d9 91 00 00 f7
d8 64 89 02 b8 ff ff ff ff eb b8 0f 1f 44 00 00 b8 08 00 00 00 0f 05 <48> 3d 00
f0 ff ff 77 01 c3 48 8b 15 b1 91 00 00 f7 d8 64 89 02 48
[   92.445767] RSP: 002b:00007ffd5c6b88a8 EFLAGS: 00000246 ORIG_RAX:
0000000000000008
[   92.445774] RAX: ffffffffffffffda RBX: 000056520b25de80 RCX:
00007f099466ade7
[   92.445779] RDX: 0000000000000001 RSI: 0000000000000000 RDI:
0000000000000003
[   92.445784] RBP: 000056520c749000 R08: 00007ffd5c6b8850 R09:
00000000ffffffff
[   92.445788] R10: 0000000000000014 R11: 0000000000000246 R12:
000056520c7282a0
[   92.445793] R13: 00007ffd5c6b8aa0 R14: 000056520c7283f0 R15:
000056520c7d4400
[   92.445802] Modules linked in: tp_smapi(OE) nf_tables nfnetlink tun
cpufreq_powersave cpufreq_userspace cpufreq_conservative cpufreq_ondemand
toshiba_acpi sparse_keymap industrialio toshiba_haps hp_accel lis3lv02d
hdaps(OE) acpi_call(OE) thinkpad_ec(OE) uvcvideo videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc snd_hda_codec_hdmi
snd_ctl_led snd_hda_codec_conexant snd_hda_codec_generic i915 iwldvm
snd_hda_intel intel_rapl_msr intel_rapl_common snd_intel_dspcfg mac80211
snd_intel_sdw_acpi ttm snd_hda_codec x86_pkg_temp_thermal intel_powerclamp
coretemp libarc4 drm_kms_helper snd_hda_core pktcdvd snd_hwdep mei_wdt iTCO_wdt
ghash_clmulni_intel cec aesni_intel iwlwifi thinkpad_acpi snd_pcm rc_core nvram
mei_hdcp intel_pmc_bxt i2c_algo_bit platform_profile at24 iTCO_vendor_support
ledtrig_audio crypto_simd cryptd snd_timer mei_me cfg80211 snd mei watchdog sg
soundcore rapl intel_cstate intel_uncore rfkill evdev joydev ac wmi_bmof pcspkr
serio_raw button
[   92.445953]  binfmt_misc parport_pc ppdev lp parport drm sunrpc configfs
fuse ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 raid10 raid456
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq
libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod sd_mod sr_mod
cdrom t10_pi crc_t10dif crct10dif_generic ehci_pci ahci ehci_hcd libahci e1000e
libata crct10dif_pclmul usbcore crct10dif_common sdhci_pci psmouse crc32_pclmul
cqhci crc32c_intel scsi_mod sdhci mmc_core i2c_i801 ptp i2c_smbus lpc_ich
pps_core usb_common wmi battery video
[   92.446071] CR2: 0000000000000000
[   92.446077] ---[ end trace 5a46d47e5ade0144 ]---

This system is a thinkpad T420.

Please let me know if any more details would be helpful.

Best regards,

-Pascal

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tp-smapi-dkms depends on:
ii  dkms  2.8.7-2

tp-smapi-dkms recommends no packages.

tp-smapi-dkms suggests no packages.

Reply via email to