{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348"
            },
            {
              "fixed": "4979252758387b338ca968ba7e0515b0ae2257e3"
            },
            {
              "fixed": "77ecfa4e27f282d224215895ddfbeb916fc75e24"
            },
            {
              "fixed": "b6b7154e9f5d75b608ceb2d05b376de8c638c40e"
            },
            {
              "fixed": "1c004f14ccdc11585625c168bb9a7c5e1b8afb0c"
            },
            {
              "fixed": "fa92a77b0ed4d5f11a71665a232ac5a54a4b055d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.4.0"
            },
            {
              "fixed": "6.6.141"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.91"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.33"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53013.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmacvlan: fix macvlan_get_size() not reserving space for IFLA_MACVLAN_BC_CUTOFF\n\nmacvlan_get_size() does not account for IFLA_MACVLAN_BC_CUTOFF, but\nmacvlan_fill_info() conditionally includes it when port-\u003ebc_cutoff != 1.\nThis causes nla_put_s32() to fail with -EMSGSIZE when the netlink skb\nruns out of space, triggering a WARN_ON in rtnetlink and preventing the\ninterface from being dumped.\n\nThe bug can be reproduced with:\n\n  ip link add macvlan0 link eth0 type macvlan mode bridge\n  ip link set macvlan0 type macvlan bc_cutoff 0\n  ip -d link show macvlan0   # fails with -EMSGSIZE\n\nThe bc_cutoff feature was added in commit 954d1fa1ac93 (\"macvlan: Add\nnetlink attribute for broadcast cutoff\"), which added the nla_put_s32()\ncall in macvlan_fill_info() but missed adding the corresponding\nnla_total_size(4) in macvlan_get_size(). A follow-up commit\n55cef78c244d (\"macvlan: add forgotten nla_policy for\nIFLA_MACVLAN_BC_CUTOFF\") fixed the missing nla_policy entry but still\ndid not fix the size calculation.",
  "id": "CVE-2026-53013",
  "modified": "2026-07-12T03:55:14.506969208Z",
  "published": "2026-06-24T16:29:23.856Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1c004f14ccdc11585625c168bb9a7c5e1b8afb0c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4979252758387b338ca968ba7e0515b0ae2257e3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/77ecfa4e27f282d224215895ddfbeb916fc75e24"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6b7154e9f5d75b608ceb2d05b376de8c638c40e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fa92a77b0ed4d5f11a71665a232ac5a54a4b055d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53013.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53013"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "macvlan: fix macvlan_get_size() not reserving space for IFLA_MACVLAN_BC_CUTOFF"
}