← Back to CVE Explorer

CVE-2026-90416

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix stack out-of-bounds read in cc_params debugfs get_param() reads a congestion parameter as a u32 but formats it with the signed "%d" into an 11-byte stack buffer. A value with bit 31 set, such as 0x80000000, renders as "-2147483648\n" whose full length is 12. snprintf() stores only 11 bytes yet returns 12, so simple_read_from_buffer() treats 12 bytes as valid and reads one byte past lbuf[]. Size the buffer for the widest unsigned decimal, format with "%u" to match the u32, and use scnprintf() so the length passed to simple_read_from_buffer() reflects the bytes actually stored.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:45.880000
Last modified
2026-10-19 09:19:35.923000
View original CVE JSON
{
  "id": "CVE-2026-90416",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:45.880",
  "lastModified": "2026-10-19T09:19:35.923",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix stack out-of-bounds read in cc_params debugfs\n\nget_param() reads a congestion parameter as a u32 but formats it with the\nsigned \"%d\" into an 11-byte stack buffer. A value with bit 31 set, such as\n0x80000000, renders as \"-2147483648\\n\" whose full length is 12. snprintf()\nstores only 11 bytes yet returns 12, so simple_read_from_buffer() treats 12\nbytes as valid and reads one byte past lbuf[].\n\nSize the buffer for the widest unsigned decimal, format with \"%u\" to match\nthe u32, and use scnprintf() so the length passed to\nsimple_read_from_buffer() reflects the bytes actually stored."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/infiniband/hw/mlx5/cong.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "1c5b4f76cd73372c5a8a4c91c95d5a31f141e091",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "06b62758f81e27ca4c81201c22e3436c6d9ac894",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "d809cf3f0ed9255abfc73c4730bcf187151422af",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "0b0122fcc923a0271130f5fb71af2cd7e20434d9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "ce8dfd32a33b578c3abf178f67b4c8d36854f041",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "4599311e78e88c893ad551aca622de2bfdf1c31f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "c75ee076fa09778a2f9602a972dade4a0b0785f7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4a2da0b8c0782816f3ae6846ae7942fcbb0f8172",
              "lessThan": "03826bc1fa6c90405bf05831f2b501a8368dcd27",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/infiniband/hw/mlx5/cong.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.14",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.14",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/03826bc1fa6c90405bf05831f2b501a8368dcd27",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/06b62758f81e27ca4c81201c22e3436c6d9ac894",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/0b0122fcc923a0271130f5fb71af2cd7e20434d9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1c5b4f76cd73372c5a8a4c91c95d5a31f141e091",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4599311e78e88c893ad551aca622de2bfdf1c31f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c75ee076fa09778a2f9602a972dade4a0b0785f7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ce8dfd32a33b578c3abf178f67b4c8d36854f041",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d809cf3f0ed9255abfc73c4730bcf187151422af",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}