{"id":"CVE-2026-89552","title":"params: fix charp corruption on allocation failure","summary":"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 val…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-476"],"vendor":"Linux","product":"Linux","affected":["Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1","Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 614f873268c5b172804c9af6639bd17b7e1e2359","Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 704ecd010d4a9b33160e40b74eb402f6b86a18e0","Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 0d8e2404925a0607ffec79a53170715a46936896","Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 3dfaae04243cde460d82dfc2a7dd0bb6664d20ae","Linux 2.6.30"],"published":"2026-09-11","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:47:50.327Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89552","references":[{"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"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89552.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89552"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2532253"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89552"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89552"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89552.mbox"}],"tags":["cve.org","csaf","vex","red-hat"],"epss":0.00168,"epssPercentile":0.06163,"ingestedAt":"2026-09-14T11:11:19.886Z","slug":"CVE-2026-89552","body":"## Overview\n\nIn 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's 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.\n\n## Affected\n\n- `Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1`\n- `Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 614f873268c5b172804c9af6639bd17b7e1e2359`\n- `Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 704ecd010d4a9b33160e40b74eb402f6b86a18e0`\n- `Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 0d8e2404925a0607ffec79a53170715a46936896`\n- `Linux >= e180a6b7759a99a28cbcce3547c4c80822cb6c2a < 3dfaae04243cde460d82dfc2a7dd0bb6664d20ae`\n- `Linux 2.6.30`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89552.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":224256,"id":"CVE-2026-89552","ts":1792325045752,"field":"cvss","old":"4.1","new":"5.5"},{"seq":204051,"id":"CVE-2026-89552","ts":1789490231205,"field":"cvss","old":null,"new":"4.1"},{"seq":204050,"id":"CVE-2026-89552","ts":1789490231205,"field":"severity","old":"none","new":"medium"},{"seq":147478,"id":"CVE-2026-89552","ts":1789270211066,"field":"cvss","old":null,"new":"4.1"},{"seq":147477,"id":"CVE-2026-89552","ts":1789270211066,"field":"severity","old":"none","new":"medium"},{"seq":109238,"id":"CVE-2026-89552","ts":1789183731098,"field":"cvss","old":null,"new":"4.1"},{"seq":109237,"id":"CVE-2026-89552","ts":1789183731098,"field":"severity","old":"none","new":"medium"}]}