Bug 2555218 (CVE-2026-98842) - CVE-2026-98842 kernel: module: fix lost error code from codetag_load_module()
Summary: CVE-2026-98842 kernel: module: fix lost error code from codetag_load_module()
Keywords:
Status: NEW
Alias: CVE-2026-98842
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 16:02 UTC by OSIDB Bzimport
Modified: 2026-10-23 21:46 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 16:02:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.