CVE-2026-68087

HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()

Published Aug 10, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()

wacom_wac_queue_flush() is called via the .raw_event callback
(wacom_raw_event → wacom_wac_pen_serial_enforce → wacom_wac_queue_flush).
For USB HID devices, this callback is invoked from hid_irq_in(), which
is a URB completion handler running in atomic context. Using GFP_KERNEL
in this path can sleep, leading to a "scheduling while atomic" bug.

Use GFP_ATOMIC instead. The existing code already handles allocation
failure by skipping the fifo entry and continuing.

Analysis

AI-generated

Technical impact

The Linux kernel driver for Wacom devices contains a flaw where the function wacom_wac_queue_flush() allocates memory using GFP_KERNEL in an interrupt/atomic context. Because GFP_KERNEL can sleep, this can trigger a "scheduling while atomic" condition, causing the kernel to block or panic. The result is a denial‑of‑service that can render the system unresponsive or cause device hangs. The flaw is a classic resource-allocation misuse and can be triggered by sending crafted HID events to the device.

Affected Systems

All Linux kernel versions that include the unsigned wacom driver before the patch that switches GFP_KERNEL to GFP_ATOMIC are vulnerable. The vulnerability is present in existing distributions that ship the wacom HID driver without the fix, so any system running a Linux kernel that has not been updated to contain the changes at commit 27c4dad1b7917b747bf080792a527997e3147c69, 55f1ad573e34abf9a0443c34bc5a63d74edba7d7, or bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b is affected. Vendor-specific builds that have not applied the upstream patch remain at risk. No specific vendor version numbers are listed in the CNA data.

Risk and Exploitability

The CVSS score is 5.5, the EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. The flaw can be triggered by any USB HID device connected to the host, so the risk to systems with Wacom input devices is moderate to high if the attacker has physical access or can supply malicious HID data. Remote exploitation would require the ability to deliver crafted HID packets through a compromised device, which is less likely. The exploitation path is straightforward: a malicious device that sends raw HID events to the kernel invokes wacom_raw_event → wacom_wac_pen_serial_enforce → wacom_wac_queue_flush, where the wrong allocation policy triggers the scheduling error.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a Linux kernel that contains the patch changing GFP_KERNEL to GFP_ATOMIC in the wacom driver; the upstream patch is available in the reviewed commits.
  • Reboot the host or reload the kernel module to ensure the updated code is in use.
  • Monitor system logs for any persistence of scheduling or kernel panic messages that may indicate the flaw continues to be exercised.

Generated by OpenCVE AI on August 13, 2026 at 10:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-772
Type Values Removed Values Added
Weaknesses CWE-663
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-772
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush() wacom_wac_queue_flush() is called via the .raw_event callback (wacom_raw_event → wacom_wac_pen_serial_enforce → wacom_wac_queue_flush). For USB HID devices, this callback is invoked from hid_irq_in(), which is a URB completion handler running in atomic context. Using GFP_KERNEL in this path can sleep, leading to a "scheduling while atomic" bug. Use GFP_ATOMIC instead. The existing code already handles allocation failure by skipping the fifo entry and continuing.
Title HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-663

    Use of a Non-reentrant Function in a Concurrent Context

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 4:58 AM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 12:17 PM
Modified
Aug 17, 2026, 5:18 AM
Severity
Low
Public date
Aug 10, 2026, 12:00 AM