# CVE-2022-49368: net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-02-26T02:11:12.193Z
- Modified: 2026-08-05T08:54:56.625Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()

The "fsp->location" variable comes from user via ethtool_get_rxnfc().
Check that it is valid to prevent an out of bounds read.

(As written by CVE List.)

## Affected

- Linux Linux: from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before b4f0e57ea0d867aacffad7999527e48bd4ea9293; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 5ba81f82607ead85fe36f50869fc4f5661359ab8; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 657e7174603f0aab2cdedc64ac81edffd2a87afe; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 2bd1faedb74dc2a2be3972abcd4239b75a3e7b00; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 71ae30662ec610b92644d13f79c78f76f17873b3; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before b24ca1cf846273361d5bd73a35de95a486a54b6d; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 4cde554c70d7397cfa2e4116bacb4accdfb6fd48; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before 0b238f75b65ed4462ef4cdfa718cac0ac7fce3b8; from 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd before e7e7104e2d5ddf3806a28695670f21bef471f1e1; 4.9 (not affected: before 4.9; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.9 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b4f0e57ea0d867aacffad7999527e48bd4ea9293> (patch)
- <https://git.kernel.org/stable/c/5ba81f82607ead85fe36f50869fc4f5661359ab8> (patch)
- <https://git.kernel.org/stable/c/657e7174603f0aab2cdedc64ac81edffd2a87afe> (patch)
- <https://git.kernel.org/stable/c/2bd1faedb74dc2a2be3972abcd4239b75a3e7b00> (patch)
- <https://git.kernel.org/stable/c/71ae30662ec610b92644d13f79c78f76f17873b3> (patch)
- <https://git.kernel.org/stable/c/b24ca1cf846273361d5bd73a35de95a486a54b6d> (patch)
- <https://git.kernel.org/stable/c/4cde554c70d7397cfa2e4116bacb4accdfb6fd48> (patch)
- <https://git.kernel.org/stable/c/0b238f75b65ed4462ef4cdfa718cac0ac7fce3b8> (patch)
- <https://git.kernel.org/stable/c/e7e7104e2d5ddf3806a28695670f21bef471f1e1> (patch)

## Sources

- CVE List: [CVE-2022-49368](https://www.cve.org/CVERecord?id=CVE-2022-49368), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49368](https://nvd.nist.gov/vuln/detail/CVE-2022-49368), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49368 · Whole record: https://cve.day/CVE-2022-49368.json · Rebuilt by cve.day 2026-11-25T22:58:20.466Z
