CVE-2026-139247: net: qede: initialize extack in qede_flow_spec_to_rule()

Published Nov 30, 2026
·
Updated

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

net: qede: initialize extack in qedeflowspectorule()

qedeflowspectorule() declares a netlinkextack on the stack without initializing it. qedeparseflowattr() and qedeflowspecvalidate() only set extack.msg on error paths via NLSETERRMSGMOD(), so on a successful parse the errout block reads an uninitialized pointer. If that garbage happens to be non-NULL, DPNOTICE("%s", extack.msg) dereferences it inside vsnprintf, causing a page fault and kernel panic.

This manifests when configuring ethtool ntuple flow rules (ethtool -U flow-type tcp4/udp4) on kernels built with CONFIGINITSTACKNONE=y. With CONFIGINITSTACKALLZERO=y the bug is masked because the compiler zero-initializes extack, making msg NULL.

Reproduced on RHEL 9.8 (kernel-5.14.0-687.47.1.el98) and mainline (v7.3-rc6) with the following reproducer:

IFACE=ens2f0 ip link set $IFACE up ethtool -K $IFACE ntuple on for i in $(seq 1 100); do ethtool -U $IFACE flow-type udp4 src-ip 192.168.2.$i action -1 done

The loop panics reliably after 10-15 iterations with:

BUG: unable to handle page fault RIP: string+0x49/0xd0 Call Trace: vsnprintf qedeflowspectorule+0x2b6/0x4b0 [qede] qedeaddclsrule ethtoolsetrxnfc

Zero-initialize extack so msg is NULL unless explicitly set by an error path.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Initialize the netlink_ext_ack extack in qede_flow_spec_to_rule() so _msg is NULL unless explicitly set by an error path.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 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