CVE-2023-54240

Not scored yetLast modified Jun 17, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 7776591e5ae2befff86579f68916a171971c6aab; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 751b2e22a188b0c306029d094da29b6b8de31430; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 653fbddbdfc6673bba01b13dae5a4384ad8f92ec; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 75f2de75c1182e80708c932418e4895dbc88b68f; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 072324cfab9b96071c0782f51f53cc5aea1e9d5b; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < ff5faed5f5487b0fd2b640ba1304f82a5ebaab42; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < fe0195fe48f85182bc7e7eabcad925bd3cbc10f5; >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < e4c79810755f66c9a933ca810da2724133b1165a
LinuxLinux4.9

References

Timeline

Published
Dec 30, 2025
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2023

CVE-2023-54241In the Linux kernel, the following vulnerability has been resolved: MIPS: KVM: Fix NULL pointer dereference After commit 45c7e8af4a5e3f0beCVE-2023-54242In the Linux kernel, the following vulnerability has been resolved: block, bfq: Fix division by zero error on zero wsum When the weighted CVE-2023-542437.8In the Linux kernel, the following vulnerability has been resolved: netfilter: ebtables: fix table blob use-after-free We are not allowed CVE-2023-54244In the Linux kernel, the following vulnerability has been resolved: ACPI: EC: Fix oops when removing custom query handlers When removing cCVE-2023-54245In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds When we run CVE-2023-54246In the Linux kernel, the following vulnerability has been resolved: rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() toCVE-2023-54247In the Linux kernel, the following vulnerability has been resolved: bpf: Silence a warning in btf_type_id_size() syzbot reported a warningCVE-2023-54248In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Add check for kmemdup Since the kmemdup may return NULL poinCVE-2023-54249In the Linux kernel, the following vulnerability has been resolved: bus: mhi: ep: Only send -ENOTCONN status if client driver is available CVE-2023-54258.8The Post Meta Data Manager plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the CVE-2023-542508.2In the Linux kernel, the following vulnerability has been resolved: ksmbd: avoid out of bounds access in decode_preauth_ctxt() Confirm thaCVE-2023-54251In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
CVE-2023-54240: Unscored | Vulnix