{"id":"CVE-2025-21993","aliases":["CVE-2025-21993"],"related":[],"kind":"vulnerability","state":"published","title":"iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()\n\nWhen performing an iSCSI boot using IPv6, iscsistart still reads the\n/sys/firmware/ibft/ethernetX/subnet-mask entry. Since the IPv6 prefix\nlength is 64, this causes the shift exponent to become negative,\ntriggering a UBSAN warning. As the concept of a subnet mask does not\napply to IPv6, the value is set to ~0 to suppress the warning message.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()\n\nWhen performing an iSCSI boot using IPv6, iscsistart still reads the\n/sys/firmware/ibft/ethernetX/subnet-mask entry. Since the IPv6 prefix\nlength is 64, this causes the shift exponent to become negative,\ntriggering a UBSAN warning. As the concept of a subnet mask does not\napply to IPv6, the value is set to ~0 to suppress the warning message.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iscsi_ibft: Se corrige la advertencia de desplazamiento fuera de los límites de UBSAN en ibft_attr_show_nic(). Al realizar un arranque iSCSI con IPv6, iscsistart sigue leyendo la entrada /sys/firmware/ibft/ethernetX/subnet-mask. Dado que la longitud del prefijo IPv6 es 64, esto hace que el exponente de desplazamiento sea negativo, lo que activa una advertencia de UBSAN. Dado que el concepto de máscara de subred no se aplica a IPv6, el valor se establece en ~0 para suprimir el mensaje de advertencia.","source":"nvd"}],"published":"2025-04-02T12:53:15.513Z","modified":"2026-06-17T08:44:47.567Z","severity":{"scorer":"CISA-ADP","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"},"severities":[{"scorer":"CISA-ADP","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"},{"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"],"affected":[{"ranges":[{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"a858cd58dea06cf85b142673deea8c5d87f11e70","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"f763c82db8166e28f45b7cc4a5398a7859665940","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"b388e185bfad32bfed6a97a6817f74ca00a4318f","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"b253660fac5e0e9080d2c95e3a029e1898d49afb","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"c1c6e527470e5eab0b2d57bd073530fbace39eab","status":"affected"},{"type":"git","introduced":"138fe4e069798d9aa948a5402ff15e58f483ee4e","fixed":"07e0d99a2f701123ad3104c0f1a1e66bce74d6e5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.26","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.26","status":"unaffected"},{"type":"semver","introduced":"5.4.292","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.236","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.20","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.8","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","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","fixed":"6.1.132"},{"status":"affected","introduced":"6.2","fixed":"6.6.84"},{"status":"affected","introduced":"6.7","fixed":"6.12.20"},{"status":"affected","introduced":"6.13","fixed":"6.13.8"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a858cd58dea06cf85b142673deea8c5d87f11e70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f763c82db8166e28f45b7cc4a5398a7859665940","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b388e185bfad32bfed6a97a6817f74ca00a4318f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T17:13:21.283Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21993","url":"https://www.cve.org/CVERecord?id=CVE-2025-21993","licence":"CVE Terms of Use","modified":"2026-05-11T21:10:34.056Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21993","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21993","licence":"Public domain","modified":"2026-06-17T08:44:47.567Z"}],"updatedAt":"2026-11-25T22:58:55.954Z","epss":{"score":0.00221,"percentile":0.1344,"date":"2026-12-01T12:00:22.000Z"}}