cve-2024-35996
Vulnerability from cvelistv5
Published
2024-05-20 09:47
Modified
2024-12-19 08:59
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: cpu: Re-enable CPU mitigations by default for !X86 architectures Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it on for all architectures exception x86. A recent commit to turn mitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta missed that "cpu_mitigations" is completely generic, whereas SPECULATION_MITIGATIONS is x86-specific. Rename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it select CPU_MITIGATIONS, as having two configs for the same thing is unnecessary and confusing. This will also allow x86 to use the knob to manage mitigations that aren't strictly related to speculative execution. Use another Kconfig to communicate to common code that CPU_MITIGATIONS is already defined instead of having x86's menu depend on the common CPU_MITIGATIONS. This allows keeping a single point of contact for all of x86's mitigations, and it's not clear that other architectures *want* to allow disabling mitigations at compile-time.
Impacted products
Vendor Product Version
Linux Linux Version: 30da4180fd768973189dc364648f9c436e57b01d
Version: 70688450dddaf91e12fd4fc625da3297025932c9
Version: 9c09773917fbb77dff85b433e1e89123fc5fb530
Version: 2978ee7c973ce81b6e51100ba1e5ae001af624b9
Version: c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb
Version: f337a6a21e2fd67eadea471e93d05dd37baaa9be
Create a notification for this product.
   Linux Linux Version: 5.15.156   
Version: 6.1.87   
Version: 6.6.28   
Version: 6.8.7   
Create a notification for this product.
Show details on NVD website


{
   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",
         },
      ],
      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",
                  },
               ],
            },
         ],
         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: "2024-12-19T08:59:52.685Z",
            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-5f407fcff5a0",
         },
      },
   },
   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: "2024-12-19T08:59:52.685Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-35996\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-20T10:15:13.670\",\"lastModified\":\"2024-11-21T09:21:23.480\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: cpu: vuelva a habilitar las mitigaciones de CPU de forma predeterminada para arquitecturas !X86. Cambie el nombre de x86 a CPU_MITIGATION, defínalo en código genérico y fuércelo para todas las arquitecturas con excepción de x86. Una confirmación reciente para desactivar las mitigaciones de forma predeterminada si SPECULATION_MITIGATION=n pasó por alto que \\\"cpu_mitigations\\\" es completamente genérico, mientras que SPECULATION_MITIGATIONS es específico de x86. Cambie el nombre de SPECULATIVE_MITIGATION de x86 en lugar de conservar ambos y haga que seleccione CPU_MITIGATION, ya que tener dos configuraciones para lo mismo es innecesario y confuso. Esto también permitirá que x86 use la perilla para administrar mitigaciones que no están estrictamente relacionadas con la ejecución especulativa. Utilice otro Kconfig para comunicar al código común que CPU_MITIGACIONES ya está definida en lugar de que el menú de x86 dependa de CPU_MITIGACIONES comunes. Esto permite mantener un único punto de contacto para todas las mitigaciones de x86, y no está claro que otras arquitecturas *quieran* permitir deshabilitar las mitigaciones en tiempo de compilación.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"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\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:30:12.399Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35996\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-17T17:38:11.111508Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-17T17:38:12.375Z\"}}], \"cna\": {\"title\": \"cpu: Re-enable CPU mitigations by default for !X86 architectures\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"30da4180fd76\", \"lessThan\": \"af6d6a923b40\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"70688450ddda\", \"lessThan\": \"36b32816fbab\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9c09773917fb\", \"lessThan\": \"38f17d1fbb5b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2978ee7c973c\", \"lessThan\": \"8292f4f8dd1b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c4a9babdd5d5\", \"lessThan\": \"fd8547ebc187\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f337a6a21e2f\", \"lessThan\": \"fe42754b94a4\", \"versionType\": \"git\"}], \"programFiles\": [\"arch/Kconfig\", \"arch/x86/Kconfig\", \"kernel/cpu.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.15.156\", \"lessThan\": \"5.15.158\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"6.1.87\", \"lessThan\": \"6.1.90\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"6.6.28\", \"lessThan\": \"6.6.30\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"6.8.7\", \"lessThan\": \"6.8.9\", \"versionType\": \"custom\"}], \"programFiles\": [\"arch/Kconfig\", \"arch/x86/Kconfig\", \"kernel/cpu.c\"], \"defaultStatus\": \"unaffected\"}], \"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\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\"}], \"x_generator\": {\"engine\": \"bippy-a5840b7849dd\"}, \"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\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-05-29T05:32:39.367Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-35996\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T03:30:12.399Z\", \"dateReserved\": \"2024-05-17T13:50:33.148Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-20T09:47:59.713Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.