GHSA-j9p6-994v-55hwunknown
In the Linux kernel, the following vulnerability has been resolved: module: fix lost error code...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-98842
- https://git.kernel.org/stable/c/258310d59a82ea4854bfd9138682bbaac1153b19
- https://git.kernel.org/stable/c/bfc721eef5c13704efe6864c7da2ad4b0d75f60a
- https://git.kernel.org/stable/c/c79cf15eb35a4c703bf18f8c33c47e80dd660f8e
- https://github.com/advisories/GHSA-j9p6-994v-55hw