CVE-2025-39818
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2025
Last modified:
16/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
HID: intel-thc-hid: intel-thc: Fix incorrect pointer arithmetic in I2C regs save<br />
<br />
Improper use of secondary pointer (&dev->i2c_subip_regs) caused<br />
kernel crash and out-of-bounds error:<br />
<br />
BUG: KASAN: slab-out-of-bounds in _regmap_bulk_read+0x449/0x510<br />
Write of size 4 at addr ffff888136005dc0 by task kworker/u33:5/5107<br />
<br />
CPU: 3 UID: 0 PID: 5107 Comm: kworker/u33:5 Not tainted 6.16.0+ #3 PREEMPT(voluntary)<br />
Workqueue: async async_run_entry_fn<br />
Call Trace:<br />
<br />
dump_stack_lvl+0x76/0xa0<br />
print_report+0xd1/0x660<br />
? __pfx__raw_spin_lock_irqsave+0x10/0x10<br />
? kasan_complete_mode_report_info+0x26/0x200<br />
kasan_report+0xe1/0x120<br />
? _regmap_bulk_read+0x449/0x510<br />
? _regmap_bulk_read+0x449/0x510<br />
__asan_report_store4_noabort+0x17/0x30<br />
_regmap_bulk_read+0x449/0x510<br />
? __pfx__regmap_bulk_read+0x10/0x10<br />
regmap_bulk_read+0x270/0x3d0<br />
pio_complete+0x1ee/0x2c0 [intel_thc]<br />
? __pfx_pio_complete+0x10/0x10 [intel_thc]<br />
? __pfx_pio_wait+0x10/0x10 [intel_thc]<br />
? regmap_update_bits_base+0x13b/0x1f0<br />
thc_i2c_subip_pio_read+0x117/0x270 [intel_thc]<br />
thc_i2c_subip_regs_save+0xc2/0x140 [intel_thc]<br />
? __pfx_thc_i2c_subip_regs_save+0x10/0x10 [intel_thc]<br />
[...]<br />
The buggy address belongs to the object at ffff888136005d00<br />
which belongs to the cache kmalloc-rnd-12-192 of size 192<br />
The buggy address is located 0 bytes to the right of<br />
allocated 192-byte region [ffff888136005d00, ffff888136005dc0)<br />
<br />
Replaced with direct array indexing (&dev->i2c_subip_regs[i]) to ensure<br />
safe memory access.