net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
Priority LOW 22Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
EPSS 0.00212 11th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 4.14.326, 4.19.295, 5.4.257 +5
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54, 6.5.4, 6.6
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-54240
- 2026-10-03 Alias added: GHSA-74c5-8qvv-vrf8
References
Other 8
- https://git.kernel.org/stable/c/7776591e5ae2befff86579f68916a171971c6aab
- https://git.kernel.org/stable/c/751b2e22a188b0c306029d094da29b6b8de31430
- https://git.kernel.org/stable/c/653fbddbdfc6673bba01b13dae5a4384ad8f92ec
- https://git.kernel.org/stable/c/75f2de75c1182e80708c932418e4895dbc88b68f
- https://git.kernel.org/stable/c/072324cfab9b96071c0782f51f53cc5aea1e9d5b
- https://git.kernel.org/stable/c/ff5faed5f5487b0fd2b640ba1304f82a5ebaab42
- https://git.kernel.org/stable/c/fe0195fe48f85182bc7e7eabcad925bd3cbc10f5
- https://git.kernel.org/stable/c/e4c79810755f66c9a933ca810da2724133b1165a
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2023-54240 · CVE Program
- CVE-2023-54240 · NVD
- FIRST EPSS
- GHSA-74c5-8qvv-vrf8 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-54240 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences