Vulnerability record
net: af_key: zero aligned sockaddr tail in PF_KEY exports
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…
5.5/CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability
AV:LAC:LPR:LUI:NScope
S:UImpact
C:NI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources