Cloudanix VulnDB

CVE-2023-54240

None

CVSS

—

EPSS

0.2%

Published

Dec 30, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the Linux kernel's handling of certain network card configuration requests could let an attacker crash the entire system.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

NULL pointer dereference in mtk_hwlro_get_fdir_all when rule_locs allocation size derived from untrusted user-space rule_cnt is zero or leads to failed allocation, allowing dereference of NULL buffer during ethtool RXNFC handling.

Why it matters to the business

Kernel crash or denial-of-service on affected Linux systems using MediaTek Ethernet hardware, potentially disrupting network operations and requiring reboots until patched.

How an attack unfolds

An attacker issues an ethtool command specifying rule_cnt that results in rule_locs being NULL, then invokes mtk_hwlro_get_fdir_all which proceeds to use the unvalidated pointer without a prior check, triggering the dereference and system instability.

How to fix it

Apply the upstream fix by updating the Linux kernel to include commit 7776591e5ae2befff86579f68916a171971c6aab or later equivalent; rebuild and deploy the patched kernel image across all affected systems.

How to confirm the fix worked

Verify the presence of the fix commit in the running kernel source or binary; test ethtool RXNFC calls with rule_cnt=0 to confirm no crash occurs; monitor kernel logs for absence of mtk_hwlro_get_fdir_all related NULL dereference oops.

Typical attack path

  1. Craft ethtool RXNFC request with rule_cnt set to trigger zero-size or failed allocation of rule_locs
  2. Invoke mtk_hwlro_get_fdir_all via the MediaTek Ethernet driver path
  3. Trigger NULL dereference leading to kernel panic or oops

How to detect it

Search kernel logs and dmesg for oops or panic messages referencing mtk_hwlro_get_fdir_all or NULL pointer dereference during ethtool RXNFC operations; review audit logs for unusual ethtool invocations from untrusted processes.

What your security team should do

  • Prioritize kernel upgrade to the fixed commit across all production Linux instances within the next maintenance window
  • Restrict unprivileged ethtool access via capabilities or SELinux policies until patched
  • Include the affected driver in automated kernel patch testing and deployment pipelines

The record

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all() rule_locs is allocated in ethtool_get_rxnfc and the size is determined by rule_cnt from user space. So rule_cnt needs to be check before using rule_locs to avoid NULL pointer dereference.

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 4.9.0 4.14.326
SUSE:Linux Enterprise High Availability Extension 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Live Patching 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Live Patching 15 SP6 kernel-livepatch-SLE15-SP6_Update_19 0 1-150600.13.3.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-64kb 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-docs 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-obs-build 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-source 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-syms 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-zfcpdump 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-docs 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-obs-build 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-source 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-syms 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 dtb-aarch64 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-64kb 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-debug 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-default 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
openSUSE:Leap 15.6 kernel-docs 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-kvmsmall 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-obs-build 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-obs-qa 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-source 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-syms 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-zfcpdump 0 6.4.0-150600.23.84.1

Related vulnerabilities