Skip to content
Heist/ feed
Unrated

xfrm: account XFRMA_IF_ID in aevent size calculation

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xfrm: account XFRMA_IF_ID in aevent size calculation xfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then build_aevent() appends attributes including XFRMA_IF_ID when x->if_id is set. xfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states with if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0) in xfrm_get_ae(), turning a malformed netlink interaction into a kernel panic. Account XFRMA_IF_ID in the size calculation unconditionally and replace the BUG_ON with normal error unwinding.

Announced Group revision 1
Original source ↗

CVE-2026-43107

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-43107

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7e6526404adedf079279aa7aa11722deaca8fe2e",
        "lessThan": "f8f3bb89ab677db15f9f5250c77af728f9afe995",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7e6526404adedf079279aa7aa11722deaca8fe2e",
        "lessThan": "2c41283d94af943a05f7f2cc1a01f0c872f3cf43",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7e6526404adedf079279aa7aa11722deaca8fe2e",
        "lessThan": "e62e322ea20be78e346e4b49f9a6b9f03313af4c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7e6526404adedf079279aa7aa11722deaca8fe2e",
        "lessThan": "58e5735d1a5373652f405a0c16e54ac04aaab0ad",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7e6526404adedf079279aa7aa11722deaca8fe2e",
        "lessThan": "7081d46d32312f1a31f0e0e99c6835a394037599",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/xfrm/xfrm_user.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.83",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.24",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.14",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/xfrm/xfrm_user.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43107

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46259 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement