Skip to main content
Network Thinking Solutions Logo

CVE-2023-54240

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.

All CVEs
CVE-2023-54240Published 12/30/2025

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.

Vendor advisory
CVSS—Unscored

Overview

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.

Published
12/30/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 7776591e5ae2befff86579f68916a171971c6aab

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 751b2e22a188b0c306029d094da29b6b8de31430

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 653fbddbdfc6673bba01b13dae5a4384ad8f92ec

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 75f2de75c1182e80708c932418e4895dbc88b68f

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 072324cfab9b96071c0782f51f53cc5aea1e9d5b

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < ff5faed5f5487b0fd2b640ba1304f82a5ebaab42

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < fe0195fe48f85182bc7e7eabcad925bd3cbc10f5

Verify advisory

Source
Linux
Linux
≥ 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < e4c79810755f66c9a933ca810da2724133b1165a

Verify advisory

Source
Linux
Linux
4.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.