{"id":"CVE-2025-71112","aliases":["CVE-2025-71112"],"related":[],"kind":"vulnerability","state":"published","title":"net: hns3: add VLAN id validation before using","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: add VLAN id validation before using\n\nCurrently, the VLAN id may be used without validation when\nreceive a VLAN configuration mailbox from VF. The length of\nvlan_del_fail_bmap is BITS_TO_LONGS(VLAN_N_VID). It may cause\nout-of-bounds memory access once the VLAN id is bigger than\nor equal to VLAN_N_VID.\n\nTherefore, VLAN id needs to be checked to ensure it is within\nthe range of VLAN_N_VID.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: add VLAN id validation before using\n\nCurrently, the VLAN id may be used without validation when\nreceive a VLAN configuration mailbox from VF. The length of\nvlan_del_fail_bmap is BITS_TO_LONGS(VLAN_N_VID). It may cause\nout-of-bounds memory access once the VLAN id is bigger than\nor equal to VLAN_N_VID.\n\nTherefore, VLAN id needs to be checked to ensure it is within\nthe range of VLAN_N_VID.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: hns3: añadir validación de ID de VLAN antes de usar\n\nActualmente, el ID de VLAN puede ser usado sin validación cuando se recibe un buzón de configuración de VLAN desde VF. La longitud de vlan_del_fail_bmap es BITS_TO_LONGS(VLAN_N_VID). Puede causar acceso a memoria fuera de límites una vez que el ID de VLAN es mayor o igual que VLAN_N_VID.\n\nPor lo tanto, el ID de VLAN necesita ser verificado para asegurar que está dentro del rango de VLAN_N_VID.","source":"nvd"}],"published":"2026-01-14T15:05:59.308Z","modified":"2026-11-10T13:18:06.060Z","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"42c91dfa772c57de141e5a55a187ac760c0fd7e1","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"00e56a7706e10b3d00a258d81fcb85a7e96372d6","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"b7b4f3bf118f51b67691a55b464f04452e5dc6fc","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"95cca255a7a5ad782639ff0298c2a486707d1046","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"91a51d01be5c9f82c12c2921ca5cceaa31b67128","status":"affected"},{"type":"git","introduced":"fe4144d47eef8453459c53a34e9d5940a3e6c219","fixed":"6ef935e65902bfed53980ad2754b06a284ea8ac1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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":"5.3.1","fixed":"5.10.248"},{"status":"affected","introduced":"5.11","fixed":"5.15.198"},{"status":"affected","introduced":"5.16","fixed":"6.1.160"},{"status":"affected","introduced":"6.2","fixed":"6.6.120"},{"status":"affected","introduced":"6.7","fixed":"6.12.64"},{"status":"affected","introduced":"6.13","fixed":"6.18.3"},{"status":"affected","version":"5.3"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42c91dfa772c57de141e5a55a187ac760c0fd7e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00e56a7706e10b3d00a258d81fcb85a7e96372d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7b4f3bf118f51b67691a55b464f04452e5dc6fc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95cca255a7a5ad782639ff0298c2a486707d1046","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91a51d01be5c9f82c12c2921ca5cceaa31b67128","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ef935e65902bfed53980ad2754b06a284ea8ac1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:05:48.983Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71112","url":"https://www.cve.org/CVERecord?id=CVE-2025-71112","licence":"CVE Terms of Use","modified":"2026-11-10T12:39:04.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71112","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71112","licence":"Public domain","modified":"2026-11-10T13:18:06.060Z"}],"updatedAt":"2026-11-25T22:59:10.611Z","epss":{"score":0.00187,"percentile":0.08664,"date":"2026-12-01T12:00:22.000Z"}}