{"id":"CVE-2026-98842","aliases":["CVE-2026-98842"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"}],"published":"2026-10-18T15:50:19.217Z","modified":"2026-10-19T10:19:48.303Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"044d2aee6c575231ed4a24fb3d119bad0937488b","fixed":"258310d59a82ea4854bfd9138682bbaac1153b19","status":"affected"},{"type":"git","introduced":"044d2aee6c575231ed4a24fb3d119bad0937488b","fixed":"bfc721eef5c13704efe6864c7da2ad4b0d75f60a","status":"affected"},{"type":"git","introduced":"044d2aee6c575231ed4a24fb3d119bad0937488b","fixed":"c79cf15eb35a4c703bf18f8c33c47e80dd660f8e","status":"affected"},{"type":"git","version":"b6bbbb8ef48dde09c0dbd77121fa0f09b0237fec","status":"affected"},{"type":"semver","introduced":"6.15.4","fixed":"6.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","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/258310d59a82ea4854bfd9138682bbaac1153b19","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfc721eef5c13704efe6864c7da2ad4b0d75f60a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c79cf15eb35a4c703bf18f8c33c47e80dd660f8e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98842","url":"https://www.cve.org/CVERecord?id=CVE-2026-98842","licence":"CVE Terms of Use","modified":"2026-10-19T09:26:34.441Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98842","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98842","licence":"Public domain","modified":"2026-10-19T10:19:48.303Z"}],"updatedAt":"2026-11-25T22:59:45.323Z","epss":{"score":0.00166,"percentile":0.06095,"date":"2026-12-01T12:00:22.000Z"}}