CVE-2026-43088: net: af_key: zero aligned sockaddr tail in PF_KEY exports

Published May 6, 2026
·
Updated

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

net: afkey: zero aligned sockaddr tail in PFKEY exports

PFKEY export paths use pfkeysockaddrsize() when reserving sockaddr payload space, so IPv6 addresses occupy 32 bytes on the wire. However, pfkeysockaddrfill() initializes only the first 28 bytes of struct sockaddrin6, leaving the final 4 aligned bytes uninitialized.

Not every PFKEY message is affected. The state and policy dump builders already zero the whole message buffer before filling the sockaddr payloads. Keep the fix to the export paths that still append aligned sockaddr payloads with plain skbput():

- SADBACQUIRE - SADBXNATTNEWMAPPING - SADBXMIGRATE

Fix those paths by clearing only the aligned sockaddr tail after pfkeysockaddrfill().

Affected Software

16 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.12.1<6.12.88
Linux Linux kernel>=6.13<6.18.30
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel=2.6.12
Linux Linux kernel=2.6.12-rc2
Linux Linux kernel=2.6.12-rc3
Linux Linux kernel=2.6.12-rc4
Linux Linux kernel=2.6.12-rc5
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In the PF_KEY export paths SADB_ACQUIRE, SADB_X_MIGRATE, and SADB_X_NAT_T_NEW_MAPPING, after calling pfkey_sockaddr_fill(), explicitly zero the aligned sockaddr tail bytes left uninitialized by pfkey_sockaddr_fill() (for struct sockaddr_in6 the final 4 bytes). Ensure the code clears only the aligned tail bytes rather than the whole sockaddr if that is the intended fix.

    Linux kernel net/af_key (PF_KEY exports) zero_aligned_sockaddr_tail = true
  2. Operational

    Audit PF_KEY export code paths (including state and policy dump builders) that use pfkey_sockaddr_size() and pfkey_sockaddr_fill(). For any builder that does not already zero the whole message buffer before filling the sockaddr, modify the builder to either zero the message buffer prior to filling or explicitly clear the aligned sockaddr tail bytes so no final bytes remain uninitialized.

Event History

May 6, 2026
CVE Published
via MITRE·07:40 AM
Data Sourced
via MITRE·07:40 AM
Description
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203