GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-43874 (GCVE-0-2024-43874)

Vulnerability from cvelistv5 – Published: 2024-08-21 00:06 – Updated: 2026-05-11 20:31
VLAI
Title
crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked Fix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE. Return from __sev_snp_shutdown_locked() if the psp_device or the sev_device structs are not initialized. Without the fix, the driver will produce the following splat: ccp 0000:55:00.5: enabling device (0000 -> 0002) ccp 0000:55:00.5: sev enabled ccp 0000:55:00.5: psp enabled BUG: kernel NULL pointer dereference, address: 00000000000000f0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI CPU: 262 PID: 1 Comm: swapper/0 Not tainted 6.9.0-rc1+ #29 RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150 Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 <4c> 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808 RBP: ffffb2ea4014b7e8 R08: 0000000000000106 R09: 000000000003d9c0 R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8 R13: 0000000000000000 R14: ffffb2ea4014b808 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9e58b1e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 0000000000770ef0 PKRU: 55555554 Call Trace: <TASK> ? __die_body+0x6f/0xb0 ? __die+0xcc/0xf0 ? page_fault_oops+0x330/0x3a0 ? save_trace+0x2a5/0x360 ? do_user_addr_fault+0x583/0x630 ? exc_page_fault+0x81/0x120 ? asm_exc_page_fault+0x2b/0x30 ? __sev_snp_shutdown_locked+0x2e/0x150 __sev_firmware_shutdown+0x349/0x5b0 ? pm_runtime_barrier+0x66/0xe0 sev_dev_destroy+0x34/0xb0 psp_dev_destroy+0x27/0x60 sp_destroy+0x39/0x90 sp_pci_remove+0x22/0x60 pci_device_remove+0x4e/0x110 really_probe+0x271/0x4e0 __driver_probe_device+0x8f/0x160 driver_probe_device+0x24/0x120 __driver_attach+0xc7/0x280 ? driver_attach+0x30/0x30 bus_for_each_dev+0x10d/0x130 driver_attach+0x22/0x30 bus_add_driver+0x171/0x2b0 ? unaccepted_memory_init_kdump+0x20/0x20 driver_register+0x67/0x100 __pci_register_driver+0x83/0x90 sp_pci_init+0x22/0x30 sp_mod_init+0x13/0x30 do_one_initcall+0xb8/0x290 ? sched_clock_noinstr+0xd/0x10 ? local_clock_noinstr+0x3e/0x100 ? stack_depot_save_flags+0x21e/0x6a0 ? local_clock+0x1c/0x60 ? stack_depot_save_flags+0x21e/0x6a0 ? sched_clock_noinstr+0xd/0x10 ? local_clock_noinstr+0x3e/0x100 ? __lock_acquire+0xd90/0xe30 ? sched_clock_noinstr+0xd/0x10 ? local_clock_noinstr+0x3e/0x100 ? __create_object+0x66/0x100 ? local_clock+0x1c/0x60 ? __create_object+0x66/0x100 ? parameq+0x1b/0x90 ? parse_one+0x6d/0x1d0 ? parse_args+0xd7/0x1f0 ? do_initcall_level+0x180/0x180 do_initcall_level+0xb0/0x180 do_initcalls+0x60/0xa0 ? kernel_init+0x1f/0x1d0 do_basic_setup+0x41/0x50 kernel_init_freeable+0x1ac/0x230 ? rest_init+0x1f0/0x1f0 kernel_init+0x1f/0x1d0 ? rest_init+0x1f0/0x1f0 ret_from_fork+0x3d/0x50 ? rest_init+0x1f0/0x1f0 ret_from_fork_asm+0x11/0x20 </TASK> Modules linked in: CR2: 00000000000000f0 ---[ end trace 0000000000000000 ]--- RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150 Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 <4c> 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000 RDX: 0000000 ---truncated---
Severity
No CVSS data available.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-09-10 16:06 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 , < bbf2c94503f6a421ed9b79e300d8085810da765d (git)
Affected: 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 , < 468e3295774d0edce15f4ae475913b5076dd4f40 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.10.3 , ≤ 6.10.* (semver)
Unaffected: 6.11 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-43874",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:06:10.385758Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-12T17:33:18.142Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/ccp/sev-dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bbf2c94503f6a421ed9b79e300d8085810da765d",
              "status": "affected",
              "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
              "versionType": "git"
            },
            {
              "lessThan": "468e3295774d0edce15f4ae475913b5076dd4f40",
              "status": "affected",
              "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/ccp/sev-dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.3",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked\n\nFix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE.\nReturn from __sev_snp_shutdown_locked() if the psp_device or the\nsev_device structs are not initialized. Without the fix, the driver will\nproduce the following splat:\n\n   ccp 0000:55:00.5: enabling device (0000 -\u003e 0002)\n   ccp 0000:55:00.5: sev enabled\n   ccp 0000:55:00.5: psp enabled\n   BUG: kernel NULL pointer dereference, address: 00000000000000f0\n   #PF: supervisor read access in kernel mode\n   #PF: error_code(0x0000) - not-present page\n   PGD 0 P4D 0\n   Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI\n   CPU: 262 PID: 1 Comm: swapper/0 Not tainted 6.9.0-rc1+ #29\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\n   RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808\n   RBP: ffffb2ea4014b7e8 R08: 0000000000000106 R09: 000000000003d9c0\n   R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8\n   R13: 0000000000000000 R14: ffffb2ea4014b808 R15: 0000000000000000\n   FS:  0000000000000000(0000) GS:ffff9e58b1e00000(0000) knlGS:0000000000000000\n   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n   CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 0000000000770ef0\n   PKRU: 55555554\n   Call Trace:\n    \u003cTASK\u003e\n    ? __die_body+0x6f/0xb0\n    ? __die+0xcc/0xf0\n    ? page_fault_oops+0x330/0x3a0\n    ? save_trace+0x2a5/0x360\n    ? do_user_addr_fault+0x583/0x630\n    ? exc_page_fault+0x81/0x120\n    ? asm_exc_page_fault+0x2b/0x30\n    ? __sev_snp_shutdown_locked+0x2e/0x150\n    __sev_firmware_shutdown+0x349/0x5b0\n    ? pm_runtime_barrier+0x66/0xe0\n    sev_dev_destroy+0x34/0xb0\n    psp_dev_destroy+0x27/0x60\n    sp_destroy+0x39/0x90\n    sp_pci_remove+0x22/0x60\n    pci_device_remove+0x4e/0x110\n    really_probe+0x271/0x4e0\n    __driver_probe_device+0x8f/0x160\n    driver_probe_device+0x24/0x120\n    __driver_attach+0xc7/0x280\n    ? driver_attach+0x30/0x30\n    bus_for_each_dev+0x10d/0x130\n    driver_attach+0x22/0x30\n    bus_add_driver+0x171/0x2b0\n    ? unaccepted_memory_init_kdump+0x20/0x20\n    driver_register+0x67/0x100\n    __pci_register_driver+0x83/0x90\n    sp_pci_init+0x22/0x30\n    sp_mod_init+0x13/0x30\n    do_one_initcall+0xb8/0x290\n    ? sched_clock_noinstr+0xd/0x10\n    ? local_clock_noinstr+0x3e/0x100\n    ? stack_depot_save_flags+0x21e/0x6a0\n    ? local_clock+0x1c/0x60\n    ? stack_depot_save_flags+0x21e/0x6a0\n    ? sched_clock_noinstr+0xd/0x10\n    ? local_clock_noinstr+0x3e/0x100\n    ? __lock_acquire+0xd90/0xe30\n    ? sched_clock_noinstr+0xd/0x10\n    ? local_clock_noinstr+0x3e/0x100\n    ? __create_object+0x66/0x100\n    ? local_clock+0x1c/0x60\n    ? __create_object+0x66/0x100\n    ? parameq+0x1b/0x90\n    ? parse_one+0x6d/0x1d0\n    ? parse_args+0xd7/0x1f0\n    ? do_initcall_level+0x180/0x180\n    do_initcall_level+0xb0/0x180\n    do_initcalls+0x60/0xa0\n    ? kernel_init+0x1f/0x1d0\n    do_basic_setup+0x41/0x50\n    kernel_init_freeable+0x1ac/0x230\n    ? rest_init+0x1f0/0x1f0\n    kernel_init+0x1f/0x1d0\n    ? rest_init+0x1f0/0x1f0\n    ret_from_fork+0x3d/0x50\n    ? rest_init+0x1f0/0x1f0\n    ret_from_fork_asm+0x11/0x20\n    \u003c/TASK\u003e\n   Modules linked in:\n   CR2: 00000000000000f0\n   ---[ end trace 0000000000000000 ]---\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\n   RDX: 0000000\n---truncated---"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T20:31:29.822Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bbf2c94503f6a421ed9b79e300d8085810da765d"
        },
        {
          "url": "https://git.kernel.org/stable/c/468e3295774d0edce15f4ae475913b5076dd4f40"
        }
      ],
      "title": "crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-43874",
    "datePublished": "2024-08-21T00:06:26.153Z",
    "dateReserved": "2024-08-17T09:11:59.281Z",
    "dateUpdated": "2026-05-11T20:31:29.822Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-43874",
      "date": "2026-09-16",
      "epss": "0.0018",
      "percentile": "0.07819"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.9\", \"versionEndExcluding\": \"6.10.3\", \"matchCriteriaId\": \"3332351F-A9A1-4AD4-BEDB-5B3BBD5B7279\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked\\n\\nFix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE.\\nReturn from __sev_snp_shutdown_locked() if the psp_device or the\\nsev_device structs are not initialized. Without the fix, the driver will\\nproduce the following splat:\\n\\n   ccp 0000:55:00.5: enabling device (0000 -\u003e 0002)\\n   ccp 0000:55:00.5: sev enabled\\n   ccp 0000:55:00.5: psp enabled\\n   BUG: kernel NULL pointer dereference, address: 00000000000000f0\\n   #PF: supervisor read access in kernel mode\\n   #PF: error_code(0x0000) - not-present page\\n   PGD 0 P4D 0\\n   Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI\\n   CPU: 262 PID: 1 Comm: swapper/0 Not tainted 6.9.0-rc1+ #29\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808\\n   RBP: ffffb2ea4014b7e8 R08: 0000000000000106 R09: 000000000003d9c0\\n   R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8\\n   R13: 0000000000000000 R14: ffffb2ea4014b808 R15: 0000000000000000\\n   FS:  0000000000000000(0000) GS:ffff9e58b1e00000(0000) knlGS:0000000000000000\\n   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\n   CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 0000000000770ef0\\n   PKRU: 55555554\\n   Call Trace:\\n    \u003cTASK\u003e\\n    ? __die_body+0x6f/0xb0\\n    ? __die+0xcc/0xf0\\n    ? page_fault_oops+0x330/0x3a0\\n    ? save_trace+0x2a5/0x360\\n    ? do_user_addr_fault+0x583/0x630\\n    ? exc_page_fault+0x81/0x120\\n    ? asm_exc_page_fault+0x2b/0x30\\n    ? __sev_snp_shutdown_locked+0x2e/0x150\\n    __sev_firmware_shutdown+0x349/0x5b0\\n    ? pm_runtime_barrier+0x66/0xe0\\n    sev_dev_destroy+0x34/0xb0\\n    psp_dev_destroy+0x27/0x60\\n    sp_destroy+0x39/0x90\\n    sp_pci_remove+0x22/0x60\\n    pci_device_remove+0x4e/0x110\\n    really_probe+0x271/0x4e0\\n    __driver_probe_device+0x8f/0x160\\n    driver_probe_device+0x24/0x120\\n    __driver_attach+0xc7/0x280\\n    ? driver_attach+0x30/0x30\\n    bus_for_each_dev+0x10d/0x130\\n    driver_attach+0x22/0x30\\n    bus_add_driver+0x171/0x2b0\\n    ? unaccepted_memory_init_kdump+0x20/0x20\\n    driver_register+0x67/0x100\\n    __pci_register_driver+0x83/0x90\\n    sp_pci_init+0x22/0x30\\n    sp_mod_init+0x13/0x30\\n    do_one_initcall+0xb8/0x290\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? local_clock+0x1c/0x60\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __lock_acquire+0xd90/0xe30\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __create_object+0x66/0x100\\n    ? local_clock+0x1c/0x60\\n    ? __create_object+0x66/0x100\\n    ? parameq+0x1b/0x90\\n    ? parse_one+0x6d/0x1d0\\n    ? parse_args+0xd7/0x1f0\\n    ? do_initcall_level+0x180/0x180\\n    do_initcall_level+0xb0/0x180\\n    do_initcalls+0x60/0xa0\\n    ? kernel_init+0x1f/0x1d0\\n    do_basic_setup+0x41/0x50\\n    kernel_init_freeable+0x1ac/0x230\\n    ? rest_init+0x1f0/0x1f0\\n    kernel_init+0x1f/0x1d0\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork+0x3d/0x50\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork_asm+0x11/0x20\\n    \u003c/TASK\u003e\\n   Modules linked in:\\n   CR2: 00000000000000f0\\n   ---[ end trace 0000000000000000 ]---\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000\\n---truncated---\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: ccp - Se corrige la desreferencia del puntero nulo en __sev_snp_shutdown_locked Se corrige la desreferencia del puntero nulo inducida por DEBUG_TEST_DRIVER_REMOVE. Regresa desde __sev_snp_shutdown_locked() si las estructuras psp_device o sev_device no est\\u00e1n inicializadas. Sin la soluci\\u00f3n, el controlador producir\\u00e1 el siguiente s\\u00edmbolo: ccp 0000:55:00.5: dispositivo de habilitaci\\u00f3n (0000 -\u0026gt; 0002) ccp 0000:55:00.5: sev habilitado ccp 0000:55:00.5: psp habilitado ERROR: puntero NULL del kernel desreferencia, direcci\\u00f3n: 00000000000000f0 #PF: acceso de lectura del supervisor en modo kernel #PF: error_code(0x0000) - p\\u00e1gina no presente PGD 0 P4D 0 Ups: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI CPU: 262 PID: 1 Comm: swapper /0 No contaminado 6.9.0-rc1+ #29 RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150 C\\u00f3digo: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u0026lt;4c\u0026gt; 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX : ffff9e4acd2e0a28 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808 RBP: ffffb2ea4014b7e8 R08: 00000106 R09: 000000000003d9c0 R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8 R13: 0000000000000000 R14: ffffb2ea4014b808 R 15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9e58b1e00000 (0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 70ef0 PKRU: 55555554 Seguimiento de llamadas:  ? __die_body+0x6f/0xb0 ? __die+0xcc/0xf0 ? page_fault_oops+0x330/0x3a0? save_trace+0x2a5/0x360? do_user_addr_fault+0x583/0x630? exc_page_fault+0x81/0x120? asm_exc_page_fault+0x2b/0x30? __sev_snp_shutdown_locked+0x2e/0x150 __sev_firmware_shutdown+0x349/0x5b0 ? pm_runtime_barrier+0x66/0xe0 sev_dev_destroy+0x34/0xb0 psp_dev_destroy+0x27/0x60 sp_destroy+0x39/0x90 sp_pci_remove+0x22/0x60 pci_device_remove+0x4e/0x110 Actually_probe+0x271/0x4 e0 __driver_probe_device+0x8f/0x160 driver_probe_device+0x24/0x120 __driver_attach+0xc7/0x280 ? driver_attach+0x30/0x30 bus_for_each_dev+0x10d/0x130 driver_attach+0x22/0x30 bus_add_driver+0x171/0x2b0? unaccepted_memory_init_kdump+0x20/0x20 driver_register+0x67/0x100 __pci_register_driver+0x83/0x90 sp_pci_init+0x22/0x30 sp_mod_init+0x13/0x30 do_one_initcall+0xb8/0x290 ? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? stack_depot_save_flags+0x21e/0x6a0? reloj_local+0x1c/0x60? stack_depot_save_flags+0x21e/0x6a0? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? __lock_acquire+0xd90/0xe30? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? __create_object+0x66/0x100? reloj_local+0x1c/0x60? __create_object+0x66/0x100? parameq+0x1b/0x90 ? parse_one+0x6d/0x1d0? parse_args+0xd7/0x1f0? do_initcall_level+0x180/0x180 do_initcall_level+0xb0/0x180 do_initcalls+0x60/0xa0 ? kernel_init+0x1f/0x1d0 do_basic_setup+0x41/0x50 kernel_init_freeable+0x1ac/0x230 ? rest_init+0x1f0/0x1f0 kernel_init+0x1f/0x1d0? rest_init+0x1f0/0x1f0 ret_from_fork+0x3d/0x50 ? rest_init+0x1f0/0x1f0 ret_from_fork_asm+0x11/0x20  M\\u00f3dulos vinculados en: CR2: 00000000000000f0 ---[ seguimiento final 0000000000000000 ]--- RIP:__sev_snp_shutdown_locked+0x2e/0 x150 C\\u00f3digo: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u0026lt;4c\u0026gt; 8b a0 f0 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000 : 0000000 ---truncado---\"}]",
      "id": "CVE-2024-43874",
      "lastModified": "2024-09-03T13:26:33.563",
      "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}]}",
      "published": "2024-08-21T01:15:11.843",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/468e3295774d0edce15f4ae475913b5076dd4f40\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/bbf2c94503f6a421ed9b79e300d8085810da765d\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Analyzed",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-476\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-43874\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-08-21T01:15:11.843\",\"lastModified\":\"2026-06-17T07:51:54.133\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked\\n\\nFix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE.\\nReturn from __sev_snp_shutdown_locked() if the psp_device or the\\nsev_device structs are not initialized. Without the fix, the driver will\\nproduce the following splat:\\n\\n   ccp 0000:55:00.5: enabling device (0000 -\u003e 0002)\\n   ccp 0000:55:00.5: sev enabled\\n   ccp 0000:55:00.5: psp enabled\\n   BUG: kernel NULL pointer dereference, address: 00000000000000f0\\n   #PF: supervisor read access in kernel mode\\n   #PF: error_code(0x0000) - not-present page\\n   PGD 0 P4D 0\\n   Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI\\n   CPU: 262 PID: 1 Comm: swapper/0 Not tainted 6.9.0-rc1+ #29\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808\\n   RBP: ffffb2ea4014b7e8 R08: 0000000000000106 R09: 000000000003d9c0\\n   R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8\\n   R13: 0000000000000000 R14: ffffb2ea4014b808 R15: 0000000000000000\\n   FS:  0000000000000000(0000) GS:ffff9e58b1e00000(0000) knlGS:0000000000000000\\n   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\n   CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 0000000000770ef0\\n   PKRU: 55555554\\n   Call Trace:\\n    \u003cTASK\u003e\\n    ? __die_body+0x6f/0xb0\\n    ? __die+0xcc/0xf0\\n    ? page_fault_oops+0x330/0x3a0\\n    ? save_trace+0x2a5/0x360\\n    ? do_user_addr_fault+0x583/0x630\\n    ? exc_page_fault+0x81/0x120\\n    ? asm_exc_page_fault+0x2b/0x30\\n    ? __sev_snp_shutdown_locked+0x2e/0x150\\n    __sev_firmware_shutdown+0x349/0x5b0\\n    ? pm_runtime_barrier+0x66/0xe0\\n    sev_dev_destroy+0x34/0xb0\\n    psp_dev_destroy+0x27/0x60\\n    sp_destroy+0x39/0x90\\n    sp_pci_remove+0x22/0x60\\n    pci_device_remove+0x4e/0x110\\n    really_probe+0x271/0x4e0\\n    __driver_probe_device+0x8f/0x160\\n    driver_probe_device+0x24/0x120\\n    __driver_attach+0xc7/0x280\\n    ? driver_attach+0x30/0x30\\n    bus_for_each_dev+0x10d/0x130\\n    driver_attach+0x22/0x30\\n    bus_add_driver+0x171/0x2b0\\n    ? unaccepted_memory_init_kdump+0x20/0x20\\n    driver_register+0x67/0x100\\n    __pci_register_driver+0x83/0x90\\n    sp_pci_init+0x22/0x30\\n    sp_mod_init+0x13/0x30\\n    do_one_initcall+0xb8/0x290\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? local_clock+0x1c/0x60\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __lock_acquire+0xd90/0xe30\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __create_object+0x66/0x100\\n    ? local_clock+0x1c/0x60\\n    ? __create_object+0x66/0x100\\n    ? parameq+0x1b/0x90\\n    ? parse_one+0x6d/0x1d0\\n    ? parse_args+0xd7/0x1f0\\n    ? do_initcall_level+0x180/0x180\\n    do_initcall_level+0xb0/0x180\\n    do_initcalls+0x60/0xa0\\n    ? kernel_init+0x1f/0x1d0\\n    do_basic_setup+0x41/0x50\\n    kernel_init_freeable+0x1ac/0x230\\n    ? rest_init+0x1f0/0x1f0\\n    kernel_init+0x1f/0x1d0\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork+0x3d/0x50\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork_asm+0x11/0x20\\n    \u003c/TASK\u003e\\n   Modules linked in:\\n   CR2: 00000000000000f0\\n   ---[ end trace 0000000000000000 ]---\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000\\n---truncated---\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: ccp - Se corrige la desreferencia del puntero nulo en __sev_snp_shutdown_locked Se corrige la desreferencia del puntero nulo inducida por DEBUG_TEST_DRIVER_REMOVE. Regresa desde __sev_snp_shutdown_locked() si las estructuras psp_device o sev_device no est\u00e1n inicializadas. Sin la soluci\u00f3n, el controlador producir\u00e1 el siguiente s\u00edmbolo: ccp 0000:55:00.5: dispositivo de habilitaci\u00f3n (0000 -\u0026gt; 0002) ccp 0000:55:00.5: sev habilitado ccp 0000:55:00.5: psp habilitado ERROR: puntero NULL del kernel desreferencia, direcci\u00f3n: 00000000000000f0 #PF: acceso de lectura del supervisor en modo kernel #PF: error_code(0x0000) - p\u00e1gina no presente PGD 0 P4D 0 Ups: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI CPU: 262 PID: 1 Comm: swapper /0 No contaminado 6.9.0-rc1+ #29 RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150 C\u00f3digo: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u0026lt;4c\u0026gt; 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX : ffff9e4acd2e0a28 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808 RBP: ffffb2ea4014b7e8 R08: 00000106 R09: 000000000003d9c0 R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8 R13: 0000000000000000 R14: ffffb2ea4014b808 R 15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9e58b1e00000 (0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 70ef0 PKRU: 55555554 Seguimiento de llamadas:  ? __die_body+0x6f/0xb0 ? __die+0xcc/0xf0 ? page_fault_oops+0x330/0x3a0? save_trace+0x2a5/0x360? do_user_addr_fault+0x583/0x630? exc_page_fault+0x81/0x120? asm_exc_page_fault+0x2b/0x30? __sev_snp_shutdown_locked+0x2e/0x150 __sev_firmware_shutdown+0x349/0x5b0 ? pm_runtime_barrier+0x66/0xe0 sev_dev_destroy+0x34/0xb0 psp_dev_destroy+0x27/0x60 sp_destroy+0x39/0x90 sp_pci_remove+0x22/0x60 pci_device_remove+0x4e/0x110 Actually_probe+0x271/0x4 e0 __driver_probe_device+0x8f/0x160 driver_probe_device+0x24/0x120 __driver_attach+0xc7/0x280 ? driver_attach+0x30/0x30 bus_for_each_dev+0x10d/0x130 driver_attach+0x22/0x30 bus_add_driver+0x171/0x2b0? unaccepted_memory_init_kdump+0x20/0x20 driver_register+0x67/0x100 __pci_register_driver+0x83/0x90 sp_pci_init+0x22/0x30 sp_mod_init+0x13/0x30 do_one_initcall+0xb8/0x290 ? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? stack_depot_save_flags+0x21e/0x6a0? reloj_local+0x1c/0x60? stack_depot_save_flags+0x21e/0x6a0? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? __lock_acquire+0xd90/0xe30? sched_clock_noinstr+0xd/0x10? local_clock_noinstr+0x3e/0x100? __create_object+0x66/0x100? reloj_local+0x1c/0x60? __create_object+0x66/0x100? parameq+0x1b/0x90 ? parse_one+0x6d/0x1d0? parse_args+0xd7/0x1f0? do_initcall_level+0x180/0x180 do_initcall_level+0xb0/0x180 do_initcalls+0x60/0xa0 ? kernel_init+0x1f/0x1d0 do_basic_setup+0x41/0x50 kernel_init_freeable+0x1ac/0x230 ? rest_init+0x1f0/0x1f0 kernel_init+0x1f/0x1d0? rest_init+0x1f0/0x1f0 ret_from_fork+0x3d/0x50 ? rest_init+0x1f0/0x1f0 ret_from_fork_asm+0x11/0x20  M\u00f3dulos vinculados en: CR2: 00000000000000f0 ---[ seguimiento final 0000000000000000 ]--- RIP:__sev_snp_shutdown_locked+0x2e/0 x150 C\u00f3digo: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u0026lt;4c\u0026gt; 8b a0 f0 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83 RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000 : 0000000 ---truncado---\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/crypto/ccp/sev-dev.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2\",\"lessThan\":\"bbf2c94503f6a421ed9b79e300d8085810da765d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2\",\"lessThan\":\"468e3295774d0edce15f4ae475913b5076dd4f40\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/crypto/ccp/sev-dev.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.10.3\",\"lessThanOrEqual\":\"6.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.11\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"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}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-09-10T16:06:10.385758Z\",\"id\":\"CVE-2024-43874\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.9\",\"versionEndExcluding\":\"6.10.3\",\"matchCriteriaId\":\"3332351F-A9A1-4AD4-BEDB-5B3BBD5B7279\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/468e3295774d0edce15f4ae475913b5076dd4f40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bbf2c94503f6a421ed9b79e300d8085810da765d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T14:33:39+00:00",
      "cve": "CVE-2024-43874",
      "id": "CVE-2024-43874",
      "initial_release_date": "2024-08-21T00:00:00+00:00",
      "product_status:known_affected": "108",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-43874.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T00:33:34Z",
      "cve": "CVE-2024-43874",
      "id": "CVE-2024-43874",
      "initial_release_date": "2024-08-22T02:58:29Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "322",
      "product_status:recommended": "355",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-43874",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-43874.json",
      "version": "54"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-43874\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:06:10.385758Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:22.651Z\"}}], \"cna\": {\"title\": \"crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2\", \"lessThan\": \"bbf2c94503f6a421ed9b79e300d8085810da765d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2\", \"lessThan\": \"468e3295774d0edce15f4ae475913b5076dd4f40\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/crypto/ccp/sev-dev.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.10.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/crypto/ccp/sev-dev.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bbf2c94503f6a421ed9b79e300d8085810da765d\"}, {\"url\": \"https://git.kernel.org/stable/c/468e3295774d0edce15f4ae475913b5076dd4f40\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked\\n\\nFix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE.\\nReturn from __sev_snp_shutdown_locked() if the psp_device or the\\nsev_device structs are not initialized. Without the fix, the driver will\\nproduce the following splat:\\n\\n   ccp 0000:55:00.5: enabling device (0000 -\u003e 0002)\\n   ccp 0000:55:00.5: sev enabled\\n   ccp 0000:55:00.5: psp enabled\\n   BUG: kernel NULL pointer dereference, address: 00000000000000f0\\n   #PF: supervisor read access in kernel mode\\n   #PF: error_code(0x0000) - not-present page\\n   PGD 0 P4D 0\\n   Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI\\n   CPU: 262 PID: 1 Comm: swapper/0 Not tainted 6.9.0-rc1+ #29\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb2ea4014b808\\n   RBP: ffffb2ea4014b7e8 R08: 0000000000000106 R09: 000000000003d9c0\\n   R10: 0000000000000001 R11: ffffffffa39ff070 R12: ffff9e49d40590c8\\n   R13: 0000000000000000 R14: ffffb2ea4014b808 R15: 0000000000000000\\n   FS:  0000000000000000(0000) GS:ffff9e58b1e00000(0000) knlGS:0000000000000000\\n   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\n   CR2: 00000000000000f0 CR3: 0000000418a3e001 CR4: 0000000000770ef0\\n   PKRU: 55555554\\n   Call Trace:\\n    \u003cTASK\u003e\\n    ? __die_body+0x6f/0xb0\\n    ? __die+0xcc/0xf0\\n    ? page_fault_oops+0x330/0x3a0\\n    ? save_trace+0x2a5/0x360\\n    ? do_user_addr_fault+0x583/0x630\\n    ? exc_page_fault+0x81/0x120\\n    ? asm_exc_page_fault+0x2b/0x30\\n    ? __sev_snp_shutdown_locked+0x2e/0x150\\n    __sev_firmware_shutdown+0x349/0x5b0\\n    ? pm_runtime_barrier+0x66/0xe0\\n    sev_dev_destroy+0x34/0xb0\\n    psp_dev_destroy+0x27/0x60\\n    sp_destroy+0x39/0x90\\n    sp_pci_remove+0x22/0x60\\n    pci_device_remove+0x4e/0x110\\n    really_probe+0x271/0x4e0\\n    __driver_probe_device+0x8f/0x160\\n    driver_probe_device+0x24/0x120\\n    __driver_attach+0xc7/0x280\\n    ? driver_attach+0x30/0x30\\n    bus_for_each_dev+0x10d/0x130\\n    driver_attach+0x22/0x30\\n    bus_add_driver+0x171/0x2b0\\n    ? unaccepted_memory_init_kdump+0x20/0x20\\n    driver_register+0x67/0x100\\n    __pci_register_driver+0x83/0x90\\n    sp_pci_init+0x22/0x30\\n    sp_mod_init+0x13/0x30\\n    do_one_initcall+0xb8/0x290\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? local_clock+0x1c/0x60\\n    ? stack_depot_save_flags+0x21e/0x6a0\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __lock_acquire+0xd90/0xe30\\n    ? sched_clock_noinstr+0xd/0x10\\n    ? local_clock_noinstr+0x3e/0x100\\n    ? __create_object+0x66/0x100\\n    ? local_clock+0x1c/0x60\\n    ? __create_object+0x66/0x100\\n    ? parameq+0x1b/0x90\\n    ? parse_one+0x6d/0x1d0\\n    ? parse_args+0xd7/0x1f0\\n    ? do_initcall_level+0x180/0x180\\n    do_initcall_level+0xb0/0x180\\n    do_initcalls+0x60/0xa0\\n    ? kernel_init+0x1f/0x1d0\\n    do_basic_setup+0x41/0x50\\n    kernel_init_freeable+0x1ac/0x230\\n    ? rest_init+0x1f0/0x1f0\\n    kernel_init+0x1f/0x1d0\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork+0x3d/0x50\\n    ? rest_init+0x1f0/0x1f0\\n    ret_from_fork_asm+0x11/0x20\\n    \u003c/TASK\u003e\\n   Modules linked in:\\n   CR2: 00000000000000f0\\n   ---[ end trace 0000000000000000 ]---\\n   RIP: 0010:__sev_snp_shutdown_locked+0x2e/0x150\\n   Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 45 d8 48 8b 05 6a 5a 7f 06 \u003c4c\u003e 8b a0 f0 00 00 00 41 0f b6 9c 24 a2 00 00 00 48 83 fb 02 0f 83\\n   RSP: 0018:ffffb2ea4014b7b8 EFLAGS: 00010286\\n   RAX: 0000000000000000 RBX: ffff9e4acd2e0a28 RCX: 0000000000000000\\n   RDX: 0000000\\n---truncated---\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.3\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"6.9\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T20:31:29.822Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-43874\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T20:31:29.822Z\", \"dateReserved\": \"2024-08-17T09:11:59.281Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-08-21T00:06:26.153Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…