{"api_version":"1","generated_at":"2026-05-12T23:15:47+00:00","cve":"CVE-2024-35996","urls":{"html":"https://cve.report/CVE-2024-35996","api":"https://cve.report/api/cve/CVE-2024-35996.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-35996","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-35996"},"summary":{"title":"cpu: Re-enable CPU mitigations by default for !X86 architectures","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpu: Re-enable CPU mitigations by default for !X86 architectures\n\nRename x86's to CPU_MITIGATIONS, define it in generic code, and force it\non for all architectures exception x86.  A recent commit to turn\nmitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta\nmissed that \"cpu_mitigations\" is completely generic, whereas\nSPECULATION_MITIGATIONS is x86-specific.\n\nRename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it\nselect CPU_MITIGATIONS, as having two configs for the same thing is\nunnecessary and confusing.  This will also allow x86 to use the knob to\nmanage mitigations that aren't strictly related to speculative\nexecution.\n\nUse another Kconfig to communicate to common code that CPU_MITIGATIONS\nis already defined instead of having x86's menu depend on the common\nCPU_MITIGATIONS.  This allows keeping a single point of contact for all\nof x86's mitigations, and it's not clear that other architectures *want*\nto allow disabling mitigations at compile-time.","state":"PUBLISHED","assigner":"Linux","published_at":"2024-05-20 10:15:13","updated_at":"2026-05-12 12:16:46"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","name":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49","name":"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631","name":"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f","name":"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9","name":"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a","name":"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f","name":"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-35996","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35996","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 30da4180fd768973189dc364648f9c436e57b01d af6d6a923b40bf6471e44067ac61cc5814b48e7f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 70688450dddaf91e12fd4fc625da3297025932c9 36b32816fbab267611f073223f1b0b816ec5920f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9c09773917fbb77dff85b433e1e89123fc5fb530 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2978ee7c973ce81b6e51100ba1e5ae001af624b9 8292f4f8dd1b005d0688d726261004f816ef730a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb fd8547ebc187037cc69441a15c1441aeaab80f49 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f337a6a21e2fd67eadea471e93d05dd37baaa9be fe42754b94a42d08cf9501790afc25c4f6a5f631 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.156 5.15.158 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.87 6.1.90 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.28 6.6.30 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.8.7 6.8.9 semver","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM RST2428P","version":"affected V3.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family","version":"unaffected * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SCALANCE XCM-/XRM-/XCH-/XRH-300 family","version":"affected V3.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","version":"affected * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"35996","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2024-35996","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-06-17T17:38:11.111508Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-06-17T17:40:17.312Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2024-08-02T03:30:12.399Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631"},{"tags":["x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"}],"title":"CVE Program Container"},{"affected":[{"defaultStatus":"unknown","product":"RUGGEDCOM RST2428P","vendor":"Siemens","versions":[{"lessThan":"V3.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family","vendor":"Siemens","versions":[{"lessThan":"*","status":"unaffected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SCALANCE XCM-/XRM-/XCH-/XRH-300 family","vendor":"Siemens","versions":[{"lessThan":"V3.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T11:53:31.022Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/Kconfig","arch/x86/Kconfig","kernel/cpu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"af6d6a923b40bf6471e44067ac61cc5814b48e7f","status":"affected","version":"30da4180fd768973189dc364648f9c436e57b01d","versionType":"git"},{"lessThan":"36b32816fbab267611f073223f1b0b816ec5920f","status":"affected","version":"70688450dddaf91e12fd4fc625da3297025932c9","versionType":"git"},{"lessThan":"38f17d1fbb5bfb56ca1419e2d06376d57a9396f9","status":"affected","version":"9c09773917fbb77dff85b433e1e89123fc5fb530","versionType":"git"},{"lessThan":"8292f4f8dd1b005d0688d726261004f816ef730a","status":"affected","version":"2978ee7c973ce81b6e51100ba1e5ae001af624b9","versionType":"git"},{"lessThan":"fd8547ebc187037cc69441a15c1441aeaab80f49","status":"affected","version":"c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb","versionType":"git"},{"lessThan":"fe42754b94a42d08cf9501790afc25c4f6a5f631","status":"affected","version":"f337a6a21e2fd67eadea471e93d05dd37baaa9be","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/Kconfig","arch/x86/Kconfig","kernel/cpu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5.15.158","status":"affected","version":"5.15.156","versionType":"semver"},{"lessThan":"6.1.90","status":"affected","version":"6.1.87","versionType":"semver"},{"lessThan":"6.6.30","status":"affected","version":"6.6.28","versionType":"semver"},{"lessThan":"6.8.9","status":"affected","version":"6.8.7","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.158","versionStartIncluding":"5.15.156","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.90","versionStartIncluding":"6.1.87","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.30","versionStartIncluding":"6.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.8.9","versionStartIncluding":"6.8.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpu: Re-enable CPU mitigations by default for !X86 architectures\n\nRename x86's to CPU_MITIGATIONS, define it in generic code, and force it\non for all architectures exception x86.  A recent commit to turn\nmitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta\nmissed that \"cpu_mitigations\" is completely generic, whereas\nSPECULATION_MITIGATIONS is x86-specific.\n\nRename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it\nselect CPU_MITIGATIONS, as having two configs for the same thing is\nunnecessary and confusing.  This will also allow x86 to use the knob to\nmanage mitigations that aren't strictly related to speculative\nexecution.\n\nUse another Kconfig to communicate to common code that CPU_MITIGATIONS\nis already defined instead of having x86's menu depend on the common\nCPU_MITIGATIONS.  This allows keeping a single point of contact for all\nof x86's mitigations, and it's not clear that other architectures *want*\nto allow disabling mitigations at compile-time."}],"providerMetadata":{"dateUpdated":"2026-05-11T20:15:17.480Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f"},{"url":"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f"},{"url":"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9"},{"url":"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a"},{"url":"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49"},{"url":"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631"}],"title":"cpu: Re-enable CPU mitigations by default for !X86 architectures","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-35996","datePublished":"2024-05-20T09:47:59.713Z","dateReserved":"2024-05-17T13:50:33.148Z","dateUpdated":"2026-05-12T11:53:31.022Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-05-20 10:15:13","lastModifiedDate":"2026-05-12 12:16:46","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.156","versionEndExcluding":"5.15.158","matchCriteriaId":"21FA304C-380A-438A-B733-D20C6EBA394D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.87","versionEndExcluding":"6.1.90","matchCriteriaId":"D90BF664-4640-44A4-BF67-7A31062CD11F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.28","versionEndExcluding":"6.6.30","matchCriteriaId":"5CA8832E-D841-442C-9967-3661D9C65D66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8.7","versionEndExcluding":"6.8.9","matchCriteriaId":"C8387EC1-D916-4DAD-9540-806FFC120E90"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*","matchCriteriaId":"A06B2CCF-3F43-4FA9-8773-C83C3F5764B2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*","matchCriteriaId":"F850DCEC-E08B-4317-A33B-D2DCF39F601B"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","matchCriteriaId":"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"35996","Ordinal":"1","Title":"cpu: Re-enable CPU mitigations by default for !X86 architectures","CVE":"CVE-2024-35996","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"35996","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpu: Re-enable CPU mitigations by default for !X86 architectures\n\nRename x86's to CPU_MITIGATIONS, define it in generic code, and force it\non for all architectures exception x86.  A recent commit to turn\nmitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta\nmissed that \"cpu_mitigations\" is completely generic, whereas\nSPECULATION_MITIGATIONS is x86-specific.\n\nRename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it\nselect CPU_MITIGATIONS, as having two configs for the same thing is\nunnecessary and confusing.  This will also allow x86 to use the knob to\nmanage mitigations that aren't strictly related to speculative\nexecution.\n\nUse another Kconfig to communicate to common code that CPU_MITIGATIONS\nis already defined instead of having x86's menu depend on the common\nCPU_MITIGATIONS.  This allows keeping a single point of contact for all\nof x86's mitigations, and it's not clear that other architectures *want*\nto allow disabling mitigations at compile-time.","Type":"Description","Title":"cpu: Re-enable CPU mitigations by default for !X86 architectures"}]}}}