{"id":"CVE-2026-68185","state":"PUBLISHED","title":"LoongArch: Move jump_label_init() before parse_early_param()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Move jump_label_init() before parse_early_param()\n\nWhen enabling both CONFIG_MEM_ALLOC_PROFILING=y and\nCONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT=y, then diabling memory\nprofiling by adding the boot parameter 'sysctl.vm.mem_profiling=0' will\ncause the kernel failed to boot.\n\nAfter analysis, this is because jump_label_init() must be called before\nparse_early_param(), the early param handlers may modify static keys by\nstatic_branch_enable/disable().\n\nFix this by moving jump_label_init() to before parse_early_param(). The\nsolution is similar to other architectures.","publishedAt":"2026-08-10T11:59:57.327Z","updatedAt":"2026-10-30T12:28:07.474Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"02f993165fdbba98dd6a9ec230a3deda891bb9f2","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"1d0b99ef7fcb6cef1df273872059bf854814500e","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"4b40e590efb350c54480d7e883f054d3609a94c6","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"38b025fcdc45bdf5140a5726a1fbb2e694ea047b","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"881e9f3c4e117b100880b1c5de3a0da8e455a78f","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"ea68d444a658783234a06f05414e41cf93a18fb2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kernel/setup.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kernel/setup.c"]}],"references":["https://git.kernel.org/stable/c/02f993165fdbba98dd6a9ec230a3deda891bb9f2","https://git.kernel.org/stable/c/1d0b99ef7fcb6cef1df273872059bf854814500e","https://git.kernel.org/stable/c/4b40e590efb350c54480d7e883f054d3609a94c6","https://git.kernel.org/stable/c/38b025fcdc45bdf5140a5726a1fbb2e694ea047b","https://git.kernel.org/stable/c/881e9f3c4e117b100880b1c5de3a0da8e455a78f","https://git.kernel.org/stable/c/ea68d444a658783234a06f05414e41cf93a18fb2"],"weaknesses":[],"ingestedAt":"2026-10-30T12:46:06.359Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68185.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68185","state":"PUBLISHED","datePublished":"2026-08-10T11:59:57.327Z","dateUpdated":"2026-10-30T12:28:07.474Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.373Z"},"containers":{"cna":{"title":"LoongArch: Move jump_label_init() before parse_early_param()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Move jump_label_init() before parse_early_param()\n\nWhen enabling both CONFIG_MEM_ALLOC_PROFILING=y and\nCONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT=y, then diabling memory\nprofiling by adding the boot parameter 'sysctl.vm.mem_profiling=0' will\ncause the kernel failed to boot.\n\nAfter analysis, this is because jump_label_init() must be called before\nparse_early_param(), the early param handlers may modify static keys by\nstatic_branch_enable/disable().\n\nFix this by moving jump_label_init() to before parse_early_param(). The\nsolution is similar to other architectures."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"02f993165fdbba98dd6a9ec230a3deda891bb9f2","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"1d0b99ef7fcb6cef1df273872059bf854814500e","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"4b40e590efb350c54480d7e883f054d3609a94c6","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"38b025fcdc45bdf5140a5726a1fbb2e694ea047b","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"881e9f3c4e117b100880b1c5de3a0da8e455a78f","versionType":"git"},{"version":"628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2","status":"affected","lessThan":"ea68d444a658783234a06f05414e41cf93a18fb2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kernel/setup.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kernel/setup.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/02f993165fdbba98dd6a9ec230a3deda891bb9f2"},{"url":"https://git.kernel.org/stable/c/1d0b99ef7fcb6cef1df273872059bf854814500e"},{"url":"https://git.kernel.org/stable/c/4b40e590efb350c54480d7e883f054d3609a94c6"},{"url":"https://git.kernel.org/stable/c/38b025fcdc45bdf5140a5726a1fbb2e694ea047b"},{"url":"https://git.kernel.org/stable/c/881e9f3c4e117b100880b1c5de3a0da8e455a78f"},{"url":"https://git.kernel.org/stable/c/ea68d444a658783234a06f05414e41cf93a18fb2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:28:07.474Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}