{
  "id": "CVE-2025-21993",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21993",
  "published_at": "2025-04-02T12:53:15.513Z",
  "title": "iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.1,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c a858cd58dea06cf85b142673deea8c5d87f11e70",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c f763c82db8166e28f45b7cc4a5398a7859665940",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c b388e185bfad32bfed6a97a6817f74ca00a4318f",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c b253660fac5e0e9080d2c95e3a029e1898d49afb",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c c1c6e527470e5eab0b2d57bd073530fbace39eab",
          "\u003e= 138fe4e069798d9aa948a5402ff15e58f483ee4e, \u003c 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5"
        ],
        "fixed_in": [
          "a858cd58dea06cf85b142673deea8c5d87f11e70",
          "f763c82db8166e28f45b7cc4a5398a7859665940",
          "b388e185bfad32bfed6a97a6817f74ca00a4318f",
          "9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c",
          "2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d",
          "b253660fac5e0e9080d2c95e3a029e1898d49afb",
          "c1c6e527470e5eab0b2d57bd073530fbace39eab",
          "07e0d99a2f701123ad3104c0f1a1e66bce74d6e5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.26"
        ],
        "fixed_in": [
          "0",
          "5.4.292",
          "5.10.236",
          "5.15.180",
          "6.1.132",
          "6.6.84",
          "6.12.20",
          "6.13.8",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a858cd58dea06cf85b142673deea8c5d87f11e70 or f763c82db8166e28f45b7cc4a5398a7859665940 or b388e185bfad32bfed6a97a6817f74ca00a4318f or 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c or 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d or b253660fac5e0e9080d2c95e3a029e1898d49afb or c1c6e527470e5eab0b2d57bd073530fbace39eab or 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 or later.",
      "Upgrade Linux to 0 or 5.4.292 or 5.10.236 or 5.15.180 or 6.1.132 or 6.6.84 or 6.12.20 or 6.13.8 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
