Linux
net/mlx5: LAG, Fix off-by-one in single-FDB error rollback
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: LAG, Fix off-by-one in single-FDB error rollback On failure at index i, the reverse cleanup loop in mlx5_lag_create_single_fdb() starts from i, so the failed index itself is rolled back. That can operate on uninitialized state or double-tear-down a rule the add_one path already self-rolled-back. Start the rollback from i - 1 so only successfully-installed entries are undone.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ddbb5ddc43ad000a984149db5af1133433938404, < 0be672071d6e8c4d3be6a8f796d8e47198763770
- >= ddbb5ddc43ad000a984149db5af1133433938404, < 40cc06bf71476932e5d139fa326dcd0372766e16
- >= ddbb5ddc43ad000a984149db5af1133433938404, < 0f0e4ae6975c773f7854fc48932a267f6c79088f
- 8330e9f0214c0f0b73c57b3f3f619b64c8035029
- >= 6.12.113, < 6.13
Fixed in 0be672071d6e8c4d3be6a8f796d8e47198763770, 40cc06bf71476932e5d139fa326dcd0372766e16, 0f0e4ae6975c773f7854fc48932a267f6c79088f, 6.13
- 6.14
Fixed in 0, 6.18.57, 7.1.5, 7.2
Mitigation
Upgrade Linux to 0be672071d6e8c4d3be6a8f796d8e47198763770 or 40cc06bf71476932e5d139fa326dcd0372766e16 or 0f0e4ae6975c773f7854fc48932a267f6c79088f or 6.13 or later.
Upgrade Linux to 0 or 6.18.57 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.