{"id":"CVE-2025-40140","aliases":["CVE-2025-40140"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast\n\nsyzbot reported WARNING in rtl8150_start_xmit/usb_submit_urb.\nThis is the sequence of events that leads to the warning:\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\n}\n\nrtl8150_set_multicast() {\n\tnetif_stop_queue();\n\tnetif_wake_queue();\t\t<-- wakes up TX queue before URB is done\n}\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\t<-- double submission\n}\n\nrtl8150_set_multicast being the ndo_set_rx_mode callback should not be\ncalling netif_stop_queue and notif_start_queue as these handle\nTX queue synchronization.\n\nThe net core function dev_set_rx_mode handles the synchronization\nfor rtl8150_set_multicast making it safe to remove these locks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast\n\nsyzbot reported WARNING in rtl8150_start_xmit/usb_submit_urb.\nThis is the sequence of events that leads to the warning:\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\n}\n\nrtl8150_set_multicast() {\n\tnetif_stop_queue();\n\tnetif_wake_queue();\t\t<-- wakes up TX queue before URB is done\n}\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\t<-- double submission\n}\n\nrtl8150_set_multicast being the ndo_set_rx_mode callback should not be\ncalling netif_stop_queue and notif_start_queue as these handle\nTX queue synchronization.\n\nThe net core function dev_set_rx_mode handles the synchronization\nfor rtl8150_set_multicast making it safe to remove these locks.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: usb: Eliminar la disruptiva netif_wake_queue en rtl8150_set_multicast\n\nsyzbot informó de una ADVERTENCIA en rtl8150_start_xmit/usb_submit_urb.\nEsta es la secuencia de eventos que conduce a la advertencia:\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\n}\n\nrtl8150_set_multicast() {\n\tnetif_stop_queue();\n\tnetif_wake_queue();\t\t<-- activa la cola TX antes de que el URB termine\n}\n\nrtl8150_start_xmit() {\n\tnetif_stop_queue();\n\tusb_submit_urb(dev->tx_urb);\t<-- doble envío\n}\n\nrtl8150_set_multicast, al ser la función de callback ndo_set_rx_mode, no debería estar llamando a netif_stop_queue y notif_start_queue, puesto que estas gestionan la sincronización de la cola TX.\n\nLa función del núcleo de red dev_set_rx_mode gestiona la sincronización para rtl8150_set_multicast, haciendo que sea seguro eliminar estos bloqueos.","source":"nvd"}],"published":"2025-11-12T10:23:24.586Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"cce3c0e21cdd15bcba5c35d3af1700186de8f187","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"1a08a37ac03d07a1608a1592791041cac979fbc3","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"54f8ef1a970a8376e5846ed90854decf7c00555d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"114e05344763a102a8844efd96ec06ba99293ccd","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6394bade9daab8e318c165fe43bba012bf13cd8e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6053e47bbf212b93c051beb4261d7d5a409d0ce3","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9d72df7f5eac946f853bf49c428c4e87a17d91da","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"958baf5eaee394e5fd976979b0791a875f14a179","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.195","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.156","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.112","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.53","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cce3c0e21cdd15bcba5c35d3af1700186de8f187","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a08a37ac03d07a1608a1592791041cac979fbc3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54f8ef1a970a8376e5846ed90854decf7c00555d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/114e05344763a102a8844efd96ec06ba99293ccd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6394bade9daab8e318c165fe43bba012bf13cd8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6053e47bbf212b93c051beb4261d7d5a409d0ce3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d72df7f5eac946f853bf49c428c4e87a17d91da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/958baf5eaee394e5fd976979b0791a875f14a179","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40140","url":"https://www.cve.org/CVERecord?id=CVE-2025-40140","licence":"CVE Terms of Use","modified":"2026-08-05T12:08:02.642Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40140","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40140","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.552Z","epss":{"score":0.00322,"percentile":0.27182,"date":"2026-12-01T12:00:22.000Z"}}