CVE-2026-43107

Source
https://cve.org/CVERecord?id=CVE-2026-43107
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43107.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-43107
Downstream
Related
Published
2026-05-06T07:40:35.068Z
Modified
2026-05-28T03:54:37.674744774Z
Summary
xfrm: account XFRMA_IF_ID in aevent size calculation
Details

In the Linux kernel, the following vulnerability has been resolved:

xfrm: account XFRMAIFID in aevent size calculation

xfrmgetae() allocates the reply skb with xfrmaeventmsgsize(), then buildaevent() appends attributes including XFRMAIFID when x->ifid is set.

xfrmaeventmsgsize() does not include space for XFRMAIFID. For states with ifid, buildaevent() can fail with -EMSGSIZE and hit BUGON(err < 0) in xfrmget_ae(), turning a malformed netlink interaction into a kernel panic.

Account XFRMAIFID in the size calculation unconditionally and replace the BUG_ON with normal error unwinding.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43107.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7e6526404adedf079279aa7aa11722deaca8fe2e
Fixed
2c41283d94af943a05f7f2cc1a01f0c872f3cf43
Fixed
e62e322ea20be78e346e4b49f9a6b9f03313af4c
Fixed
58e5735d1a5373652f405a0c16e54ac04aaab0ad
Fixed
7081d46d32312f1a31f0e0e99c6835a394037599

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43107.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43107.json"