{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "df8ef8f3aaa6692970a436204c4429210addb23a"
            },
            {
              "fixed": "ea2b56a212dae75a890d69dd315f9d64b043eadf"
            },
            {
              "fixed": "753bed28be81f684453a8cbe56e8570d9c8f0f01"
            },
            {
              "fixed": "19224e3a593fe44c7b6cf63a380f30b70febc6ec"
            },
            {
              "fixed": "a8ba54055731ad77379c857decbdf039876efed8"
            },
            {
              "fixed": "9660398c59dea26abdb6eba6b93fd3466a9a7172"
            },
            {
              "fixed": "33e747a4822b77117a17805e0c7df9e0bb03413b"
            },
            {
              "fixed": "62f5a53cc64386a00a63b9d4ec22bfce2ed1a35e"
            },
            {
              "fixed": "b6743653d134c9ef8436e2db1be1ad4c1e0d0091"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.5.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99865.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmacvlan: fix passthru promiscuity accounting while down\n\nmacvlan_changelink() adjusts the lower device's promiscuity count when\nNOPROMISC changes, even if the passthru macvlan is down. The reference\nis acquired in macvlan_open() and released in macvlan_stop(), so a down\ninterface has no reference to change.\n\nClearing NOPROMISC while down leaves an extra reference after the next\nopen/stop cycle. Setting it while down can remove a reference held by\nanother user of the lower device.\n\nGuard the count adjustment with netif_running(dev). Keep storing the\nrequested flags while down so the next open uses the new setting.\n\nComparing changelink with open/stop exposed the unmatched count changes;\nthe same issue was also described in earlier macvlan reviews. A netlink\ntest on UML reproduced both DOWN cases before the fix and verified the\nexpected counts afterwards. Repeated flag updates, two open/stop cycles,\ndeletion and bidirectional small-frame delivery were also checked.\n\nFull x86_64 builds completed with WERROR disabled for allmodconfig, and\nWERROR and KASAN disabled for allyesconfig, including the resulting\ndependency changes. Neither comparison showed new diagnostics.",
  "id": "CVE-2026-99865",
  "modified": "2026-11-30T14:46:05.367244374Z",
  "published": "2026-11-30T13:17:46.950Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/19224e3a593fe44c7b6cf63a380f30b70febc6ec"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/33e747a4822b77117a17805e0c7df9e0bb03413b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62f5a53cc64386a00a63b9d4ec22bfce2ed1a35e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/753bed28be81f684453a8cbe56e8570d9c8f0f01"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9660398c59dea26abdb6eba6b93fd3466a9a7172"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a8ba54055731ad77379c857decbdf039876efed8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6743653d134c9ef8436e2db1be1ad4c1e0d0091"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea2b56a212dae75a890d69dd315f9d64b043eadf"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99865.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99865"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "macvlan: fix passthru promiscuity accounting while down"
}