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.
Published: 2026-10-23
Score: 3.0 Low
EPSS: < 1% Very Low
KEV: No
Impact: Uninitialized MACsec device attributes causing warning messages and potential misreporting
Action: Patch Kernel
AI Analysis

Impact

The vulnerability occurs when the SecY component of a MACsec device is not fully initialized before the netdevice is registered. When IPv4 forwarding is enabled, the registration flow triggers a notification that reaches macsec_fill_info() before macsec_add_dev() has initialized the SecY, so the key length remains zero and the fill function returns –EMSGSIZE, causing a WARN_ON in rtmsg_ifinfo_build_skb() even though the buffer is sufficient. Based on the description, it is inferred that the primary impact is the appearance of warning messages and the potential exposure of uninitialized SecY attributes, such as the SCI, during early registration notifications. This does not directly enable code execution but may lead to inconsistent device state and erroneous diagnostic output.

Affected Systems

All installations of the Linux kernel that enable the macsec driver are affected. The bug originates from the macsec driver and the netdevice registration path, so any kernel version where the driver is loaded and MACsec devices are configured is potentially impacted until a patched release replaces the registration order. No explicit version bounds are listed, so the risk applies to all recent kernels where macsec is actively used.

Risk and Exploitability

Exploitability requires local kernel privilege—an attacker must be able to register a MACsec device or load the macsec module. The bug does not provide a path for privilege escalation, remote code execution, or direct data disclosure beyond the uninitialized attributes exposed in kernel logs. The EPSS score of 0.00167 indicates a very low exploitation probability, and the issue is not listed in the CISA KEV catalog. The primary risk is diagnostic noise and potential misconfiguration rather than a direct security breach.

Generated by OpenCVE AI on October 29, 2026 at 20:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the SecY initialization fix for macsec
  • If an immediate kernel upgrade is not possible, disable or unload the macsec driver to avoid the warning and potential misreporting
  • As a temporary workaround, disable LRO on the lower device or ensure IPv4 forwarding is turned off when configuring MACsec to prevent the triggering of the notification
  • Monitor system logs for repeated rtmsg_ifinfo_build_skb warnings and apply the patch if they persist

Generated by OpenCVE AI on October 29, 2026 at 20:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History

Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L'}

threat_severity

Low


Fri, 23 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-665

Fri, 23 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title macsec: initialize SecY before registering the netdevice
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:08:11.551Z

Reserved: 2026-09-25T10:25:14.380Z

Link: CVE-2026-98929

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:13.673

Modified: 2026-10-23T13:17:13.673

Link: CVE-2026-98929

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-98929 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T20:15:14Z

Weaknesses
  • CWE-457

    Use of Uninitialized Variable

  • CWE-665

    Improper Initialization

  • CWE-908

    Use of Uninitialized Resource