CVE-2022-49654

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxf58d2598cf70d41f73e761b62a114d2e8f94a676 < 188c798f3c2554fa0d7147e9b97baf144b817019affected
LinuxLinuxf58d2598cf70d41f73e761b62a114d2e8f94a676 < 1993f5a06736ada59dd54b50dc96755a38796ee5affected
LinuxLinuxf58d2598cf70d41f73e761b62a114d2e8f94a676 < 386228c694bf1e7a7688e44412cb33500b0ac585affected
LinuxLinux5.9affected
LinuxLinux0 < 5.9unaffected
LinuxLinux5.15.54 <= 5.15.*unaffected
LinuxLinux5.18.11 <= 5.18.*unaffected
LinuxLinux5.19 <= *unaffected

Weaknesses

References