CVE-2023-54240
Awaiting Analysis Awaiting Analysis - Queue

BaseFortify

Vulnerability report for CVE-2023-54240, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-30

Last updated on: 2025-12-31

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-30
Last Modified
2025-12-31
Generated
2026-07-06
AI Q&A
2025-12-30
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a possible NULL pointer dereference in the Linux kernel's MediaTek Ethernet driver (mtk_eth_soc). Specifically, in the function mtk_hwlro_get_fdir_all(), the code uses a pointer (rule_locs) that is allocated based on a size (rule_cnt) provided from user space. If rule_cnt is not properly checked before using rule_locs, it can lead to a NULL pointer dereference, which may cause the kernel to crash or behave unexpectedly.

Impact Analysis

This vulnerability can cause the Linux kernel to crash or become unstable due to a NULL pointer dereference. This may lead to denial of service (DoS) conditions on affected systems running the vulnerable MediaTek Ethernet driver, potentially disrupting network connectivity or system availability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2023-54240. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart