nexthop: Initialize extack in remove_nh_grp_entry()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d80677ad7aa5bebfccfd58caa4852b65abe70561, Kernel 030c878eaedf0449e2b5401a0a0146d0afcc645e, Kernel 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <d80677ad7aa5bebfccfd58caa4852b65abe70561, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <030c878eaedf0449e2b5401a0a0146d0afcc645e, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <35d9ec61466109ef0c2de87067338d929f629527, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <704319510af2179cf03955747d714ab291075c25, >=833a1065eeb14437a9a0dfa9dad06ea09894e0b5 <d643cea4248668dc493c513aa7cbc6505eb1a4a9, =5.11 | d80677ad7aa5bebfccfd58caa4852b65abe70561, 030c878eaedf0449e2b5401a0a0146d0afcc645e, 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a, 35d9ec61466109ef0c2de87067338d929f629527, 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b, 704319510af2179cf03955747d714ab291075c25, d643cea4248668dc493c513aa7cbc6505eb1a4a9 |
| linux-kernel: Kernel | >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=5.11.0 <5.15.222 | 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.12.111, 5.15.222 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket