{"id":"CVE-2026-98031","summary":"nexthop: Initialize extack in remove_nh_grp_entry()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnexthop: Initialize extack in remove_nh_grp_entry()\n\nremove_nh_grp_entry() prints the extack message when a listener fails\nto replace the reduced nexthop group. However, extack is not\ninitialized and listeners are not required to set a message when\nreturning an error. Neither netdevsim nor mlxsw do so when an\nallocation fails, resulting in the dereference of an uninitialized\nstack pointer.\n\nFix by zero-initializing extack, as was done in commit 6347c5314cee\n(\"nexthop: initialize extack in nh_res_bucket_migrate()\").","modified":"2026-09-26T03:48:31.643715535Z","published":"2026-09-25T10:23:47.562Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98031.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/030c878eaedf0449e2b5401a0a0146d0afcc645e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d643cea4248668dc493c513aa7cbc6505eb1a4a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d80677ad7aa5bebfccfd58caa4852b65abe70561"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98031.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98031"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"833a1065eeb14437a9a0dfa9dad06ea09894e0b5"},{"fixed":"030c878eaedf0449e2b5401a0a0146d0afcc645e"},{"fixed":"d643cea4248668dc493c513aa7cbc6505eb1a4a9"},{"fixed":"d80677ad7aa5bebfccfd58caa4852b65abe70561"},{"fixed":"5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98031.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98031.json"}}],"schema_version":"1.9.0"}