{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-98842", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.373Z", "datePublished": "2026-10-18T15:50:19.217Z", "dateUpdated": "2026-10-19T09:26:34.441Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-10-19T09:26:34.441Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmodule: fix lost error code from codetag_load_module()\n\nIf codetag_load_module() fails, err is not set to reflect the failure\nand load_module() returns 0 after the module has been torn down.\n\nAlso, if the module is a livepatch, mod->klp_info allocated by\ncopy_module_elf() leaks on this error path. Free it via a new\nlivepatch_cleanup label." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "kernel/module/main.c" ], "versions": [ { "version": "044d2aee6c575231ed4a24fb3d119bad0937488b", "lessThan": "258310d59a82ea4854bfd9138682bbaac1153b19", "status": "affected", "versionType": "git" }, { "version": "044d2aee6c575231ed4a24fb3d119bad0937488b", "lessThan": "bfc721eef5c13704efe6864c7da2ad4b0d75f60a", "status": "affected", "versionType": "git" }, { "version": "044d2aee6c575231ed4a24fb3d119bad0937488b", "lessThan": "c79cf15eb35a4c703bf18f8c33c47e80dd660f8e", "status": "affected", "versionType": "git" }, { "version": "b6bbbb8ef48dde09c0dbd77121fa0f09b0237fec", "status": "affected", "versionType": "git" }, { "version": "6.15.4", "lessThan": "6.16", "status": "affected", "versionType": "semver" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "kernel/module/main.c" ], "versions": [ { "version": "6.16", "status": "affected" }, { "version": "0", "lessThan": "6.16", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.56", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.2.10", "lessThanOrEqual": "7.2.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "6.18.56" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "7.2.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "7.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.15.4" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/258310d59a82ea4854bfd9138682bbaac1153b19" }, { "url": "https://git.kernel.org/stable/c/bfc721eef5c13704efe6864c7da2ad4b0d75f60a" }, { "url": "https://git.kernel.org/stable/c/c79cf15eb35a4c703bf18f8c33c47e80dd660f8e" } ], "title": "module: fix lost error code from codetag_load_module()", "x_generator": { "engine": "bippy-1.2.0" } } } }