{"id":"CVE-2026-98500","state":"PUBLISHED","title":"HID: hid-oxp: use cancel_delayed_work_sync() in remove","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-oxp: use cancel_delayed_work_sync() in remove\n\noxp_hid_remove() uses cancel_delayed_work() for all three delayed work\nitems.  cancel_delayed_work() only dequeues a pending work item without\nwaiting for a currently executing callback to finish.  If any of the\nwork callbacks (oxp_rgb_queue_fn, oxp_btn_queue_fn, oxp_mcu_init_fn) is\nrunning at the time of removal, the callback continues executing\nconcurrently with hid_hw_close() and hid_hw_stop(), accessing the HID\ndevice after it has been closed and stopped.\n\nUse cancel_delayed_work_sync() instead to ensure that any in-progress\nwork callback completes before device teardown proceeds.","publishedAt":"2026-10-18T15:16:33.969Z","updatedAt":"2026-10-19T09:20:39.271Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84910c459d65ab3a1aeac7f936169fb71334dd46","status":"affected","lessThan":"eed737d89fa368251018a62e1d698958ef7dc635","versionType":"git"},{"version":"84910c459d65ab3a1aeac7f936169fb71334dd46","status":"affected","lessThan":"abd24922c2a9797d6184be0561dd85e7bcdfd091","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-oxp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-oxp.c"]}],"references":["https://git.kernel.org/stable/c/eed737d89fa368251018a62e1d698958ef7dc635","https://git.kernel.org/stable/c/abd24922c2a9797d6184be0561dd85e7bcdfd091"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98500.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98500","state":"PUBLISHED","datePublished":"2026-10-18T15:16:33.969Z","dateUpdated":"2026-10-19T09:20:39.271Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.353Z"},"containers":{"cna":{"title":"HID: hid-oxp: use cancel_delayed_work_sync() in remove","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-oxp: use cancel_delayed_work_sync() in remove\n\noxp_hid_remove() uses cancel_delayed_work() for all three delayed work\nitems.  cancel_delayed_work() only dequeues a pending work item without\nwaiting for a currently executing callback to finish.  If any of the\nwork callbacks (oxp_rgb_queue_fn, oxp_btn_queue_fn, oxp_mcu_init_fn) is\nrunning at the time of removal, the callback continues executing\nconcurrently with hid_hw_close() and hid_hw_stop(), accessing the HID\ndevice after it has been closed and stopped.\n\nUse cancel_delayed_work_sync() instead to ensure that any in-progress\nwork callback completes before device teardown proceeds."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84910c459d65ab3a1aeac7f936169fb71334dd46","status":"affected","lessThan":"eed737d89fa368251018a62e1d698958ef7dc635","versionType":"git"},{"version":"84910c459d65ab3a1aeac7f936169fb71334dd46","status":"affected","lessThan":"abd24922c2a9797d6184be0561dd85e7bcdfd091","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-oxp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-oxp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/eed737d89fa368251018a62e1d698958ef7dc635"},{"url":"https://git.kernel.org/stable/c/abd24922c2a9797d6184be0561dd85e7bcdfd091"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:20:39.271Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}