CVE-2026-89552 (GCVE-0-2026-89552)
Vulnerability from cvelistv5
Published
2026-09-11 19:44
Modified
2026-10-30 12:32
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: params: fix charp corruption on allocation failure param_set_charp() stores charp parameters in allocated memory after slab is available, and releases the previous value when the parameter is updated. The previous value is released before the replacement allocation succeeds. If kmalloc_parameter() fails, the setter returns -ENOMEM with the parameter left as NULL. Failing zswap's compressor update before zswap is initialized can later trigger: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:strcmp+0x10/0x30 Call Trace: zswap_setup+0x3b1/0x490 zswap_enabled_param_set+0x5b/0xa0 param_attr_store+0x93/0xe0 module_attr_store+0x1c/0x30 kernfs_fop_write_iter+0x116/0x1f0 Allocate and copy the replacement first, then replace the parameter value only after allocation succeeds.
Impacted products
Vendor Product Version
Linux Linux Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Version: e180a6b7759a99a28cbcce3547c4c80822cb6c2a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/params.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "72835d539ed3eb4c4b85b85a3f3976c7bdc70b91",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "c7cc1edf3c0de948abcb3e4a44ee86a82403ce2f",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "32c1f305cfad192cd98468140beedeffe4792f53",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "614f873268c5b172804c9af6639bd17b7e1e2359",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "704ecd010d4a9b33160e40b74eb402f6b86a18e0",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "0d8e2404925a0607ffec79a53170715a46936896",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            },
            {
              "lessThan": "3dfaae04243cde460d82dfc2a7dd0bb6664d20ae",
              "status": "affected",
              "version": "e180a6b7759a99a28cbcce3547c4c80822cb6c2a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/params.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.30"
            },
            {
              "lessThan": "2.6.30",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.273",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nparams: fix charp corruption on allocation failure\n\nparam_set_charp() stores charp parameters in allocated memory after slab is\navailable, and releases the previous value when the parameter is updated.\n\nThe previous value is released before the replacement allocation succeeds.\nIf kmalloc_parameter() fails, the setter returns -ENOMEM with the parameter\nleft as NULL.\n\nFailing zswap\u0027s compressor update before zswap is initialized can later\ntrigger:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:strcmp+0x10/0x30\n  Call Trace:\n    zswap_setup+0x3b1/0x490\n    zswap_enabled_param_set+0x5b/0xa0\n    param_attr_store+0x93/0xe0\n    module_attr_store+0x1c/0x30\n    kernfs_fop_write_iter+0x116/0x1f0\n\nAllocate and copy the replacement first, then replace the parameter value\nonly after allocation succeeds."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:32:11.008Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/72835d539ed3eb4c4b85b85a3f3976c7bdc70b91"
        },
        {
          "url": "https://git.kernel.org/stable/c/c7cc1edf3c0de948abcb3e4a44ee86a82403ce2f"
        },
        {
          "url": "https://git.kernel.org/stable/c/32c1f305cfad192cd98468140beedeffe4792f53"
        },
        {
          "url": "https://git.kernel.org/stable/c/31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1"
        },
        {
          "url": "https://git.kernel.org/stable/c/614f873268c5b172804c9af6639bd17b7e1e2359"
        },
        {
          "url": "https://git.kernel.org/stable/c/704ecd010d4a9b33160e40b74eb402f6b86a18e0"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d8e2404925a0607ffec79a53170715a46936896"
        },
        {
          "url": "https://git.kernel.org/stable/c/3dfaae04243cde460d82dfc2a7dd0bb6664d20ae"
        }
      ],
      "title": "params: fix charp corruption on allocation failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89552",
    "datePublished": "2026-09-11T19:44:26.091Z",
    "dateReserved": "2026-09-11T19:38:34.723Z",
    "dateUpdated": "2026-10-30T12:32:11.008Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…