← Back to CVE Explorer

CVE-2026-68185

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Move jump_label_init() before parse_early_param() When enabling both CONFIG_MEM_ALLOC_PROFILING=y and CONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT=y, then diabling memory profiling by adding the boot parameter 'sysctl.vm.mem_profiling=0' will cause the kernel failed to boot. After analysis, this is because jump_label_init() must be called before parse_early_param(), the early param handlers may modify static keys by static_branch_enable/disable(). Fix this by moving jump_label_init() to before parse_early_param(). The solution is similar to other architectures.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-08-10 13:20:05.623000
Last modified
2026-10-30 13:19:41.417000
View original CVE JSON
{
  "id": "CVE-2026-68185",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-08-10T13:20:05.623",
  "lastModified": "2026-10-30T13:19:41.417",
  "vulnStatus": "Received",
  "cveTags": [],
  "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": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "arch/loongarch/kernel/setup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "02f993165fdbba98dd6a9ec230a3deda891bb9f2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "1d0b99ef7fcb6cef1df273872059bf854814500e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "4b40e590efb350c54480d7e883f054d3609a94c6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "38b025fcdc45bdf5140a5726a1fbb2e694ea047b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "881e9f3c4e117b100880b1c5de3a0da8e455a78f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2",
              "lessThan": "ea68d444a658783234a06f05414e41cf93a18fb2",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "arch/loongarch/kernel/setup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.19",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.19",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.101",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.42",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1.6",
              "lessThanOrEqual": "7.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/02f993165fdbba98dd6a9ec230a3deda891bb9f2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1d0b99ef7fcb6cef1df273872059bf854814500e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/38b025fcdc45bdf5140a5726a1fbb2e694ea047b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4b40e590efb350c54480d7e883f054d3609a94c6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/881e9f3c4e117b100880b1c5de3a0da8e455a78f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ea68d444a658783234a06f05414e41cf93a18fb2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}