CVE-2026-98842

module: fix lost error code from codetag_load_module()

Description

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.

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.166% likely to be exploited in the next 30 days, higher than 5.883% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 044d2aee6c575231ed4a24fb3d119bad0937488b up to but excluding 258310d59a82ea4854bfd9138682bbaac1153b19 (affected)
  • 044d2aee6c575231ed4a24fb3d119bad0937488b up to but excluding bfc721eef5c13704efe6864c7da2ad4b0d75f60a (affected)
  • 044d2aee6c575231ed4a24fb3d119bad0937488b up to but excluding c79cf15eb35a4c703bf18f8c33c47e80dd660f8e (affected)
  • b6bbbb8ef48dde09c0dbd77121fa0f09b0237fec (affected)
  • 6.15.4 up to but excluding 6.16 (affected)
LinuxLinux
  • Default status: affected
  • 6.16 (affected)
  • 0 up to but excluding 6.16 (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References