{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7e6526404adedf079279aa7aa11722deaca8fe2e"
            },
            {
              "fixed": "2c41283d94af943a05f7f2cc1a01f0c872f3cf43"
            },
            {
              "fixed": "e62e322ea20be78e346e4b49f9a6b9f03313af4c"
            },
            {
              "fixed": "58e5735d1a5373652f405a0c16e54ac04aaab0ad"
            },
            {
              "fixed": "7081d46d32312f1a31f0e0e99c6835a394037599"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.19.0"
            },
            {
              "fixed": "6.12.83"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.24"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.14"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43107.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: account XFRMA_IF_ID in aevent size calculation\n\nxfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then\nbuild_aevent() appends attributes including XFRMA_IF_ID when x-\u003eif_id is\nset.\n\nxfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states\nwith if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err \u003c 0)\nin xfrm_get_ae(), turning a malformed netlink interaction into a kernel\npanic.\n\nAccount XFRMA_IF_ID in the size calculation unconditionally and replace\nthe BUG_ON with normal error unwinding.",
  "id": "CVE-2026-43107",
  "modified": "2026-07-08T05:37:45.223696203Z",
  "published": "2026-05-06T07:40:35.068Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43107.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43107"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "xfrm: account XFRMA_IF_ID in aevent size calculation"
}