{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142901","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.336Z","datePublished":"2026-12-03T03:25:49.092Z","dateUpdated":"2026-12-04T03:25:42.077Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:25:42.077Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: logitech-hidpp: cancel reset_hi_res_work on probe failure\n\nThe probe error path cancels hidpp->work before freeing the HID++ device\ndata, but does not cancel reset_hi_res_work.\n\nreset_hi_res_work can be scheduled while probing the device. If probe\nsubsequently fails, the work can run after the driver data has been\nfreed.\n\nCancel reset_hi_res_work in the probe error path to prevent a potential\nuse-after-free."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - HIDPP_QUIRK_RESET_HI_RES_SCROLL matches only LDJ product 0x407f. logi_dj_recv_add_djhid_device() creates that child when logi_dj_hidpp_event() gets a receiver HID++ report with sub_id 0x41 and EQUAD bytes 0x407f, and hidpp_raw_hidpp_event() queues reset_hi_res_work from a later HID++ report forwarded on the Unifying/Lightspeed 2.4 GHz link, which requires radio range.\nAC:H - hidpp_raw_hidpp_event() queues reset_hi_res_work when battery.online flips 0 to 1 in hidpp_probe()'s first hid_device_io_start() window, but __hid_device_probe() frees hidpp in devres_release_group() only if probe fails. The only failure after io_start is hid_bpf_allocate_event_data() returning -ENOMEM when a hid_device_event BPF program is already attached; logi_dj_ll_start() and logi_dj_ll_open() return 0, so the peer cannot force the free.\nPR:N - logi_dj_raw_event() and logi_dj_hidpp_event() accept the sub_id 0x41 connection notification and the forwarded HID++ battery report with no capable() check, and hidpp_probe() binds logitech-hidpp-device during that enumeration. The attacker is the radio peripheral, not a host account.\nUI:N - The peripheral itself sends the sub_id 0x41 notification that adds the 0x407f child and the HID++ report that makes hidpp_raw_hidpp_event() observe battery.online change from 0 to 1. hidpp_probe() does not wait for a userspace open, mount, or confirmation.\nS:U - The object freed on the probe error path is the struct hidpp_device from devm_kzalloc() in hidpp_probe(), and hidpp_reset_hi_res_handler() runs in the host kernel HID driver. That stays inside the same kernel security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - hidpp_reset_hi_res_handler() container_of()s the freed hidpp off reset_hi_res_work, and hi_res_scroll_enable() reads capabilities, hid_dev, and feature indexes. Reclaiming that slab, including the embedded work_struct whose func process_one_work() loads, yields an arbitrary kernel read.\nI:H - process_one_work() calls work->func from the freed hidpp, so a reclaimed reset_hi_res_work is control-flow hijack. If func is still hidpp_reset_hi_res_handler(), hi_res_scroll_enable() reaches __hidpp_send_report() and hid_hw_raw_request() through the dangling hidpp->hid_dev, which is an arbitrary kernel write.\nA:H - The hid_hw_start_fail path in hidpp_probe() cancelled hidpp->work but not reset_hi_res_work, so the queued handler runs after devres_release_group() frees hidpp. hidpp_reset_hi_res_handler() then dereferences that freed object and oopses even if the slab is not reused."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-logitech-hidpp.c"],"versions":[{"version":"c381dd20b0b2803a750baca59146dff2b0c5af57","lessThan":"be112ea29b4cd447c5ba05962fea7de5c0a6d521","status":"affected","versionType":"git"},{"version":"ed80cc4667ac997b84546e6d35f0a0ae525d239c","lessThan":"f0fe24c400d36dd3aa2527ebb9193cc19ab96957","status":"affected","versionType":"git"},{"version":"ed80cc4667ac997b84546e6d35f0a0ae525d239c","lessThan":"416b15ca5586a15d937952ea35fae53cae622825","status":"affected","versionType":"git"},{"version":"ed80cc4667ac997b84546e6d35f0a0ae525d239c","lessThan":"0be03caba6c002385e74d60be934b961aa5e88dc","status":"affected","versionType":"git"},{"version":"fa5cfb0e730b00052e9dd61704a53c5fa1727d65","status":"affected","versionType":"git"},{"version":"6.12.59","lessThan":"6.12.119","status":"affected","versionType":"semver"},{"version":"6.17.9","lessThan":"6.18","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-logitech-hidpp.c"],"versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.59","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/be112ea29b4cd447c5ba05962fea7de5c0a6d521"},{"url":"https://git.kernel.org/stable/c/f0fe24c400d36dd3aa2527ebb9193cc19ab96957"},{"url":"https://git.kernel.org/stable/c/416b15ca5586a15d937952ea35fae53cae622825"},{"url":"https://git.kernel.org/stable/c/0be03caba6c002385e74d60be934b961aa5e88dc"}],"title":"HID: logitech-hidpp: cancel reset_hi_res_work on probe failure","x_generator":{"engine":"bippy-1.2.0"}}}}