CVE-2025-39818
published high CVSS 3.1 · 7.8HID: intel-thc-hid: intel-thc: Fix incorrect pointer arithmetic in I2C regs save
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4228966def884c6e34b85cdc7118c5d013e1718f to < 78d4cf0466c79452e47aa6f720afbde63e709ccc · 4228966def884c6e34b85cdc7118c5d013e1718f to < a7fc15ed629be89e51e09b743277c53e0a0168f5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.16.5 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.43.1.el10_1 | ALSA-2026:4012 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.43.1.el10_1 | ALSA-2026:4012 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.41.1.el9_7 | ALSA-2026:4759 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: intel-thc-hid: intel-thc: Fix incorrect pointer arithmetic in I2C regs save Improper use of secondary pointer (&dev->i2c_subip_regs) caused kernel crash and out-of-bounds error: BUG: KASAN: slab-out-of-bounds in _regmap_bulk_read+0x449/0x510 Write of size 4 at addr ffff888136005dc0 by task kworker/u33:5/5107 CPU: 3 UID: 0 PID: 5107 Comm: kworker/u33:5 Not tainted 6.16.0+ #3 PREEMPT(voluntary) Workqueue: async async_run_entry_fn Call Trace: <TASK> dump_stack_lvl+0x76/0xa0 print_report+0xd1/0x660 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 ? kasan_complete_mode_report_info+0x26/0x200 kasan_report+0xe1/0x120 ? _regmap_bulk_read+0x449/0x510 ? _regmap_bulk_read+0x449/0x510 __asan_report_store4_noabort+0x17/0x30 _regmap_bulk_read+0x449/0x510 ? __pfx__regmap_bulk_read+0x10/0x10 regmap_bulk_read+0x270/0x3d0 pio_complete+0x1ee/0x2c0 [intel_thc] ? __pfx_pio_complete+0x10/0x10 [intel_thc] ? __pfx_pio_wait+0x10/0x10 [intel_thc] ? regmap_update_bits_base+0x13b/0x1f0 thc_i2c_subip_pio_read+0x117/0x270 [intel_thc] thc_i2c_subip_regs_save+0xc2/0x140 [intel_thc] ? __pfx_thc_i2c_subip_regs_save+0x10/0x10 [intel_thc] [...] The buggy address belongs to the object at ffff888136005d00 which belongs to the cache kmalloc-rnd-12-192 of size 192 The buggy address is located 0 bytes to the right of allocated 192-byte region [ffff888136005d00, ffff888136005dc0) Replaced with direct array indexing (&dev->i2c_subip_regs[i]) to ensure safe memory access.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is in a PCI HID driver's system-suspend callback, reachable only from the local machine by triggering a suspend (logind/systemctl suspend, lid close, or idle timeout). There is no network or remote-peer input path to `thc_i2c_subip_regs_save()`. AC:L - The bad pointer arithmetic is unconditional — every single suspend on affected Intel THC I2C hardware writes 60 bytes at the wrong address, ~40 of them past the end of the slab object, with no race or timing dependency. Heap grooming to place a chosen victim object in the adjacent kmalloc-192 slot is standard and under attacker control. PR:L - An unprivileged local user with an active session can initiate system suspend via systemd-logind, which default polkit policy grants to active local sessions without root. No CAP_SYS_ADMIN or `/sys/power/state` write access is needed, and the path is additionally reached by automatic idle suspend. UI:N - The attacker triggers the suspend themselves; no separate victim needs to take any action. The bug also fires on unattended idle or lid-close suspend with no user involvement at all. S:U - The out-of-bounds write corrupts kernel slab memory within the same kernel security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The restore path performs a matching ~40-byte out-of-bounds read of the adjacent heap object and pushes it into hardware registers, and the OOB write can corrupt a groomed neighbouring object's length or pointer fields to yield an arbitrary-read primitive. Per kernel guidance, unbounded OOB access and memory corruption leverageable for disclosure score High. I:H - This is a slab out-of-bounds write of roughly 40 bytes past the allocation into an adjacent heap object, which also silently corrupts `struct thc_device`'s own tail fields including the `i2c_subip_regs` pointer. Out-of-bounds heap writes are scored High because heap grooming can direct the corruption at security-relevant fields. A:H - The commit message and KASAN trace explicitly document a kernel crash from this out-of-bounds write, and it recurs on every suspend cycle. Corruption of the adjacent slab object plus programming garbage into live I2C controller registers on resume also renders the touch input device inoperable.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4228966def884c6e34b85cdc7118c5d013e1718f to < 78d4cf0466c79452e47aa6f720afbde63e709ccc (affected · git)4228966def884c6e34b85cdc7118c5d013e1718f to < a7fc15ed629be89e51e09b743277c53e0a0168f5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.16.5 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
2Provider assertions
2Linux · cna
HID: intel-thc-hid: intel-thc: Fix incorrect pointer arithmetic in I2C regs save
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9e77ec636bf649a2b79f4e1b4f9aaf97a0948b7857f9fe980a55e624681ba236
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record