{"id":"CVE-2026-98842","title":"module: fix lost error code from codetag_load_module()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmodule: fix lost error code from codetag_load_module()\n\nIf codetag_load_module() fails, err is not set to reflect the failure\nand load_module() returns 0 after the modu…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < 258310d59a82ea4854bfd9138682bbaac1153b19","Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < bfc721eef5c13704efe6864c7da2ad4b0d75f60a","Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < c79cf15eb35a4c703bf18f8c33c47e80dd660f8e","Linux b6bbbb8ef48dde09c0dbd77121fa0f09b0237fec","Linux >= 6.15.4 < 6.16","Linux 6.16"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:50:19.217Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98842","references":[{"url":"https://git.kernel.org/stable/c/258310d59a82ea4854bfd9138682bbaac1153b19"},{"url":"https://git.kernel.org/stable/c/bfc721eef5c13704efe6864c7da2ad4b0d75f60a"},{"url":"https://git.kernel.org/stable/c/c79cf15eb35a4c703bf18f8c33c47e80dd660f8e"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.467Z","slug":"CVE-2026-98842","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmodule: fix lost error code from codetag_load_module()\n\nIf codetag_load_module() fails, err is not set to reflect the failure\nand load_module() returns 0 after the module has been torn down.\n\nAlso, if the module is a livepatch, mod->klp_info allocated by\ncopy_module_elf() leaks on this error path.  Free it via a new\nlivepatch_cleanup label.\n\n## Affected\n\n- `Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < 258310d59a82ea4854bfd9138682bbaac1153b19`\n- `Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < bfc721eef5c13704efe6864c7da2ad4b0d75f60a`\n- `Linux >= 044d2aee6c575231ed4a24fb3d119bad0937488b < c79cf15eb35a4c703bf18f8c33c47e80dd660f8e`\n- `Linux b6bbbb8ef48dde09c0dbd77121fa0f09b0237fec`\n- `Linux >= 6.15.4 < 6.16`\n- `Linux 6.16`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}