In the Linux kernel, the following vulnerability has been resolved:
HID: multitouch: fix out-of-bounds bit access on mt_io_flags
mt_io_flags is a single unsigned long, but mt_process_slot(), mt_release_pending_palms() and mt_release_contacts() use it as a per-slot bitmap indexed by the slot number. That slot number is only bounded by td->maxcontacts, which is taken from the device's ContactCountMaximum feature report and can be up to 255, not by BITS_PER_LONG.
As a result, a multitouch device that advertises a large contact count makes set_bit()/clear_bit() operate past the mt_io_flags word and corrupt the adjacent members of struct mt_device. The sticky-fingers release timer is the easiest way to reach this. mt_release_contacts() runs
for (i = 0; i < mt->num_slots; i++) clear_bit(i, &td->mt_io_flags);
with num_slots == maxcontacts. For maxcontacts around 250 the loop clears the bits that overlap td->applications.next, zeroing that list head, and the list_for_each_entry() that immediately follows then dereferences NULL. The kernel panics from timer (softirq) context. On a KASAN build this shows up as a general protection fault in mt_release_contacts() with a null-ptr-deref at offset 0x58, which is offsetof(struct mt_application, num_received).
The state is reachable from an untrusted USB or Bluetooth HID multitouch device; no local privileges are required.
Store the per-slot active state in a separately allocated bitmap sized for maxcontacts, the same pattern already used for pending_palm_slots, and keep only MT_IO_FLAGS_RUNNING in mt_io_flags. The two "mt_io_flags & MT_IO_SLOTS_MASK" arming checks become bitmap_empty(td->active_slots, td->maxcontacts).
Move MT_IO_FLAGS_RUNNING back to bit 0. It was bumped to bit 32 by the same commit to leave the low byte for the slot bits; with the slot bits gone it fits in bit 0 again, which also keeps it within the unsigned long on 32-bit.
CVSS Details
- CVSS 3.1 Base Score: 8.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade perf6.18-debuginfoUpgrade perfUpgrade kernel-livepatch-6.1.180-225.360Upgrade kernel6.18-debuginfoUpgrade perf-debuginfoUpgrade bpftool6.12Upgrade kernel-modules-extra-commonUpgrade kernel6.12-tools-debuginfoUpgrade perf6.12Upgrade python3-perf6.12-debuginfoUpgrade kernelUpgrade kernel6.18-develUpgrade bpftool6.12-debuginfoUpgrade kernel6.18-modules-extraUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel-tools-develUpgrade python3-perf6.18-debuginfoUpgrade microvm-kernel6.18Upgrade kernel-toolsUpgrade kernel6.18-tools-develUpgrade kernel-headersUpgrade kernel6.18-tools-debuginfoUpgrade kernel6.12-debuginfoUpgrade bpftool6.18-debuginfoUpgrade kernel6.18-toolsUpgrade kernel6.18-headersUpgrade kernel6.12-modules-extraUpgrade perf6.12-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-debuginfo-common-aarch64Upgrade perf6.18Upgrade kernel6.12-develUpgrade python3-perf6.12Upgrade kernel-tools-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade bpftoolUpgrade kernel6.12-debuginfo-common-x86_64Upgrade kernel-modules-extraUpgrade kernel-livepatch-6.12.100-125.179Upgrade kernel6.12-tools-develUpgrade kernel6.12-headersUpgrade bpftool6.18Upgrade python3-perf6.18Upgrade kernel6.12-toolsUpgrade kernel-develUpgrade kernel-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel-livepatch-6.18.39-79.141Upgrade kernel6.12-modules-extra-commonUpgrade kernel-debuginfo-common-aarch64Upgrade python3-perf-debuginfoUpgrade kernel6.12Upgrade bpftool-debuginfoUpgrade kernel6.18Upgrade python3-perf | Aug 18, 2026 | Jul 25, 2026 |
| Debian | — | Upgrade linux-6.1Upgrade linux-6.12Upgrade linux | Aug 2, 2026 | Aug 2, 2026 |
| Ubuntu | — | Upgrade linux-image-generic-64k-7.0Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-generic-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-genericUpgrade linux-image-realtime-64kUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-gcpUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-nvidia-bosUpgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1012-awsUpgrade linux-image-gke-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-raspiUpgrade linux-image-gke-64k-7.0Upgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-nvidiaUpgrade linux-image-nvidia-tegra-rtUpgrade linux-image-oem-26.04aUpgrade linux-image-gcp-64kUpgrade linux-image-awsUpgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-ibmUpgrade linux-image-oem-26.04Upgrade linux-image-aws-7.0Upgrade linux-image-nvidia-7.0Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-oem-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-realtimeUpgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-gkeUpgrade linux-image-nvidia-tegraUpgrade linux-image-6.8.0-1035-nvidia-tegra-rtUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-aws-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-nvidia-64kUpgrade linux-image-oem-26.04bUpgrade linux-image-virtual | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 13, 2026 | Jul 25, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub