CVE-2022-49654

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f58d2598cf70d41f73e761b62a114d2e8f94a676 to before 188c798f3c2554fa0d7147e9b97baf144b817019Affected
  • f58d2598cf70d41f73e761b62a114d2e8f94a676 to before 1993f5a06736ada59dd54b50dc96755a38796ee5Affected
  • f58d2598cf70d41f73e761b62a114d2e8f94a676 to before 386228c694bf1e7a7688e44412cb33500b0ac585Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.15.54 through 5.15.*Not affected
  • 5.18.11 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.