Skip to content
Heist/ feed
Back to feed
HighFix available

media: rc: fix races with imon_disconnect()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: media: rc: fix races with imon_disconnect() Syzbot reports a KASAN issue as below: BUG: KASAN: use-after-free in __create_pipe include/linux/usb.h:1945 [inline] BUG: KASAN: use-after-free in send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 Read of size 4 at addr ffff8880256fb000 by task syz-executor314/4465 CPU: 2 PID: 4465 Comm: syz-executor314 Not tainted 6.0.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:317 [inline] print_report.cold+0x2ba/0x6e9 mm/kasan/report.c:433 kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 __create_pipe include/linux/usb.h:1945 [inline] send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 vfd_write+0x2d9/0x550 drivers/media/rc/imon.c:991 vfs_write+0x2d7/0xdd0 fs/read_write.c:576 ksys_write+0x127/0x250 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The iMON driver improperly releases the usb_device reference in imon_disconnect without coordinating with active users of the device. Specifically, the fields usbdev_intf0 and usbdev_intf1 are not protected by the users counter (ictx->users). During probe, imon_init_intf0 or imon_init_intf1 increments the usb_device reference count d

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.246, 5.15.195, 5.4.301, 6.1.156, 6.12.51, 6.16.11, 6.17.1, 6.6.110
CVEs
CVE-2025-39993
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:43 UTC · Revision 1

Source evidence

media: rc: fix races with imon_disconnect()

core-osv · Original source

Published 15 Oct 2025, 07:58 UTC

In the Linux kernel, the following vulnerability has been resolved: media: rc: fix races with imon_disconnect() Syzbot reports a KASAN issue as below: BUG: KASAN: use-after-free in __create_pipe include/linux/usb.h:1945 [inline] BUG: KASAN: use-after-free in send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 Read of size 4 at addr ffff8880256fb000 by task syz-executor314/4465 CPU: 2 PID: 4465 Comm: syz-executor314 Not tainted 6.0.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:317 [inline] print_report.cold+0x2ba/0x6e9 mm/kasan/report.c:433 kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 __create_pipe include/linux/usb.h:1945 [inline] send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 vfd_write+0x2d9/0x550 drivers/media/rc/imon.c:991 vfs_write+0x2d7/0xdd0 fs/read_write.c:576 ksys_write+0x127/0x250 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The iMON driver improperly releases the usb_device reference in imon_disconnect without coordinating with active users of the device. Specifically, the fields usbdev_intf0 and usbdev_intf1 are not protected by the users counter (ictx->users). During probe, imon_init_intf0 or imon_init_intf1 increments the usb_device reference count d

osv:CVE-2025-39993

Kernel

Fixed versions: 5.4.301, 5.10.246, 5.15.195, 6.1.156, 6.6.110, 6.12.51, 6.16.11, 6.17.1

Complete source record
{
  "id": "f7f1cc7b7fca933a0075ac5b4e435a69a3f601614967b2d31ff30b23482be338",
  "url": "https://osv.dev/vulnerability/CVE-2025-39993",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: rc: fix races with imon_disconnect()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: media: rc: fix races with imon_disconnect() Syzbot reports a KASAN issue as below: BUG: KASAN: use-after-free in __create_pipe include/linux/usb.h:1945 [inline] BUG: KASAN: use-after-free in send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 Read of size 4 at addr ffff8880256fb000 by task syz-executor314/4465 CPU: 2 PID: 4465 Comm: syz-executor314 Not tainted 6.0.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:317 [inline] print_report.cold+0x2ba/0x6e9 mm/kasan/report.c:433 kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 __create_pipe include/linux/usb.h:1945 [inline] send_packet+0xa2d/0xbc0 drivers/media/rc/imon.c:627 vfd_write+0x2d9/0x550 drivers/media/rc/imon.c:991 vfs_write+0x2d7/0xdd0 fs/read_write.c:576 ksys_write+0x127/0x250 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The iMON driver improperly releases the usb_device reference in imon_disconnect without coordinating with active users of the device. Specifically, the fields usbdev_intf0 and usbdev_intf1 are not protected by the users counter (ictx->users). During probe, imon_init_intf0 or imon_init_intf1 increments the usb_device reference count d",
    "evidence": "osv:CVE-2025-39993",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.301",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.246",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.195",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.156",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-39993",
      "aliases": [
        "CVE-2025-39993"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "21677cfc562a27e099719d413287bc8d1d24deb7"
                },
                {
                  "fixed": "9348976003e39754af344949579e824a0a210fc4"
                },
                {
                  "fixed": "b03fac6e2a38331faf8510b480becfa90cea1c9f"
                },
                {
                  "fixed": "71c52b073922d05e79e6de7fc7f5f38f927929a4"
                },
                {
                  "fixed": "71096a6161a25e84acddb89a9d77f138502d26ab"
                },
                {
                  "fixed": "71da40648741d15b302700b68973fe8b382aef3c"
                },
                {
                  "fixed": "fd5d3e6b149ec8cce045d86a2b5e3664d6b32ba5"
                },
                {
                  "fixed": "d9f6ce99624a41c3bcb29a8d7d79b800665229dd"
                },
                {
                  "fixed": "2e7fd93b9cc565b839bc55a6662475718963e156"
                },
                {
                  "fixed": "fa0f61cc1d828178aa921475a9b786e7fbb65ccb"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39993.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.35"
                },
                {
                  "fixed": "5.4.301"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.246"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.195"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.156"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.16.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.17.0"
                },
                {
                  "fixed": "6.17.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39993.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.683949117Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2e7fd93b9cc565b839bc55a6662475718963e156",
        "https://git.kernel.org/stable/c/71096a6161a25e84acddb89a9d77f138502d26ab",
        "https://git.kernel.org/stable/c/71c52b073922d05e79e6de7fc7f5f38f927929a4",
        "https://git.kernel.org/stable/c/71da40648741d15b302700b68973fe8b382aef3c",
        "https://git.kernel.org/stable/c/9348976003e39754af344949579e824a0a210fc4",
        "https://git.kernel.org/stable/c/b03fac6e2a38331faf8510b480becfa90cea1c9f",
        "https://git.kernel.org/stable/c/d9f6ce99624a41c3bcb29a8d7d79b800665229dd",
        "https://git.kernel.org/stable/c/fa0f61cc1d828178aa921475a9b786e7fbb65ccb",
        "https://git.kernel.org/stable/c/fd5d3e6b149ec8cce045d86a2b5e3664d6b32ba5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39993.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39993",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39993.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39993",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492517,
  "published_at": "2025-10-15T07:58:18.621+00:00"
}