# CVE-2022-49654: net: dsa: qca8k: reset cpu port on MTU change

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-26T02:23:54.966Z
- Modified: 2026-06-17T05:18:45.897Z
- Assigned by: Linux

## Description

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

net: dsa: qca8k: reset cpu port on MTU change

It was discovered that the Documentation lacks of a fundamental detail
on how to correctly change the MAX_FRAME_SIZE of the switch.

In fact if the MAX_FRAME_SIZE is changed while the cpu port is on, the
switch panics and cease to send any packet. This cause the mgmt ethernet
system to not receive any packet (the slow fallback still works) and
makes the device not reachable. To recover from this a switch reset is
required.

To correctly handle this, turn off the cpu ports before changing the
MAX_FRAME_SIZE and turn on again after the value is applied.

(As written by CVE List.)

## Affected

- Linux Linux: from f58d2598cf70d41f73e761b62a114d2e8f94a676 before 188c798f3c2554fa0d7147e9b97baf144b817019; from f58d2598cf70d41f73e761b62a114d2e8f94a676 before 1993f5a06736ada59dd54b50dc96755a38796ee5; from f58d2598cf70d41f73e761b62a114d2e8f94a676 before 386228c694bf1e7a7688e44412cb33500b0ac585; 5.9 (not affected: before 5.9; from 5.15.54 up to 5.15.*; from 5.18.11 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.9 before 5.15.54; from 5.16 before 5.18.11; 5.19

## References

- <https://git.kernel.org/stable/c/188c798f3c2554fa0d7147e9b97baf144b817019> (patch)
- <https://git.kernel.org/stable/c/1993f5a06736ada59dd54b50dc96755a38796ee5> (patch)
- <https://git.kernel.org/stable/c/386228c694bf1e7a7688e44412cb33500b0ac585> (patch)

## Sources

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

---

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