{"id":"CVE-2026-68214","aliases":["CVE-2026-68214"],"related":[],"kind":"vulnerability","state":"published","title":"media: rtl2832: fix use-after-free in rtl2832_remove()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rtl2832: fix use-after-free in rtl2832_remove()\n\ncancel_delayed_work_sync() is called before i2c_mux_del_adapters()\nin rtl2832_remove(). While the cancel waits for any running instance\nof i2c_gate_work to finish, it does not prevent the timer from being\nrescheduled by a concurrent thread.\n\nDuring probe, the r820t_attach() call attempts I2C transfers through\nthe mux adapter. These transfers go through i2c_mux_master_xfer(),\nwhich calls rtl2832_deselect() after the transfer completes,\nrescheduling i2c_gate_work via schedule_delayed_work(). If this\ntransfer is still in flight when rtl2832_remove() runs,\nrtl2832_deselect() can reschedule i2c_gate_work after it has been\ncancelled, causing a use-after-free when kfree(dev) is called.\n\nFix this by calling i2c_mux_del_adapters() before\ncancel_delayed_work_sync(). Once the mux adapter is unregistered, no\nnew I2C transfers can go through it, so rtl2832_deselect() can no\nlonger reschedule i2c_gate_work. The subsequent\ncancel_delayed_work_sync() is then guaranteed to be final.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rtl2832: fix use-after-free in rtl2832_remove()\n\ncancel_delayed_work_sync() is called before i2c_mux_del_adapters()\nin rtl2832_remove(). While the cancel waits for any running instance\nof i2c_gate_work to finish, it does not prevent the timer from being\nrescheduled by a concurrent thread.\n\nDuring probe, the r820t_attach() call attempts I2C transfers through\nthe mux adapter. These transfers go through i2c_mux_master_xfer(),\nwhich calls rtl2832_deselect() after the transfer completes,\nrescheduling i2c_gate_work via schedule_delayed_work(). If this\ntransfer is still in flight when rtl2832_remove() runs,\nrtl2832_deselect() can reschedule i2c_gate_work after it has been\ncancelled, causing a use-after-free when kfree(dev) is called.\n\nFix this by calling i2c_mux_del_adapters() before\ncancel_delayed_work_sync(). Once the mux adapter is unregistered, no\nnew I2C transfers can go through it, so rtl2832_deselect() can no\nlonger reschedule i2c_gate_work. The subsequent\ncancel_delayed_work_sync() is then guaranteed to be final.","source":"cvelist"}],"published":"2026-08-10T12:00:33.539Z","modified":"2026-12-01T17:20:33.680Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"1e8a6bc19403661661fed5ae82f6eca6c9cdfad2","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"68a9c0290897c1436ddceb8cea604c93377a0299","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"13c06056699e66ff7109ba68658cc6ea4a23f516","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"9acd5bbbe1df8e487e49488692c224496d4c9e16","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"24bef237eef8dd1ebcffb129ba21891ddad0d309","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"2c71bda6edc630a1f8c3c45d8df5fc22d234e042","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"90d781711418881f8c836c2a859cc2886625d750","status":"affected"},{"type":"git","introduced":"cddcc40b1b1553010acb89add84c64b5d123ec94","fixed":"680daf40a82d483949f87f0d8f98639dc47e610c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.7","fixed":"5.10.265"},{"status":"affected","introduced":"5.11","fixed":"5.15.216"},{"status":"affected","introduced":"5.16","fixed":"6.1.183"},{"status":"affected","introduced":"6.2","fixed":"6.6.148"},{"status":"affected","introduced":"6.7","fixed":"6.12.101"},{"status":"affected","introduced":"6.13","fixed":"6.18.42"},{"status":"affected","introduced":"6.19","fixed":"7.1.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1e8a6bc19403661661fed5ae82f6eca6c9cdfad2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68a9c0290897c1436ddceb8cea604c93377a0299","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13c06056699e66ff7109ba68658cc6ea4a23f516","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9acd5bbbe1df8e487e49488692c224496d4c9e16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24bef237eef8dd1ebcffb129ba21891ddad0d309","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c71bda6edc630a1f8c3c45d8df5fc22d234e042","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90d781711418881f8c836c2a859cc2886625d750","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/680daf40a82d483949f87f0d8f98639dc47e610c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:44:42.918Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68214","url":"https://www.cve.org/CVERecord?id=CVE-2026-68214","licence":"CVE Terms of Use","modified":"2026-11-06T16:55:09.435Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68214","licence":"Public domain","modified":"2026-12-01T17:20:33.680Z"}],"updatedAt":"2026-12-01T17:32:13.108Z","epss":{"score":0.00221,"percentile":0.13454,"date":"2026-12-01T12:00:22.000Z"}}