{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39681","id":"CVE-2025-39681","title":"x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper\n\nSince\n\n  923f3a2b48bd (\"x86/resctrl: Query LLC monitoring properties once during boot\")\n\nresctrl_cpu_detect() has been moved from common CPU initialization code to\nthe vendor-specific BSP init helper, while Hygon didn't put that call in their\ncode.\n\nThis triggers","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper\n\nSince\n\n  923f3a2b48bd (\"x86/resctrl: Query LLC monitoring properties once during boot\")\n\nresctrl_cpu_detect() has been moved from common CPU initialization code to\nthe vendor-specific BSP init helper, while Hygon didn't put that call in their\ncode.\n\nThis triggers a division by zero fault during early booting stage on our\nmachines with X86_FEATURE_CQM* supported, where get_rdt_mon_resources() tries\nto calculate mon_l3_config with uninitialized boot_cpu_data.x86_cache_occ_scale.\n\nAdd the missing resctrl_cpu_detect() in the Hygon BSP init helper.\n\n  [ bp: Massage commit message. ]","published":"2025-09-05T17:20:47.564Z","updated":"2026-11-12T02:30:53.219489552Z","reserved":"2025-04-16T07:20:57.113Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"62f12cde10118253348a7540e85606869bd69432","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"873f32201df8876bdb2563e3187e79149427cab4","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"fb81222c1559f89bfe3aa1010f6d112531d55353","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"7207923d8453ebfb35667c1736169f2dd796772e","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"a9e5924daa954c9f585c1ca00358afe71d6781c4","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"d23264c257a70dbe021b43b3bc2ee16134cd2c69","status":"affected","versionType":"git"},{"version":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","lessThan":"d8df126349dad855cdfedd6bbf315bad2e901c2f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.242","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.44","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.4","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/62f12cde10118253348a7540e85606869bd69432","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/873f32201df8876bdb2563e3187e79149427cab4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb81222c1559f89bfe3aa1010f6d112531d55353","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7207923d8453ebfb35667c1736169f2dd796772e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a9e5924daa954c9f585c1ca00358afe71d6781c4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d23264c257a70dbe021b43b3bc2ee16134cd2c69","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d8df126349dad855cdfedd6bbf315bad2e901c2f","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39681.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39681","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00183,"epssPercentile":0.08006,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39681","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39681","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39681","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39681","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}