CVE-2022-49654
N/A
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | f58d2598cf70d41f73e761b62a114d2e8f94a676 < 188c798f3c2554fa0d7147e9b97baf144b817019 | affected |
| Linux | Linux | f58d2598cf70d41f73e761b62a114d2e8f94a676 < 1993f5a06736ada59dd54b50dc96755a38796ee5 | affected |
| Linux | Linux | f58d2598cf70d41f73e761b62a114d2e8f94a676 < 386228c694bf1e7a7688e44412cb33500b0ac585 | affected |
| Linux | Linux | 5.9 | affected |
| Linux | Linux | 0 < 5.9 | unaffected |
| Linux | Linux | 5.15.54 <= 5.15.* | unaffected |
| Linux | Linux | 5.18.11 <= 5.18.* | unaffected |
| Linux | Linux | 5.19 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/188c798f3c2554fa0d7147e9b97baf144b817019
- https://git.kernel.org/stable/c/1993f5a06736ada59dd54b50dc96755a38796ee5
- https://git.kernel.org/stable/c/386228c694bf1e7a7688e44412cb33500b0ac585
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.