{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2"
            },
            {
              "fixed": "4aed2346fa9b88d458eeb8c01123f3c07585a675"
            },
            {
              "fixed": "40f3bfbbb222b92278f3797614b70f68d46824ac"
            },
            {
              "fixed": "a6d7d7a253c550e74b0651897fe313c2f9b2301f"
            },
            {
              "fixed": "814cba835ef648e0c5eb79505c96c0493b29eea6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90358.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, x86: Fix trampoline stack size for 128-bit arguments\n\nbtf_distill_func_proto() accepts a function argument up to 16 bytes, so a\n128-bit scalar such as __int128 reaches the x86 trampoline with\narg_size == 16. But the current implementation assumes an __int128\nargument only needs one register, so the register save area is\nunder-allocated and save_args() overwrites adjacent stack slots.\n\nCompute the register count from arg_size for all arguments to fix it.",
  "id": "CVE-2026-90358",
  "modified": "2026-09-20T11:30:17.311946114Z",
  "published": "2026-09-17T16:09:03.531Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90358.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90358"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "bpf, x86: Fix trampoline stack size for 128-bit arguments"
}