{"id":"CVE-2025-39973","aliases":["CVE-2025-39973"],"related":[],"kind":"vulnerability","state":"published","title":"i40e: add validation for ring_len param","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: add validation for ring_len param\n\nThe `ring_len` parameter provided by the virtual function (VF)\nis assigned directly to the hardware memory context (HMC) without\nany validation.\n\nTo address this, introduce an upper boundary check for both Tx and Rx\nqueue lengths. The maximum number of descriptors supported by the\nhardware is 8k-32.\nAdditionally, enforce alignment constraints: Tx rings must be a multiple\nof 8, and Rx rings must be a multiple of 32.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: add validation for ring_len param\n\nThe `ring_len` parameter provided by the virtual function (VF)\nis assigned directly to the hardware memory context (HMC) without\nany validation.\n\nTo address this, introduce an upper boundary check for both Tx and Rx\nqueue lengths. The maximum number of descriptors supported by the\nhardware is 8k-32.\nAdditionally, enforce alignment constraints: Tx rings must be a multiple\nof 8, and Rx rings must be a multiple of 32.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ni40e: añadir validación para el parámetro ring_len\n\nEl parámetro ring_len proporcionado por la función virtual (VF) se asigna directamente al contexto de memoria de hardware (HMC) sin ninguna validación.\n\nPara abordar esto, se introduce una comprobación de límite superior para las longitudes de cola tanto de Tx como de Rx. El número máximo de descriptores soportado por el hardware es 8k-32.\nAdemás, se aplican restricciones de alineación: los anillos Tx deben ser un múltiplo de 8, y los anillos Rx deben ser un múltiplo de 32.","source":"nvd"}],"published":"2025-10-15T07:55:55.590Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"0543d40d6513cdf1c7882811086e59a6455dfe97","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"d3b0d3f8d11fa957171fbb186e53998361a88d4e","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"c0c83f4cd074b75cecef107bfc349be7d516c9c4","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"05fe81fb9db20464fa532a3835dc8300d68a2f84","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"afec12adab55d10708179a64d95d650741e60fe0","status":"affected"},{"type":"git","introduced":"5c3c48ac6bf56367c4e89f6453cd2d61e50375bd","fixed":"55d225670def06b01af2e7a5e0446fbe946289e8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"5.4.300","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.245","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.194","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.155","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.109","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.50","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.10","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0543d40d6513cdf1c7882811086e59a6455dfe97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3b0d3f8d11fa957171fbb186e53998361a88d4e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0c83f4cd074b75cecef107bfc349be7d516c9c4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05fe81fb9db20464fa532a3835dc8300d68a2f84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afec12adab55d10708179a64d95d650741e60fe0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55d225670def06b01af2e7a5e0446fbe946289e8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:55:35.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39973","url":"https://www.cve.org/CVERecord?id=CVE-2025-39973","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:34.963Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39973","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39973","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.397Z","epss":{"score":0.00158,"percentile":0.0523,"date":"2026-12-01T12:00:22.000Z"}}