Cloudanix VulnDB

CVE-2026-64273

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Jul 25, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A malicious plug-in input device could make affected Linux systems corrupt kernel memory, potentially causing crashes or helping an attacker gain deeper control of the machine.

Exploitation
Physical Access
Attacker needs
Physical Access
Complexity
Moderate
Impact
Privilege Gain
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

This is a Linux kernel memory-corruption vulnerability in the iforce force-feedback input driver. The driver accepts a device-supplied force-feedback effect index from USB or serio device status packets and masks it to a 0-127 range, but the backing core_effects array contains only 32 entries. A malicious or counterfeit force-feedback device can send an out-of-range index and trigger an out-of-bounds single-bit read-modify-write past the array, corrupting adjacent kernel heap memory in the allocated iforce object. Practical impact depends on heap layout and kernel hardening, but the primitive can plausibly cause kernel crashes, device-driver instability, or potentially support local privilege escalation from a malicious physical or emulated peripheral.

Why it matters to the business

The primary operational risk is compromise or disruption of Linux systems that accept untrusted force-feedback input devices, such as gaming peripherals, test equipment, USB-over-IP devices, or emulated USB/serio hardware. Exploitation requires a malicious or compromised device path rather than a remote network request, so broad internet-scale exploitation is unlikely; however, workstations, kiosks, labs, build/test machines, and systems where users can attach peripherals are more exposed. Because this is kernel memory corruption, successful exploitation could affect host stability and potentially undermine system isolation. The low EPSS score and absence from the CISA KEV catalog indicate no current evidence of widespread exploitation, but kernel fixes should still be prioritized where untrusted peripherals are permitted.

How an attack unfolds

An attacker first gains the ability to present a malicious force-feedback-capable device to a Linux host, either physically, through a counterfeit peripheral, via a programmable USB device, through USB passthrough, or through an emulated serio/input path. The device is recognized by the iforce driver and sends a status report packet with packet id 0x02. In that packet, the attacker controls data[1], which the vulnerable driver interprets as an effect index after applying only a 0x7f mask. By choosing an index from 32 through 127, the attacker causes the driver to access iforce->core_effects outside its valid bounds. The subsequent test_and_set_bit() or test_and_clear_bit() operation performs a single-bit read-modify-write in adjacent kernel heap memory. Repeated packets may allow the attacker to flip selected bits at offsets beyond the array, potentially leading to a denial of service through memory corruption or, with sufficient kernel heap control and bypasses for hardening features, contributing to privilege escalation.

How to fix it

Apply the Linux kernel update that includes the iforce fix bounding the device-reported effect index against IFORCE_EFFECTS_MAX before indexing core_effects. Where vendor-specific fixed kernel package versions are available, update to the first fixed version or later from the operating system or appliance vendor. If immediate patching is not possible, reduce exposure by preventing untrusted USB/serio peripherals from being attached, disabling or restricting USB passthrough into virtual machines, using USB device allowlisting, and disabling or blacklisting the iforce driver where force-feedback devices are not required. As a temporary mitigation on systems that do not need this driver, consider preventing module loading for the iforce-related driver module through standard Linux module blacklist mechanisms, subject to distribution-specific naming and testing.

How to confirm the fix worked

Confirm the running kernel includes the upstream or vendor backport that rejects out-of-range iforce effect indexes. Validate by checking the installed and running kernel package versions against vendor advisories, not only by checking source version strings, because many distributions backport fixes. On systems where source or debug symbols are available, confirm the iforce status-packet handling path bounds the effect index against IFORCE_EFFECTS_MAX before accessing core_effects. Also inventory whether the iforce driver is loaded or available, whether force-feedback devices are attached, and whether users or virtualization platforms can attach arbitrary USB devices. After mitigation, verify untrusted or unauthorized force-feedback devices are blocked by USB control policy and that the driver is not loaded on systems where it is unnecessary.

Typical attack path

  1. Obtain physical, virtual, or passthrough access to attach a malicious USB or serio input device to a Linux host.
  2. Make the device enumerate in a way that is handled by the Linux iforce force-feedback driver.
  3. Send a crafted status report packet with packet id 0x02.
  4. Set the device-controlled effect index byte to a value between 32 and 127, optionally toggling the high bit to choose the played/not-played status path.
  5. Trigger the vulnerable out-of-bounds bit operation against memory past the core_effects array.
  6. Repeat crafted packets to induce kernel memory corruption, crash the host, or attempt to shape corruption for further exploitation.

How to detect it

Retrospective detection should focus on evidence that a suspicious force-feedback input device was attached and that the kernel experienced memory corruption in the iforce driver path. Review kernel logs, system journals, audit logs, USB device inventory telemetry, EDR device-control events, hypervisor USB passthrough logs, and crash dumps. Look for new or unusual USB/serio input devices followed by kernel warnings, oopses, panics, KASAN reports, slab corruption, or stack traces referencing iforce_process_packet or iforce driver routines. In environments with USB device-control tooling, search for unapproved gaming wheels, joysticks, force-feedback controllers, programmable USB devices, USB-over-IP adapters, or unexpected vendor/product IDs. Absence of logs does not rule out exploitation because the vulnerable operation may corrupt memory without producing a deterministic artifact unless it crashes or triggers kernel sanitizers.

  • iforce_process_packet
  • Input: iforce
  • iforce
  • BUG: KASAN: slab-out-of-bounds
  • BUG: KASAN: out-of-bounds
  • slab-out-of-bounds
  • general protection fault
  • kernel BUG
  • Oops:
  • Kernel panic
  • test_and_set_bit
  • test_and_clear_bit
  • force feedback
  • force-feedback
  • usbcore: registered new interface driver iforce

What your security team should do

  • Prioritize patching Linux workstations, kiosks, lab systems, and virtualization hosts that allow users or guests to attach USB or serio input devices.
  • Inventory systems with the iforce driver loaded or force-feedback devices attached, and treat those as the highest-exposure population.
  • Restrict untrusted peripheral access using USB allowlisting, endpoint device-control policy, BIOS/UEFI port controls, or hypervisor USB passthrough restrictions.
  • Disable or blacklist the iforce driver on systems that do not require supported force-feedback devices, after compatibility testing.
  • Monitor kernel logs for crashes, KASAN reports, slab out-of-bounds messages, or oops traces involving iforce_process_packet or the iforce driver.
  • Because there is no current KEV listing, no known ransomware use, and low EPSS, handle as a targeted/local peripheral risk rather than an internet-facing emergency, while still incorporating the kernel fix into normal security patch cycles.

The record

In the Linux kernel, the following vulnerability has been resolved: Input: iforce - bound the device-reported force-feedback effect index iforce_process_packet() handles a status report (packet id 0x02) by taking a force-feedback effect index straight from the device wire and using it to address the per-effect state array: i = data[1] & 0x7f; if (data[1] & 0x80) { if (!test_and_set_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) ... } else if (test_and_clear_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { ... } The index is masked only with 0x7f, so it ranges 0..127, but core_effects[] holds only IFORCE_EFFECTS_MAX (32) entries. For an index of 32..127 the test_and_set_bit()/test_and_clear_bit() is an out-of-bounds single-bit read-modify-write past the array. core_effects[] is the second-to-last member of struct iforce, so the write lands in the trailing members and beyond the embedding kzalloc()'d iforce_serio / iforce_usb object. data[1] is unvalidated device payload on both transports (the USB interrupt endpoint and serio), and the status path is not gated on force feedback being present, so a malicious or counterfeit device can set or clear a bit at an attacker-chosen offset past the object. Reject an out-of-range index instead of indexing with it. Bound against the array dimension IFORCE_EFFECTS_MAX rather than dev->ff->max_effects so the check guarantees memory safety regardless of how many effects the device registered. A legitimate "effect started/stopped" status always carries an index below IFORCE_EFFECTS_MAX, so well-formed devices are unaffected; the neighbouring mark_core_as_ready() loop is already bounded and is left untouched.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities