Skip to main content
← All vulnerabilities
CVE-2026-98842

module: fix lost error code from codetag_load_module()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.16, 6.18.56, 7.2.10
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: module: fix lost error code from codetag_load_module() If codetag_load_module() fails, err is not set to reflect the failure and load_module() returns 0 after the module has been torn down. Also, if the module is a livepatch, mod->klp_info allocated by copy_module_elf() leaks on this error path. Free it via a new livepatch_cleanup label.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 044d2aee6c575231ed4a24fb3d119bad0937488b · fixed in 258310d59a82ea4854bfd9138682bbaac1153b19; From 044d2aee6c575231ed4a24fb3d119bad0937488b · fixed in bfc721eef5c13704efe6864c7da2ad4b0d75f60a; From 044d2aee6c575231ed4a24fb3d119bad0937488b · fixed in c79cf15eb35a4c703bf18f8c33c47e80dd660f8e; From 6.15.4 · fixed in 6.16

  • Linux Linux

    6.16

  • KernelLinux

    From 6.16.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10

References 3

git.kernel.org