{"id":"CVE-2026-89552","aliases":["CVE-2026-89552"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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'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.","source":"cvelist"}],"published":"2026-09-11T19:44:26.091Z","modified":"2026-10-30T13:20:21.423Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"72835d539ed3eb4c4b85b85a3f3976c7bdc70b91","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"c7cc1edf3c0de948abcb3e4a44ee86a82403ce2f","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"32c1f305cfad192cd98468140beedeffe4792f53","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"614f873268c5b172804c9af6639bd17b7e1e2359","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"704ecd010d4a9b33160e40b74eb402f6b86a18e0","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"0d8e2404925a0607ffec79a53170715a46936896","status":"affected"},{"type":"git","introduced":"e180a6b7759a99a28cbcce3547c4c80822cb6c2a","fixed":"3dfaae04243cde460d82dfc2a7dd0bb6664d20ae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/72835d539ed3eb4c4b85b85a3f3976c7bdc70b91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7cc1edf3c0de948abcb3e4a44ee86a82403ce2f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32c1f305cfad192cd98468140beedeffe4792f53","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31b41ea8383d51992d6b0dfe3a99da1dec8ce1c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/614f873268c5b172804c9af6639bd17b7e1e2359","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/704ecd010d4a9b33160e40b74eb402f6b86a18e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d8e2404925a0607ffec79a53170715a46936896","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3dfaae04243cde460d82dfc2a7dd0bb6664d20ae","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89552","url":"https://www.cve.org/CVERecord?id=CVE-2026-89552","licence":"CVE Terms of Use","modified":"2026-10-30T12:32:11.008Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89552","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89552","licence":"Public domain","modified":"2026-10-30T13:20:21.423Z"}],"updatedAt":"2026-11-25T22:59:38.063Z","epss":{"score":0.00211,"percentile":0.12028,"date":"2026-12-01T12:00:22.000Z"}}