{"api_version":"1","generated_at":"2026-11-30T14:13:38+00:00","cve":"CVE-2026-99511","urls":{"html":"https://cve.report/CVE-2026-99511","api":"https://cve.report/api/cve/CVE-2026-99511.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99511","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99511"},"summary":{"title":"media: cx23885: Fix use-after-free in cx23885_finidev due to race condition","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx23885: Fix use-after-free in cx23885_finidev due to race condition\n\nIn cx23885_v4l2_dev_notify_init, &dev->cx25840_work is bound with\ncx23885_av_work_handler, and &dev->ir_rx_work and &dev->ir_tx_work\nare bound with cx23885_ir_rx_work_handler and\ncx23885_ir_tx_work_handler. cx23885_irq can schedule these works on\nsystem_wq when an AV_CORE interrupt is received, and the IR subdevice\ncan also schedule the IR works from its interrupt service routine via\nthe v4l2_device notify callback.\n\nIf we remove the device, cx23885_finidev makes cleanup and the memory\nallocated for dev is released by kfree(dev), while the works mentioned\nabove may still be pending or running. The sequence of operations that\nmay lead to a UAF bug is as follows:\n\nCPU0                                      CPU1\n\n                                          | cx23885_irq\n                                          | schedule_work(&dev->cx25840_work)\ncx23885_finidev                           |\ncx23885_input_fini(dev)                   |\ncx23885_ir_fini(dev)                      |\ncx23885_shutdown(dev)                     |\nfree_irq(pci_dev->irq, dev)               |\npci_disable_device(pci_dev)               |\ncx23885_dev_unregister(dev)               |\nv4l2_device_unregister(v4l2_dev)          |\nkfree(dev)                                |\n// dev is freed                           |\n                                          | cx23885_av_work_handler\n                                          | // use dev (use-after-free)\n\nFix it by canceling the works after the IRQ handler that can schedule\nthem has been stopped, and before proceeding with the remaining\ncleanup in cx23885_finidev.\n\nNote that the flush_work() calls in cx23885_input_ir_stop() do not\nclose this race: they only wait for works that are already queued or\nrunning at that moment, they do not prevent the IRQ handler, which is\nstill registered at that point, from scheduling the works again\nafterwards, and they are skipped entirely when dev->sd_ir is NULL.\nThe cancel_work_sync() calls are therefore placed after free_irq(),\nthe only point at which no new work can be scheduled.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:18:06","updated_at":"2026-11-23 08:17:53"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a791e659029244c94d16bb662884cab832231e62","name":"https://git.kernel.org/stable/c/a791e659029244c94d16bb662884cab832231e62","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75016a992d9b03f5cc6df1414d1da35840d4feeb","name":"https://git.kernel.org/stable/c/75016a992d9b03f5cc6df1414d1da35840d4feeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/544b575ba44d566cfd4f82e3d8faee5db01addf5","name":"https://git.kernel.org/stable/c/544b575ba44d566cfd4f82e3d8faee5db01addf5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4c28161c8893bf7a396bda1ba9d8fa6e528c1a21","name":"https://git.kernel.org/stable/c/4c28161c8893bf7a396bda1ba9d8fa6e528c1a21","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/58dba8af3a48e5c9799941194fcb022192e6702d","name":"https://git.kernel.org/stable/c/58dba8af3a48e5c9799941194fcb022192e6702d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bdcd99f5d47bdc0104cc816dd1885121321803a8","name":"https://git.kernel.org/stable/c/bdcd99f5d47bdc0104cc816dd1885121321803a8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2344922abe2ad811003794092931bf454b556109","name":"https://git.kernel.org/stable/c/2344922abe2ad811003794092931bf454b556109","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/094e57f65751c99b5e7a88b9d6f199b3c11ef134","name":"https://git.kernel.org/stable/c/094e57f65751c99b5e7a88b9d6f199b3c11ef134","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99511","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99511","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 bdcd99f5d47bdc0104cc816dd1885121321803a8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 094e57f65751c99b5e7a88b9d6f199b3c11ef134 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 58dba8af3a48e5c9799941194fcb022192e6702d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 a791e659029244c94d16bb662884cab832231e62 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 2344922abe2ad811003794092931bf454b556109 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 544b575ba44d566cfd4f82e3d8faee5db01addf5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29 75016a992d9b03f5cc6df1414d1da35840d4feeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.36","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.36 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99511","cve":"CVE-2026-99511","epss":"0.002340000","percentile":"0.143660000","score_date":"2026-11-23","updated_at":"2026-11-24 00:07:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/pci/cx23885/cx23885-core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bdcd99f5d47bdc0104cc816dd1885121321803a8","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"094e57f65751c99b5e7a88b9d6f199b3c11ef134","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"58dba8af3a48e5c9799941194fcb022192e6702d","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"a791e659029244c94d16bb662884cab832231e62","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"4c28161c8893bf7a396bda1ba9d8fa6e528c1a21","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"2344922abe2ad811003794092931bf454b556109","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"544b575ba44d566cfd4f82e3d8faee5db01addf5","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"},{"lessThan":"75016a992d9b03f5cc6df1414d1da35840d4feeb","status":"affected","version":"e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/pci/cx23885/cx23885-core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.36"},{"lessThan":"2.6.36","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.61","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"2.6.36","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.36","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx23885: Fix use-after-free in cx23885_finidev due to race condition\n\nIn cx23885_v4l2_dev_notify_init, &dev->cx25840_work is bound with\ncx23885_av_work_handler, and &dev->ir_rx_work and &dev->ir_tx_work\nare bound with cx23885_ir_rx_work_handler and\ncx23885_ir_tx_work_handler. cx23885_irq can schedule these works on\nsystem_wq when an AV_CORE interrupt is received, and the IR subdevice\ncan also schedule the IR works from its interrupt service routine via\nthe v4l2_device notify callback.\n\nIf we remove the device, cx23885_finidev makes cleanup and the memory\nallocated for dev is released by kfree(dev), while the works mentioned\nabove may still be pending or running. The sequence of operations that\nmay lead to a UAF bug is as follows:\n\nCPU0                                      CPU1\n\n                                          | cx23885_irq\n                                          | schedule_work(&dev->cx25840_work)\ncx23885_finidev                           |\ncx23885_input_fini(dev)                   |\ncx23885_ir_fini(dev)                      |\ncx23885_shutdown(dev)                     |\nfree_irq(pci_dev->irq, dev)               |\npci_disable_device(pci_dev)               |\ncx23885_dev_unregister(dev)               |\nv4l2_device_unregister(v4l2_dev)          |\nkfree(dev)                                |\n// dev is freed                           |\n                                          | cx23885_av_work_handler\n                                          | // use dev (use-after-free)\n\nFix it by canceling the works after the IRQ handler that can schedule\nthem has been stopped, and before proceeding with the remaining\ncleanup in cx23885_finidev.\n\nNote that the flush_work() calls in cx23885_input_ir_stop() do not\nclose this race: they only wait for works that are already queued or\nrunning at that moment, they do not prevent the IRQ handler, which is\nstill registered at that point, from scheduling the works again\nafterwards, and they are skipped entirely when dev->sd_ir is NULL.\nThe cancel_work_sync() calls are therefore placed after free_irq(),\nthe only point at which no new work can be scheduled."}],"providerMetadata":{"dateUpdated":"2026-11-23T08:03:43.504Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bdcd99f5d47bdc0104cc816dd1885121321803a8"},{"url":"https://git.kernel.org/stable/c/094e57f65751c99b5e7a88b9d6f199b3c11ef134"},{"url":"https://git.kernel.org/stable/c/58dba8af3a48e5c9799941194fcb022192e6702d"},{"url":"https://git.kernel.org/stable/c/a791e659029244c94d16bb662884cab832231e62"},{"url":"https://git.kernel.org/stable/c/4c28161c8893bf7a396bda1ba9d8fa6e528c1a21"},{"url":"https://git.kernel.org/stable/c/2344922abe2ad811003794092931bf454b556109"},{"url":"https://git.kernel.org/stable/c/544b575ba44d566cfd4f82e3d8faee5db01addf5"},{"url":"https://git.kernel.org/stable/c/75016a992d9b03f5cc6df1414d1da35840d4feeb"}],"title":"media: cx23885: Fix use-after-free in cx23885_finidev due to race condition","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99511","datePublished":"2026-11-19T14:44:07.569Z","dateReserved":"2026-09-25T10:25:14.419Z","dateUpdated":"2026-11-23T08:03:43.504Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 15:18:06","lastModifiedDate":"2026-11-23 08:17:53","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99511","Ordinal":"1","Title":"media: cx23885: Fix use-after-free in cx23885_finidev due to rac","CVE":"CVE-2026-99511","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99511","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx23885: Fix use-after-free in cx23885_finidev due to race condition\n\nIn cx23885_v4l2_dev_notify_init, &dev->cx25840_work is bound with\ncx23885_av_work_handler, and &dev->ir_rx_work and &dev->ir_tx_work\nare bound with cx23885_ir_rx_work_handler and\ncx23885_ir_tx_work_handler. cx23885_irq can schedule these works on\nsystem_wq when an AV_CORE interrupt is received, and the IR subdevice\ncan also schedule the IR works from its interrupt service routine via\nthe v4l2_device notify callback.\n\nIf we remove the device, cx23885_finidev makes cleanup and the memory\nallocated for dev is released by kfree(dev), while the works mentioned\nabove may still be pending or running. The sequence of operations that\nmay lead to a UAF bug is as follows:\n\nCPU0                                      CPU1\n\n                                          | cx23885_irq\n                                          | schedule_work(&dev->cx25840_work)\ncx23885_finidev                           |\ncx23885_input_fini(dev)                   |\ncx23885_ir_fini(dev)                      |\ncx23885_shutdown(dev)                     |\nfree_irq(pci_dev->irq, dev)               |\npci_disable_device(pci_dev)               |\ncx23885_dev_unregister(dev)               |\nv4l2_device_unregister(v4l2_dev)          |\nkfree(dev)                                |\n// dev is freed                           |\n                                          | cx23885_av_work_handler\n                                          | // use dev (use-after-free)\n\nFix it by canceling the works after the IRQ handler that can schedule\nthem has been stopped, and before proceeding with the remaining\ncleanup in cx23885_finidev.\n\nNote that the flush_work() calls in cx23885_input_ir_stop() do not\nclose this race: they only wait for works that are already queued or\nrunning at that moment, they do not prevent the IRQ handler, which is\nstill registered at that point, from scheduling the works again\nafterwards, and they are skipped entirely when dev->sd_ir is NULL.\nThe cancel_work_sync() calls are therefore placed after free_irq(),\nthe only point at which no new work can be scheduled.","Type":"Description","Title":"media: cx23885: Fix use-after-free in cx23885_finidev due to rac"}]}}}