{
  "id": "CVE-2025-71231",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71231",
  "published_at": "2026-02-18T14:53:15.668Z",
  "title": "crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "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\ncrypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode\n\nThe local variable 'i' is initialized with -EINVAL, but the for loop\nimmediately overwrites it and -EINVAL is never returned.\n\nIf no empty compression mode can be found, the function would return the\nout-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid\narray access in add_iaa_compression_mode().\n\nFix both issues by returning either a valid index or -EINVAL.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b190447e0fa3ef7355480d641d078962e03768b4, \u003c c77b33b58512708bd5603f48465f018c8b748847",
          "\u003e= b190447e0fa3ef7355480d641d078962e03768b4, \u003c d75207465eed20bc9b0daa4a0927de9568996067",
          "\u003e= b190447e0fa3ef7355480d641d078962e03768b4, \u003c de16f5bca05cace238d237791ed1b6e9d22dab60",
          "\u003e= b190447e0fa3ef7355480d641d078962e03768b4, \u003c 48329301969f6d21b2ef35f678e40f72b59eac94"
        ],
        "fixed_in": [
          "c77b33b58512708bd5603f48465f018c8b748847",
          "d75207465eed20bc9b0daa4a0927de9568996067",
          "de16f5bca05cace238d237791ed1b6e9d22dab60",
          "48329301969f6d21b2ef35f678e40f72b59eac94"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "6.12.72",
          "6.18.11",
          "6.19.1",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c77b33b58512708bd5603f48465f018c8b748847 or d75207465eed20bc9b0daa4a0927de9568996067 or de16f5bca05cace238d237791ed1b6e9d22dab60 or 48329301969f6d21b2ef35f678e40f72b59eac94 or later.",
      "Upgrade Linux to 0 or 6.12.72 or 6.18.11 or 6.19.1 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
