CVE-2026-99301 (GCVE-0-2026-99301)

Vulnerability from cvelistv5 – Published: 2026-11-16 09:59 – Updated: 2026-11-16 09:59
VLAI
Title
virtio_net: atomically disable rx mode work
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio_net: atomically disable rx mode work virtio-net uses a boolean to gate rx_mode_work during device teardown. The flag is changed under RTNL, but ndo_set_rx_mode checks it under the address-list lock. A callback can therefore pass the check and enqueue work after teardown has flushed it. The work is also enabled before late probe operations that can fail, allowing probe unwind to free the netdev with work still queued. KASAN reports the worker using a virtqueue that probe unwind already freed: BUG: KASAN: slab-use-after-free in virtqueue_add_split Workqueue: events virtnet_rx_mode_work Call Trace: virtqueue_add_split (drivers/virtio/virtio_ring.c:706) virtqueue_add_sgs (drivers/virtio/virtio_ring.c:2839) virtnet_send_command_reply (drivers/net/virtio_net.c:3565) virtnet_rx_mode_work (drivers/net/virtio_net.c:3833) process_one_work (kernel/workqueue.c:3322) worker_thread (kernel/workqueue.c:3405) Freed by task 119: kfree (mm/slub.c:6625) vp_del_vq.isra.0 (drivers/virtio/virtio_pci_common.c:259) vp_del_vqs (drivers/virtio/virtio_pci_common.c:285) virtnet_probe (drivers/net/virtio_net.c:7129) Use the workqueue disable mechanism to atomically reject new queue attempts and drain running work. Keep work disabled until probe succeeds or restore has reattached the netdev, then enable it and replay receive-mode state for a running interface. Disable it before resource teardown in freeze and remove.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: b9f7425239a09903629f71f719654983481b00aa , < 04d1e4fc965c8a4378093174e908800f400b7485 (git)
Affected: b9f7425239a09903629f71f719654983481b00aa , < c05c367e7a99521cd654b56042757979968b5644 (git)
Affected: b9f7425239a09903629f71f719654983481b00aa , < 3f4c7168ee28e582314249d86833bd515b945196 (git)
Affected: b9f7425239a09903629f71f719654983481b00aa , < 1234707482053f1d1ac7c5756207d2c29057974c (git)
Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "04d1e4fc965c8a4378093174e908800f400b7485",
              "status": "affected",
              "version": "b9f7425239a09903629f71f719654983481b00aa",
              "versionType": "git"
            },
            {
              "lessThan": "c05c367e7a99521cd654b56042757979968b5644",
              "status": "affected",
              "version": "b9f7425239a09903629f71f719654983481b00aa",
              "versionType": "git"
            },
            {
              "lessThan": "3f4c7168ee28e582314249d86833bd515b945196",
              "status": "affected",
              "version": "b9f7425239a09903629f71f719654983481b00aa",
              "versionType": "git"
            },
            {
              "lessThan": "1234707482053f1d1ac7c5756207d2c29057974c",
              "status": "affected",
              "version": "b9f7425239a09903629f71f719654983481b00aa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "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": "6.12.117",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_net: atomically disable rx mode work\n\nvirtio-net uses a boolean to gate rx_mode_work during device teardown.\nThe flag is changed under RTNL, but ndo_set_rx_mode checks it under the\naddress-list lock. A callback can therefore pass the check and enqueue work\nafter teardown has flushed it. The work is also enabled before late\nprobe operations that can fail, allowing probe unwind to free the netdev\nwith work still queued.\n\nKASAN reports the worker using a virtqueue that probe unwind already freed:\n\n  BUG: KASAN: slab-use-after-free in virtqueue_add_split\n  Workqueue: events virtnet_rx_mode_work\n  Call Trace:\n   virtqueue_add_split (drivers/virtio/virtio_ring.c:706)\n   virtqueue_add_sgs (drivers/virtio/virtio_ring.c:2839)\n   virtnet_send_command_reply (drivers/net/virtio_net.c:3565)\n   virtnet_rx_mode_work (drivers/net/virtio_net.c:3833)\n   process_one_work (kernel/workqueue.c:3322)\n   worker_thread (kernel/workqueue.c:3405)\n  Freed by task 119:\n   kfree (mm/slub.c:6625)\n   vp_del_vq.isra.0 (drivers/virtio/virtio_pci_common.c:259)\n   vp_del_vqs (drivers/virtio/virtio_pci_common.c:285)\n   virtnet_probe (drivers/net/virtio_net.c:7129)\n\nUse the workqueue disable mechanism to atomically reject new queue attempts\nand drain running work. Keep work disabled until probe succeeds or restore\nhas reattached the netdev, then enable it and replay receive-mode state for\na running interface. Disable it before resource teardown in freeze and\nremove."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-16T09:59:27.162Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/04d1e4fc965c8a4378093174e908800f400b7485"
        },
        {
          "url": "https://git.kernel.org/stable/c/c05c367e7a99521cd654b56042757979968b5644"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f4c7168ee28e582314249d86833bd515b945196"
        },
        {
          "url": "https://git.kernel.org/stable/c/1234707482053f1d1ac7c5756207d2c29057974c"
        }
      ],
      "title": "virtio_net: atomically disable rx mode work",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99301",
    "datePublished": "2026-11-16T09:59:27.162Z",
    "dateReserved": "2026-09-25T10:25:14.406Z",
    "dateUpdated": "2026-11-16T09:59:27.162Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99301",
      "date": "2026-11-16",
      "epss": "0.00209",
      "percentile": "0.11099"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/virtio_net.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "04d1e4fc965c8a4378093174e908800f400b7485",
                    "status": "affected",
                    "version": "b9f7425239a09903629f71f719654983481b00aa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c05c367e7a99521cd654b56042757979968b5644",
                    "status": "affected",
                    "version": "b9f7425239a09903629f71f719654983481b00aa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3f4c7168ee28e582314249d86833bd515b945196",
                    "status": "affected",
                    "version": "b9f7425239a09903629f71f719654983481b00aa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1234707482053f1d1ac7c5756207d2c29057974c",
                    "status": "affected",
                    "version": "b9f7425239a09903629f71f719654983481b00aa",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/virtio_net.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.9"
                  },
                  {
                    "lessThan": "6.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_net: atomically disable rx mode work\n\nvirtio-net uses a boolean to gate rx_mode_work during device teardown.\nThe flag is changed under RTNL, but ndo_set_rx_mode checks it under the\naddress-list lock. A callback can therefore pass the check and enqueue work\nafter teardown has flushed it. The work is also enabled before late\nprobe operations that can fail, allowing probe unwind to free the netdev\nwith work still queued.\n\nKASAN reports the worker using a virtqueue that probe unwind already freed:\n\n  BUG: KASAN: slab-use-after-free in virtqueue_add_split\n  Workqueue: events virtnet_rx_mode_work\n  Call Trace:\n   virtqueue_add_split (drivers/virtio/virtio_ring.c:706)\n   virtqueue_add_sgs (drivers/virtio/virtio_ring.c:2839)\n   virtnet_send_command_reply (drivers/net/virtio_net.c:3565)\n   virtnet_rx_mode_work (drivers/net/virtio_net.c:3833)\n   process_one_work (kernel/workqueue.c:3322)\n   worker_thread (kernel/workqueue.c:3405)\n  Freed by task 119:\n   kfree (mm/slub.c:6625)\n   vp_del_vq.isra.0 (drivers/virtio/virtio_pci_common.c:259)\n   vp_del_vqs (drivers/virtio/virtio_pci_common.c:285)\n   virtnet_probe (drivers/net/virtio_net.c:7129)\n\nUse the workqueue disable mechanism to atomically reject new queue attempts\nand drain running work. Keep work disabled until probe succeeds or restore\nhas reattached the netdev, then enable it and replay receive-mode state for\na running interface. Disable it before resource teardown in freeze and\nremove."
          }
        ],
        "id": "CVE-2026-99301",
        "lastModified": "2026-11-16T10:17:03.987",
        "metrics": {},
        "published": "2026-11-16T10:17:03.987",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/04d1e4fc965c8a4378093174e908800f400b7485"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1234707482053f1d1ac7c5756207d2c29057974c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3f4c7168ee28e582314249d86833bd515b945196"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c05c367e7a99521cd654b56042757979968b5644"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…