CVE-2026-98031
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
nexthop: Initialize extack in remove_nh_grp_entry()
remove_nh_grp_entry() prints the extack message when a listener fails to replace the reduced nexthop group. However, extack is not initialized and listeners are not required to set a message when returning an error. Neither netdevsim nor mlxsw do so when an allocation fails, resulting in the dereference of an uninitialized stack pointer.
Fix by zero-initializing extack, as was done in commit 6347c5314cee ("nexthop: initialize extack in nh_res_bucket_migrate()").
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 833a1065eeb14437a9a0dfa9dad06ea09894e0b5 < 030c878eaedf0449e2b5401a0a0146d0afcc645e | affected |
| Linux | Linux | 833a1065eeb14437a9a0dfa9dad06ea09894e0b5 < d643cea4248668dc493c513aa7cbc6505eb1a4a9 | affected |
| Linux | Linux | 833a1065eeb14437a9a0dfa9dad06ea09894e0b5 < d80677ad7aa5bebfccfd58caa4852b65abe70561 | affected |
| Linux | Linux | 833a1065eeb14437a9a0dfa9dad06ea09894e0b5 < 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b | affected |
| Linux | Linux | 5.11 | affected |
| Linux | Linux | 0 < 5.11 | unaffected |
| Linux | Linux | 6.12.111 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.53 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.7 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc3 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/030c878eaedf0449e2b5401a0a0146d0afcc645e
- https://git.kernel.org/stable/c/d643cea4248668dc493c513aa7cbc6505eb1a4a9
- https://git.kernel.org/stable/c/d80677ad7aa5bebfccfd58caa4852b65abe70561
- https://git.kernel.org/stable/c/5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b
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.