What’s Vulnerable › Vulnerabilities
CVE-2026-98842: module: fix lost error code from codetag_load_module()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
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
- Linux kernel: from 6.15.4 before 6.16; 6.16 — fixed in 6.16, 7.3
How to fix
Upgrade to a fixed version: Linux kernel 6.16, 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/258310d59a82ea4854bfd9138682bbaac1153b19
- https://git.kernel.org/stable/c/bfc721eef5c13704efe6864c7da2ad4b0d75f60a
- https://git.kernel.org/stable/c/c79cf15eb35a4c703bf18f8c33c47e80dd660f8e
Get alerted when CVE-2026-98842 or the next vulnerability affects your stack