{"id":"CVE-2025-37872","aliases":["CVE-2025-37872"],"related":[],"kind":"vulnerability","state":"published","title":"net: txgbe: fix memory leak in txgbe_probe() error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: txgbe: fix memory leak in txgbe_probe() error path\n\nWhen txgbe_sw_init() is called, memory is allocated for wx->rss_key\nin wx_init_rss_key(). However, in txgbe_probe() function, the subsequent\nerror paths after txgbe_sw_init() don't free the rss_key. Fix that by\nfreeing it in error path along with wx->mac_table.\n\nAlso change the label to which execution jumps when txgbe_sw_init()\nfails, because otherwise, it could lead to a double free for rss_key,\nwhen the mac_table allocation fails in wx_sw_init().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: txgbe: fix memory leak in txgbe_probe() error path\n\nWhen txgbe_sw_init() is called, memory is allocated for wx->rss_key\nin wx_init_rss_key(). However, in txgbe_probe() function, the subsequent\nerror paths after txgbe_sw_init() don't free the rss_key. Fix that by\nfreeing it in error path along with wx->mac_table.\n\nAlso change the label to which execution jumps when txgbe_sw_init()\nfails, because otherwise, it could lead to a double free for rss_key,\nwhen the mac_table allocation fails in wx_sw_init().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: txgbe: se corrige pérdida de memoria en la ruta de error txgbe_probe() Cuando se llama a txgbe_sw_init(), se asigna memoria para wx-&gt;rss_key en wx_init_rss_key(). Sin embargo, en la función txgbe_probe(), las rutas de error posteriores a txgbe_sw_init() no liberan rss_key. Arréglelo liberándolo en la ruta de error junto con wx-&gt;mac_table. Cambie también la etiqueta a la que salta la ejecución cuando falla txgbe_sw_init(), porque de lo contrario, podría provocar una doble liberación de rss_key, cuando falla la asignación de mac_table en wx_sw_init().","source":"nvd"}],"published":"2025-05-09T06:44:00.570Z","modified":"2026-06-17T09:15:36.570Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"937d46ecc5f941b26270bdf7ce37495f12b25955","fixed":"635863d93deb8e352d63a8eba852efeaf1ac3539","status":"affected"},{"type":"git","introduced":"937d46ecc5f941b26270bdf7ce37495f12b25955","fixed":"837197a722919f5b0eeb967fe7cb0cc1e83173b9","status":"affected"},{"type":"git","introduced":"937d46ecc5f941b26270bdf7ce37495f12b25955","fixed":"b2727326d0a53709380aa147018085d71a6d4843","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.25","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.4","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.8","fixed":"6.12.25"},{"status":"affected","introduced":"6.13","fixed":"6.14.4"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/635863d93deb8e352d63a8eba852efeaf1ac3539","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/837197a722919f5b0eeb967fe7cb0cc1e83173b9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2727326d0a53709380aa147018085d71a6d4843","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37872","url":"https://www.cve.org/CVERecord?id=CVE-2025-37872","licence":"CVE Terms of Use","modified":"2026-05-11T21:16:44.502Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37872","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37872","licence":"Public domain","modified":"2026-06-17T09:15:36.570Z"}],"updatedAt":"2026-11-25T22:58:57.856Z","epss":{"score":0.00311,"percentile":0.16391,"date":"2026-11-30T12:00:22.000Z"}}