CVE-2026-43088

net: af_key: zero aligned sockaddr tail in PF_KEY exports

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
Sep 14, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

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

net: af_key: zero aligned sockaddr tail in PF_KEY exports

PF_KEY export paths use `pfkey_sockaddr_size()` when reserving sockaddr payload space, so IPv6 addresses occupy 32 bytes on the wire. However, `pfkey_sockaddr_fill()` initializes only the first 28 bytes of `struct sockaddr_in6`, leaving the final 4 aligned bytes uninitialized.

Not every PF_KEY 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 `skb_put()`:

- `SADB_ACQUIRE` - `SADB_X_NAT_T_NEW_MAPPING` - `SADB_X_MIGRATE`

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6df5f90175fe4c584e9960b6c00131a7bf2b5399Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 746ee79d9e140f0e9e56f5123eaa88ad9332de7bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e357c3cf8a44d4ec1f49ad6981e4ab9704354347Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3c19cb8a84ef709d57943bd6664cf31cb91ba6ecAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 11cbf294bac623bd57296f231199193087f57b4aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before edd446ee7cd3d02cac246168063d5b3e9ea68460Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2e74f974359b5382ecbe8536abbb5b837eb6c724Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 426c355742f02cf743b347d9d7dbdc1bfbfa31efAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 6.19.14 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.