Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98500 Overview
CVE-2026-98500 is a Linux kernel vulnerability in the hid-oxp HID driver. The flaw stems from improper cancellation of delayed work items during device removal. The oxp_hid_remove() function calls cancel_delayed_work() on three delayed work items, which dequeues pending work without waiting for running callbacks to complete. As a result, callbacks such as oxp_rgb_queue_fn, oxp_btn_queue_fn, or oxp_mcu_init_fn can continue executing concurrently with hid_hw_close() and hid_hw_stop(), accessing the HID device after teardown. This race condition can lead to use-after-free behavior inside the kernel.
Critical Impact
A race between delayed work callbacks and HID device teardown can cause kernel memory corruption or crashes when an affected HID device is removed.
Affected Products
- Linux kernel versions containing the hid-oxp driver prior to the fix commits
- Linux stable branches referenced by commits abd24922c2a9 and eed737d89fa3
- Systems using OneXPlayer HID devices managed by hid-oxp
Discovery Timeline
- 2026-10-18 - CVE-2026-98500 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98500
Vulnerability Analysis
The hid-oxp driver schedules delayed work items to handle RGB lighting updates, button queue processing, and MCU initialization. During device removal, oxp_hid_remove() must tear down these work items before closing the HID transport. The original implementation used cancel_delayed_work(), which only removes queued work from the workqueue timer list. It does not block until a currently executing callback finishes.
When a callback runs in parallel with removal, it continues to dereference HID device state after hid_hw_close() and hid_hw_stop() have released or invalidated that state. The result is a classic use-after-free race condition in kernel context, which can produce kernel oopses, memory corruption, or arbitrary kernel memory access depending on timing.
Root Cause
The root cause is incorrect use of a non-synchronous cancellation primitive. cancel_delayed_work() returns without flushing in-flight work, so the driver proceeds to tear down resources that an executing callback still holds. The fix replaces each call with cancel_delayed_work_sync(), which waits for any running instance of the work callback to complete before returning.
Attack Vector
Triggering the race requires device removal to occur while one of the delayed work callbacks is executing. This typically requires physical access to attach and detach the HID device, or privileged operations that unbind the driver. The vulnerability is a local, race-condition issue rather than a remote attack surface, and successful exploitation depends on precise timing between workqueue execution and the removal path.
See the upstream fixes referenced in Kernel Git Commit abd24922c2a9 and Kernel Git Commit eed737d89fa3 for the exact source changes.
Detection Methods for CVE-2026-98500
Indicators of Compromise
- Kernel oops or BUG messages referencing hid-oxp, oxp_rgb_queue_fn, oxp_btn_queue_fn, or oxp_mcu_init_fn in dmesg
- Use-after-free reports from KASAN naming the hid-oxp module during device unbind or hot-unplug
- Unexpected kernel panics correlated with HID device removal events
Detection Strategies
- Audit running kernel versions against the fixed commits abd24922c2a9 and eed737d89fa3 to identify unpatched hosts
- Enable KASAN on test systems and exercise repeated bind and unbind of the hid-oxp driver to surface the race
- Monitor /var/log/kern.log and journald for warnings produced during HID device removal
Monitoring Recommendations
- Collect kernel ring buffer output from endpoints and forward it to a central log store for anomaly review
- Alert on repeated kernel stack traces that include hid_hw_close, hid_hw_stop, or delayed workqueue frames
- Track driver module load and unload events to correlate crashes with hot-plug activity
How to Mitigate CVE-2026-98500
Immediate Actions Required
- Apply the upstream Linux kernel patches that replace cancel_delayed_work() with cancel_delayed_work_sync() in oxp_hid_remove()
- Update to a distribution kernel package that incorporates the referenced stable commits
- Restrict physical and administrative access that would allow attaching or unbinding affected HID devices
Patch Information
The fix is available in the mainline and stable Linux kernel trees via commits abd24922c2a9 and eed737d89fa3. Both commits modify oxp_hid_remove() to use the synchronous cancellation variant, ensuring in-flight work callbacks complete before the HID device is closed and stopped.
Workarounds
- Blacklist the hid-oxp module on systems that do not require OneXPlayer HID functionality
- Avoid hot-unplugging affected HID devices on unpatched kernels and shut down before disconnecting
- Limit local account privileges that permit driver unbind operations through sysfs
# Blacklist the hid-oxp module until patched kernel is deployed
echo "blacklist hid-oxp" | sudo tee /etc/modprobe.d/blacklist-hid-oxp.conf
sudo update-initramfs -u
sudo reboot
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

