Linux Kernel up to 6.5.3 net mtk_hwlro_get_fdir_all null pointer dereference

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 6.5.3. The impacted element is the function mtk_hwlro_get_fdir_all of the component net. This manipulation causes null pointer dereference.
This vulnerability appears as CVE-2023-54240. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 6.5.3. It has been declared as critical. Affected by this vulnerability is the function mtk_hwlro_get_fdir_all of the component net. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. The summary by CVE is:
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.
It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2023-54240 since 12/30/2025. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 281707 (Linux Distros Unpatched Vulnerability : CVE-2023-54240), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54 or 6.5.4 eliminates this vulnerability. Applying the patch 7776591e5ae2befff86579f68916a171971c6aab/751b2e22a188b0c306029d094da29b6b8de31430/653fbddbdfc6673bba01b13dae5a4384ad8f92ec/75f2de75c1182e80708c932418e4895dbc88b68f/072324cfab9b96071c0782f51f53cc5aea1e9d5b/ff5faed5f5487b0fd2b640ba1304f82a5ebaab42/fe0195fe48f85182bc7e7eabcad925bd3cbc10f5/e4c79810755f66c9a933ca810da2724133b1165a is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (281707) and CERT Bund (WID-SEC-2025-2941). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- IBM Power Hardware Management Console
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Open Source Linux Kernel
- RESF Rocky Linux
- IBM DataPower Gateway
Product
Type
Vendor
Name
Version
- 4.14.325
- 4.19.294
- 5.4.256
- 5.10.194
- 5.15.131
- 6.1.0
- 6.1.1
- 6.1.2
- 6.1.3
- 6.1.4
- 6.1.5
- 6.1.6
- 6.1.7
- 6.1.8
- 6.1.9
- 6.1.10
- 6.1.11
- 6.1.12
- 6.1.13
- 6.1.14
- 6.1.15
- 6.1.16
- 6.1.17
- 6.1.18
- 6.1.19
- 6.1.20
- 6.1.21
- 6.1.22
- 6.1.23
- 6.1.24
- 6.1.25
- 6.1.26
- 6.1.27
- 6.1.28
- 6.1.29
- 6.1.30
- 6.1.31
- 6.1.32
- 6.1.33
- 6.1.34
- 6.1.35
- 6.1.36
- 6.1.37
- 6.1.38
- 6.1.39
- 6.1.40
- 6.1.41
- 6.1.42
- 6.1.43
- 6.1.44
- 6.1.45
- 6.1.46
- 6.1.47
- 6.1.48
- 6.1.49
- 6.1.50
- 6.1.51
- 6.1.52
- 6.1.53
- 6.5.0
- 6.5.1
- 6.5.2
- 6.5.3
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.7VulDB Meta Temp Score: 5.5
VulDB Base Score: 5.7
VulDB Temp Score: 5.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 281707
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-54240
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 4.14.326/4.19.295/5.4.257/5.10.195/5.15.132/6.1.54/6.5.4
Patch: 7776591e5ae2befff86579f68916a171971c6aab/751b2e22a188b0c306029d094da29b6b8de31430/653fbddbdfc6673bba01b13dae5a4384ad8f92ec/75f2de75c1182e80708c932418e4895dbc88b68f/072324cfab9b96071c0782f51f53cc5aea1e9d5b/ff5faed5f5487b0fd2b640ba1304f82a5ebaab42/fe0195fe48f85182bc7e7eabcad925bd3cbc10f5/e4c79810755f66c9a933ca810da2724133b1165a
Timeline
12/30/2025 Advisory disclosed12/30/2025 CVE reserved
12/30/2025 VulDB entry created
04/27/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2023-54240 (🔒)
GCVE (CVE): GCVE-0-2023-54240
GCVE (VulDB): GCVE-100-338983
CERT Bund: WID-SEC-2025-2941 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service
Entry
Created: 12/30/2025 16:53Updated: 04/27/2026 00:10
Changes: 12/30/2025 16:53 (59), 01/01/2026 11:47 (7), 01/06/2026 07:48 (2), 04/27/2026 00:10 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.