CVE-2026-98500

HID: hid-oxp: use cancel_delayed_work_sync() in remove

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

HID: hid-oxp: use cancel_delayed_work_sync() in remove

oxp_hid_remove() uses cancel_delayed_work() for all three delayed work
items. cancel_delayed_work() only dequeues a pending work item without
waiting for a currently executing callback to finish. If any of the
work callbacks (oxp_rgb_queue_fn, oxp_btn_queue_fn, oxp_mcu_init_fn) is
running at the time of removal, the callback continues executing
concurrently with hid_hw_close() and hid_hw_stop(), accessing the HID
device after it has been closed and stopped.

Use cancel_delayed_work_sync() instead to ensure that any in-progress
work callback completes before device teardown proceeds.

Analysis

AI-generated

Technical impact

The Linux kernel OXP HID driver was removing a device by calling cancel_delayed_work() on all delayed work items. Because cancel_delayed_work() only dequeues a work item without waiting for an already running callback to finish, any active callback—such as oxp_rgb_queue_fn, oxp_btn_queue_fn, or oxp_mcu_init_fn—could continue executing concurrently with hid_hw_close() and hid_hw_stop(). This race condition allows the callback to access a HID device that has already been closed, potentially causing a kernel panic or other failure. The primary impact is a denial of service caused by a kernel crash.

Affected Systems

Linux kernel installations that include the unpatched OXP HID driver are affected. Hardware relying on the OXP HID interface (e.g., OXP‑based USB devices) may trigger the vulnerability when the driver removes or disconnects a device. No specific kernel version is listed; any kernel containing the OXP HID driver prior to the commit that replaces cancel_delayed_work() with cancel_delayed_work_sync() is vulnerable.

Risk and Exploitability

The vulnerability is local; an attacker must trigger a device removal while a delayed work callback is running. The medium CVSS score of 4.1 reflects the limited impact. The EPSS score of less than 1% indicates a very low probability of exploitation at the time of this analysis. The vulnerability is not listed in the CISA KEV catalog, suggesting it has not been publicly exploited. The risk is moderate but the impact is a system crash that results in denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix where cancel_delayed_work_sync() is used in the OXP HID driver; the referenced kernel commits provide the necessary change.
  • If an official update is unavailable, cherry‑select the commit that replaces cancel_delayed_work() with cancel_delayed_work_sync() into the driver source, rebuild, and load the patched kernel module.
  • If the OXP HID device is not required, disable the driver by editing the kernel configuration to exclude it or unload it with modprobe -r so that the removal race cannot occur.

Generated by OpenCVE AI on October 23, 2026 at 07:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: hid-oxp: use cancel_delayed_work_sync() in remove oxp_hid_remove() uses cancel_delayed_work() for all three delayed work items. cancel_delayed_work() only dequeues a pending work item without waiting for a currently executing callback to finish. If any of the work callbacks (oxp_rgb_queue_fn, oxp_btn_queue_fn, oxp_mcu_init_fn) is running at the time of removal, the callback continues executing concurrently with hid_hw_close() and hid_hw_stop(), accessing the HID device after it has been closed and stopped. Use cancel_delayed_work_sync() instead to ensure that any in-progress work callback completes before device teardown proceeds.
Title HID: hid-oxp: use cancel_delayed_work_sync() in remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:20 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM