What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.16, 7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-98842 or the next vulnerability affects your stack