CVE-2026-98929: macsec: initialize SecY before registering the netdevice

Published Oct 23, 2026
·
Updated

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

macsec: initialize SecY before registering the netdevice

Creating a MACsec device with MAC offload over an LRO-capable lower device triggers a warning in rtmsgifinfobuildskb() when IPv4 forwarding is enabled by default.

registernetdevice() invokes inetdevinit(), which disables LRO and emits a NETDEVFEATCHANGE notification. This reaches macsecfillinfo() before macsecadddev() initializes the SecY. keylen is still zero, so macsecfillinfo() returns -EMSGSIZE and trips the WARNON in rtmsgifinfobuildskb(), even though the skb has enough space.

Even without the warning, notifications during registration can report uninitialized SecY attributes, including the SCI. This ordering has existed since the driver was introduced.

Initialize the SecY and apply the new-link attributes before registration. Move MAC address inheritance into macsecnewlink() so the SCI can also be initialized before registration-time notifications report it. Move the per-CPU statistics and metadata destination allocation into ndoinit(), and release partial allocations on failure.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·12:08 PM
Data Sourced
via MITRE·12:08 PM
Description

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