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

CVE-2024-53185 (GCVE-0-2024-53185)

Vulnerability from cvelistv5 – Published: 2024-12-27 13:49 – Updated: 2026-08-05 11:44
VLAI
Title
smb: client: fix NULL ptr deref in crypto_aead_setkey()
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix NULL ptr deref in crypto_aead_setkey() Neither SMB3.0 or SMB3.02 supports encryption negotiate context, so when SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response, the client uses AES-128-CCM as the default cipher. See MS-SMB2 3.3.5.4. Commit b0abcd65ec54 ("smb: client: fix UAF in async decryption") added a @server->cipher_type check to conditionally call smb3_crypto_aead_allocate(), but that check would always be false as @server->cipher_type is unset for SMB3.02. Fix the following KASAN splat by setting @server->cipher_type for SMB3.02 as well. mount.cifs //srv/share /mnt -o vers=3.02,seal,... BUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130 Read of size 8 at addr 0000000000000020 by task mount.cifs/1095 CPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x5d/0x80 ? crypto_aead_setkey+0x2c/0x130 kasan_report+0xda/0x110 ? crypto_aead_setkey+0x2c/0x130 crypto_aead_setkey+0x2c/0x130 crypt_message+0x258/0xec0 [cifs] ? __asan_memset+0x23/0x50 ? __pfx_crypt_message+0x10/0x10 [cifs] ? mark_lock+0xb0/0x6a0 ? hlock_class+0x32/0xb0 ? mark_lock+0xb0/0x6a0 smb3_init_transform_rq+0x352/0x3f0 [cifs] ? lock_acquire.part.0+0xf4/0x2a0 smb_send_rqst+0x144/0x230 [cifs] ? __pfx_smb_send_rqst+0x10/0x10 [cifs] ? hlock_class+0x32/0xb0 ? smb2_setup_request+0x225/0x3a0 [cifs] ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs] compound_send_recv+0x59b/0x1140 [cifs] ? __pfx_compound_send_recv+0x10/0x10 [cifs] ? __create_object+0x5e/0x90 ? hlock_class+0x32/0xb0 ? do_raw_spin_unlock+0x9a/0xf0 cifs_send_recv+0x23/0x30 [cifs] SMB2_tcon+0x3ec/0xb30 [cifs] ? __pfx_SMB2_tcon+0x10/0x10 [cifs] ? lock_acquire.part.0+0xf4/0x2a0 ? __pfx_lock_release+0x10/0x10 ? do_raw_spin_trylock+0xc6/0x120 ? lock_acquire+0x3f/0x90 ? _get_xid+0x16/0xd0 [cifs] ? __pfx_SMB2_tcon+0x10/0x10 [cifs] ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs] cifs_get_smb_ses+0xcdd/0x10a0 [cifs] ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs] ? cifs_get_tcp_session+0xaa0/0xca0 [cifs] cifs_mount_get_session+0x8a/0x210 [cifs] dfs_mount_share+0x1b0/0x11d0 [cifs] ? __pfx___lock_acquire+0x10/0x10 ? __pfx_dfs_mount_share+0x10/0x10 [cifs] ? lock_acquire.part.0+0xf4/0x2a0 ? find_held_lock+0x8a/0xa0 ? hlock_class+0x32/0xb0 ? lock_release+0x203/0x5d0 cifs_mount+0xb3/0x3d0 [cifs] ? do_raw_spin_trylock+0xc6/0x120 ? __pfx_cifs_mount+0x10/0x10 [cifs] ? lock_acquire+0x3f/0x90 ? find_nls+0x16/0xa0 ? smb3_update_mnt_flags+0x372/0x3b0 [cifs] cifs_smb3_do_mount+0x1e2/0xc80 [cifs] ? __pfx_vfs_parse_fs_string+0x10/0x10 ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs] smb3_get_tree+0x1bf/0x330 [cifs] vfs_get_tree+0x4a/0x160 path_mount+0x3c1/0xfb0 ? kasan_quarantine_put+0xc7/0x1d0 ? __pfx_path_mount+0x10/0x10 ? kmem_cache_free+0x118/0x3e0 ? user_path_at+0x74/0xa0 __x64_sys_mount+0x1a6/0x1e0 ? __pfx___x64_sys_mount+0x10/0x10 ? mark_held_locks+0x1a/0x90 do_syscall_64+0xbb/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-02-10 17:13 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8f14a476abba13144df5434871a7225fd29af633 , < 92c5b62879073b489793a067dbe8d4f2728cdcad (git)
Affected: ef51c0d544b1518b35364480317ab6d3468f205d , < 4a788ebbb10db9da453d52eaf44a41c13dc446df (git)
Affected: bce966530fd5542bbb422cb45ecb775f7a1a6bc3 , < 44c495818d9c4a741ab9e6bc9203ccc9f55f6f40 (git)
Affected: 0809fb86ad13b29e1d6d491364fc7ea4fb545995 , < 46f8e25926817272ec8d5bfbd003569bdeb9a8c8 (git)
Affected: 538c26d9bf70c90edc460d18c81008a4e555925a , < 22127c1dc04364cda3da812161e70921e6c3c0af (git)
Affected: b0abcd65ec545701b8793e12bc27dc98042b151a , < 9b8904b53b5ace0519c74cd89fc3ca763f3856d4 (git)
Affected: b0abcd65ec545701b8793e12bc27dc98042b151a , < 4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2 (git)
Affected: 6.6.57 , < 6.6.64 (semver)
Affected: 6.11.4 , < 6.11.11 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.6.64 , ≤ 6.6.* (semver)
Unaffected: 6.11.11 , ≤ 6.11.* (semver)
Unaffected: 6.12.2 , ≤ 6.12.* (semver)
Unaffected: 6.13 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-53185",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-10T17:13:04.827494Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-10T17:21:09.199Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "92c5b62879073b489793a067dbe8d4f2728cdcad",
              "status": "affected",
              "version": "8f14a476abba13144df5434871a7225fd29af633",
              "versionType": "git"
            },
            {
              "lessThan": "4a788ebbb10db9da453d52eaf44a41c13dc446df",
              "status": "affected",
              "version": "ef51c0d544b1518b35364480317ab6d3468f205d",
              "versionType": "git"
            },
            {
              "lessThan": "44c495818d9c4a741ab9e6bc9203ccc9f55f6f40",
              "status": "affected",
              "version": "bce966530fd5542bbb422cb45ecb775f7a1a6bc3",
              "versionType": "git"
            },
            {
              "lessThan": "46f8e25926817272ec8d5bfbd003569bdeb9a8c8",
              "status": "affected",
              "version": "0809fb86ad13b29e1d6d491364fc7ea4fb545995",
              "versionType": "git"
            },
            {
              "lessThan": "22127c1dc04364cda3da812161e70921e6c3c0af",
              "status": "affected",
              "version": "538c26d9bf70c90edc460d18c81008a4e555925a",
              "versionType": "git"
            },
            {
              "lessThan": "9b8904b53b5ace0519c74cd89fc3ca763f3856d4",
              "status": "affected",
              "version": "b0abcd65ec545701b8793e12bc27dc98042b151a",
              "versionType": "git"
            },
            {
              "lessThan": "4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2",
              "status": "affected",
              "version": "b0abcd65ec545701b8793e12bc27dc98042b151a",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.64",
              "status": "affected",
              "version": "6.6.57",
              "versionType": "semver"
            },
            {
              "lessThan": "6.11.11",
              "status": "affected",
              "version": "6.11.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.64",
                  "versionStartIncluding": "6.6.57",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.11",
                  "versionStartIncluding": "6.11.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.2",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix NULL ptr deref in crypto_aead_setkey()\n\nNeither SMB3.0 or SMB3.02 supports encryption negotiate context, so\nwhen SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response,\nthe client uses AES-128-CCM as the default cipher.  See MS-SMB2\n3.3.5.4.\n\nCommit b0abcd65ec54 (\"smb: client: fix UAF in async decryption\") added\na @server-\u003ecipher_type check to conditionally call\nsmb3_crypto_aead_allocate(), but that check would always be false as\n@server-\u003ecipher_type is unset for SMB3.02.\n\nFix the following KASAN splat by setting @server-\u003ecipher_type for\nSMB3.02 as well.\n\nmount.cifs //srv/share /mnt -o vers=3.02,seal,...\n\nBUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130\nRead of size 8 at addr 0000000000000020 by task mount.cifs/1095\nCPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41\n04/01/2014\nCall Trace:\n \u003cTASK\u003e\n dump_stack_lvl+0x5d/0x80\n ? crypto_aead_setkey+0x2c/0x130\n kasan_report+0xda/0x110\n ? crypto_aead_setkey+0x2c/0x130\n crypto_aead_setkey+0x2c/0x130\n crypt_message+0x258/0xec0 [cifs]\n ? __asan_memset+0x23/0x50\n ? __pfx_crypt_message+0x10/0x10 [cifs]\n ? mark_lock+0xb0/0x6a0\n ? hlock_class+0x32/0xb0\n ? mark_lock+0xb0/0x6a0\n smb3_init_transform_rq+0x352/0x3f0 [cifs]\n ? lock_acquire.part.0+0xf4/0x2a0\n smb_send_rqst+0x144/0x230 [cifs]\n ? __pfx_smb_send_rqst+0x10/0x10 [cifs]\n ? hlock_class+0x32/0xb0\n ? smb2_setup_request+0x225/0x3a0 [cifs]\n ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs]\n compound_send_recv+0x59b/0x1140 [cifs]\n ? __pfx_compound_send_recv+0x10/0x10 [cifs]\n ? __create_object+0x5e/0x90\n ? hlock_class+0x32/0xb0\n ? do_raw_spin_unlock+0x9a/0xf0\n cifs_send_recv+0x23/0x30 [cifs]\n SMB2_tcon+0x3ec/0xb30 [cifs]\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\n ? lock_acquire.part.0+0xf4/0x2a0\n ? __pfx_lock_release+0x10/0x10\n ? do_raw_spin_trylock+0xc6/0x120\n ? lock_acquire+0x3f/0x90\n ? _get_xid+0x16/0xd0 [cifs]\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\n ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\n cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\n ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs]\n ? cifs_get_tcp_session+0xaa0/0xca0 [cifs]\n cifs_mount_get_session+0x8a/0x210 [cifs]\n dfs_mount_share+0x1b0/0x11d0 [cifs]\n ? __pfx___lock_acquire+0x10/0x10\n ? __pfx_dfs_mount_share+0x10/0x10 [cifs]\n ? lock_acquire.part.0+0xf4/0x2a0\n ? find_held_lock+0x8a/0xa0\n ? hlock_class+0x32/0xb0\n ? lock_release+0x203/0x5d0\n cifs_mount+0xb3/0x3d0 [cifs]\n ? do_raw_spin_trylock+0xc6/0x120\n ? __pfx_cifs_mount+0x10/0x10 [cifs]\n ? lock_acquire+0x3f/0x90\n ? find_nls+0x16/0xa0\n ? smb3_update_mnt_flags+0x372/0x3b0 [cifs]\n cifs_smb3_do_mount+0x1e2/0xc80 [cifs]\n ? __pfx_vfs_parse_fs_string+0x10/0x10\n ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs]\n smb3_get_tree+0x1bf/0x330 [cifs]\n vfs_get_tree+0x4a/0x160\n path_mount+0x3c1/0xfb0\n ? kasan_quarantine_put+0xc7/0x1d0\n ? __pfx_path_mount+0x10/0x10\n ? kmem_cache_free+0x118/0x3e0\n ? user_path_at+0x74/0xa0\n __x64_sys_mount+0x1a6/0x1e0\n ? __pfx___x64_sys_mount+0x10/0x10\n ? mark_held_locks+0x1a/0x90\n do_syscall_64+0xbb/0x1d0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable state is established entirely from remote SMB server responses over TCP/445 \u2014 the NEGOTIATE response selects dialect SMB3.02 (offered by default) leaving secmech.enc NULL, and the SESSION_SETUP response\u0027s SessionFlags bit forces encryption of the following request. A malicious, compromised, or DFS-referral-redirected SMB server, or an on-path attacker, triggers the oops in the client kernel.\nAC:L - The attacker only has to answer NEGOTIATE with DialectRevision=0x0302 and set SMB2_SESSION_FLAG_ENCRYPT_DATA in the session setup reply; the deref then happens deterministically on the immediately following SMB2_tcon, with no race, timing, or memory-layout dependency.\nPR:N - The malicious server needs no credentials or privileges on the victim client, and the crash occurs while the client is still setting up the connection (tree connect), before any client-side authorization of the server is possible.\nUI:N - An existing CIFS mount renegotiates the dialect and session automatically on reconnect (cifs_reconnect) and follows DFS referrals to attacker-designated servers, so the crash can be induced without any action by the user.\nS:U - The NULL dereference oops occurs in the cifs client within the kernel\u0027s own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:N - This is a NULL pointer dereference reading a fixed offset (0x20) from address zero; no attacker-controlled or sensitive memory is read and no data is disclosed.\nI:N - No memory is written or corrupted \u2014 the request is never encrypted or transmitted, and there is no fallback that would send data in the clear, so no data modification occurs.\nA:H - The dereference produces a kernel oops that kills the mounting task or the cifsd/worker thread mid-operation while holding cifs locks and references, causing hung tasks and an unusable mount, and a full panic on panic_on_oops systems."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:44:28.415Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/92c5b62879073b489793a067dbe8d4f2728cdcad"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a788ebbb10db9da453d52eaf44a41c13dc446df"
        },
        {
          "url": "https://git.kernel.org/stable/c/44c495818d9c4a741ab9e6bc9203ccc9f55f6f40"
        },
        {
          "url": "https://git.kernel.org/stable/c/46f8e25926817272ec8d5bfbd003569bdeb9a8c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/22127c1dc04364cda3da812161e70921e6c3c0af"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b8904b53b5ace0519c74cd89fc3ca763f3856d4"
        },
        {
          "url": "https://git.kernel.org/stable/c/4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2"
        }
      ],
      "title": "smb: client: fix NULL ptr deref in crypto_aead_setkey()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53185",
    "datePublished": "2024-12-27T13:49:28.304Z",
    "dateReserved": "2024-11-19T17:17:25.012Z",
    "dateUpdated": "2026-08-05T11:44:28.415Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-53185",
      "date": "2026-09-16",
      "epss": "0.00476",
      "percentile": "0.40018"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.6.57\", \"versionEndExcluding\": \"6.6.64\", \"matchCriteriaId\": \"C8945A66-658A-4AD8-A181-1427B77B6201\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.11.4\", \"versionEndExcluding\": \"6.11.11\", \"matchCriteriaId\": \"882290D1-9594-457B-B4DE-75810B78463D\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.12\", \"versionEndExcluding\": \"6.12.2\", \"matchCriteriaId\": \"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: fix NULL ptr deref in crypto_aead_setkey()\\n\\nNeither SMB3.0 or SMB3.02 supports encryption negotiate context, so\\nwhen SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response,\\nthe client uses AES-128-CCM as the default cipher.  See MS-SMB2\\n3.3.5.4.\\n\\nCommit b0abcd65ec54 (\\\"smb: client: fix UAF in async decryption\\\") added\\na @server-\u003ecipher_type check to conditionally call\\nsmb3_crypto_aead_allocate(), but that check would always be false as\\n@server-\u003ecipher_type is unset for SMB3.02.\\n\\nFix the following KASAN splat by setting @server-\u003ecipher_type for\\nSMB3.02 as well.\\n\\nmount.cifs //srv/share /mnt -o vers=3.02,seal,...\\n\\nBUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130\\nRead of size 8 at addr 0000000000000020 by task mount.cifs/1095\\nCPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1\\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41\\n04/01/2014\\nCall Trace:\\n \u003cTASK\u003e\\n dump_stack_lvl+0x5d/0x80\\n ? crypto_aead_setkey+0x2c/0x130\\n kasan_report+0xda/0x110\\n ? crypto_aead_setkey+0x2c/0x130\\n crypto_aead_setkey+0x2c/0x130\\n crypt_message+0x258/0xec0 [cifs]\\n ? __asan_memset+0x23/0x50\\n ? __pfx_crypt_message+0x10/0x10 [cifs]\\n ? mark_lock+0xb0/0x6a0\\n ? hlock_class+0x32/0xb0\\n ? mark_lock+0xb0/0x6a0\\n smb3_init_transform_rq+0x352/0x3f0 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n smb_send_rqst+0x144/0x230 [cifs]\\n ? __pfx_smb_send_rqst+0x10/0x10 [cifs]\\n ? hlock_class+0x32/0xb0\\n ? smb2_setup_request+0x225/0x3a0 [cifs]\\n ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs]\\n compound_send_recv+0x59b/0x1140 [cifs]\\n ? __pfx_compound_send_recv+0x10/0x10 [cifs]\\n ? __create_object+0x5e/0x90\\n ? hlock_class+0x32/0xb0\\n ? do_raw_spin_unlock+0x9a/0xf0\\n cifs_send_recv+0x23/0x30 [cifs]\\n SMB2_tcon+0x3ec/0xb30 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? __pfx_lock_release+0x10/0x10\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? lock_acquire+0x3f/0x90\\n ? _get_xid+0x16/0xd0 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs]\\n ? cifs_get_tcp_session+0xaa0/0xca0 [cifs]\\n cifs_mount_get_session+0x8a/0x210 [cifs]\\n dfs_mount_share+0x1b0/0x11d0 [cifs]\\n ? __pfx___lock_acquire+0x10/0x10\\n ? __pfx_dfs_mount_share+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? find_held_lock+0x8a/0xa0\\n ? hlock_class+0x32/0xb0\\n ? lock_release+0x203/0x5d0\\n cifs_mount+0xb3/0x3d0 [cifs]\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? __pfx_cifs_mount+0x10/0x10 [cifs]\\n ? lock_acquire+0x3f/0x90\\n ? find_nls+0x16/0xa0\\n ? smb3_update_mnt_flags+0x372/0x3b0 [cifs]\\n cifs_smb3_do_mount+0x1e2/0xc80 [cifs]\\n ? __pfx_vfs_parse_fs_string+0x10/0x10\\n ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs]\\n smb3_get_tree+0x1bf/0x330 [cifs]\\n vfs_get_tree+0x4a/0x160\\n path_mount+0x3c1/0xfb0\\n ? kasan_quarantine_put+0xc7/0x1d0\\n ? __pfx_path_mount+0x10/0x10\\n ? kmem_cache_free+0x118/0x3e0\\n ? user_path_at+0x74/0xa0\\n __x64_sys_mount+0x1a6/0x1e0\\n ? __pfx___x64_sys_mount+0x10/0x10\\n ? mark_held_locks+0x1a/0x90\\n do_syscall_64+0xbb/0x1d0\\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: cliente: corregir NULL ptr deref en crypto_aead_setkey() Ni SMB3.0 ni SMB3.02 admiten el contexto de negociaci\\u00f3n de cifrado, por lo que cuando se establece el indicador SMB2_GLOBAL_CAP_ENCRYPTION en la respuesta de negociaci\\u00f3n, el cliente utiliza AES-128-CCM como cifrado predeterminado. Consulte MS-SMB2 3.3.5.4. el commit b0abcd65ec54 (\\\"smb: cliente: corregir UAF en descifrado as\\u00edncrono\\\") agreg\\u00f3 una comprobaci\\u00f3n @server-\u0026gt;cipher_type para llamar condicionalmente a smb3_crypto_aead_allocate(), pero esa comprobaci\\u00f3n siempre ser\\u00eda falsa ya que @server-\u0026gt;cipher_type no est\\u00e1 configurado para SMB3.02. Corrija el siguiente splat de KASAN configurando tambi\\u00e9n @server-\u0026gt;cipher_type para SMB3.02. mount.cifs //srv/share /mnt -o vers=3.02,seal,... ERROR: KASAN: null-ptr-deref en crypto_aead_setkey+0x2c/0x130 Lectura de tama\\u00f1o 8 en la direcci\\u00f3n 0000000000000020 por la tarea mount.cifs/1095 CPU: 1 UID: 0 PID: 1095 Comm: mount.cifs No contaminado 6.12.0 #1 Nombre del hardware: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41 04/01/2014 Rastreo de llamadas:  dump_stack_lvl+0x5d/0x80 ? crypto_aead_setkey+0x2c/0x130 kasan_report+0xda/0x110 ? crypto_aead_setkey+0x2c/0x130 crypto_aead_setkey+0x2c/0x130 crypt_message+0x258/0xec0 [cifs] ? __asan_memset+0x23/0x50 ? __pfx_crypt_message+0x10/0x10 [cifs] ? mark_lock+0xb0/0x6a0 ? hlock_class+0x32/0xb0 ? mark_lock+0xb0/0x6a0 smb3_init_transform_rq+0x352/0x3f0 [cifs] ? lock_acquire.part.0+0xf4/0x2a0 smb_send_rqst+0x144/0x230 [cifs] ? __pfx_smb_send_rqst+0x10/0x10 [cifs] ? hlock_class+0x32/0xb0 ? smb2_setup_request+0x225/0x3a0 [cifs] ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs] compuesto_send_recv+0x59b/0x1140 [cifs] ? __pfx_compound_send_recv+0x10/0x10 [cifs] ? __create_object+0x5e/0x90 ? hlock_class+0x32/0xb0 ? __pfx_SMB2_tcon+0x10/0x10 [cifs] ? bloqueo_adquirir.parte.0+0xf4/0x2a0 ? bloqueo_adquirir+0xc6/0x120 ? _get_xid+0x16/0xd0 [cifs] ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs] cifs_get_smb_ses+0xcdd/0x10a0 [cifs] ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs] ? cifs_get_tcp_session+0xaa0/0xca0 [cifs] cifs_mount_get_session+0x8a/0x210 [cifs] dfs_mount_share+0x1b0/0x11d0 [cifs] ? __pfx___lock_acquire+0x10/0x10 ? __pfx_dfs_mount_share+0x10/0x10 [cifs] ? bloqueo_adquirir.parte.0+0xf4/0x2a0 ? bloqueo_retenido_encontrar+0x8a/0xa0 ? clase_bloqueo_h+0x32/0xb0 ? liberaci\\u00f3n_bloqueo+0x203/0x5d0 montaje_cifs+0xb3/0x3d0 [cifs] ? intento_bloqueo_giro_sin_bloqueo+0xc6/0x120 ? montaje_cifs_pfx+0x10/0x10 [cifs] ? bloqueo_adquirir+0x3f/0x90 ? montaje_nls_encontrar+0x16/0xa0 ? banderas_mnt_actualizar_smb3+0x372/0x3b0 [cifs] cifs_smb3_hacer_montar+0x1e2/0xc80 [cifs] ? __pfx_vfs_parse_fs_string+0x10/0x10 ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs] smb3_get_tree+0x1bf/0x330 [cifs] vfs_get_tree+0x4a/0x160 path_mount+0x3c1/0xfb0 ? kasan_quarantine_put+0xc7/0x1d0 ? __pfx_path_mount+0x10/0x10 ? kmem_cache_free+0x118/0x3e0 ? user_path_at+0x74/0xa0 __x64_sys_mount+0x1a6/0x1e0 ? __pfx___x64_sys_mount+0x10/0x10 ? marcar_bloqueos_retenidos+0x1a/0x90 hacer_llamada_al_sistema_64+0xbb/0x1d0 entrada_SYSCALL_64_despu\\u00e9s_de_hwframe+0x77/0x7f\"}]",
      "id": "CVE-2024-53185",
      "lastModified": "2025-01-06T17:17:06.007",
      "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-12-27T14:15:25.973",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/22127c1dc04364cda3da812161e70921e6c3c0af\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/46f8e25926817272ec8d5bfbd003569bdeb9a8c8\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/9b8904b53b5ace0519c74cd89fc3ca763f3856d4\", \"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\"}]}]"
    },
    "microsoft_vex": {
      "current_release_date": "2025-01-29T00:00:00.000Z",
      "cve": "CVE-2024-53185",
      "id": "msrc_CVE-2024-53185",
      "initial_release_date": "2024-12-02T00:00:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "smb: client: fix NULL ptr deref in crypto_aead_setkey()",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-53185.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53185\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:25.973\",\"lastModified\":\"2026-08-04T11:22:02.760\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: fix NULL ptr deref in crypto_aead_setkey()\\n\\nNeither SMB3.0 or SMB3.02 supports encryption negotiate context, so\\nwhen SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response,\\nthe client uses AES-128-CCM as the default cipher.  See MS-SMB2\\n3.3.5.4.\\n\\nCommit b0abcd65ec54 (\\\"smb: client: fix UAF in async decryption\\\") added\\na @server-\u003ecipher_type check to conditionally call\\nsmb3_crypto_aead_allocate(), but that check would always be false as\\n@server-\u003ecipher_type is unset for SMB3.02.\\n\\nFix the following KASAN splat by setting @server-\u003ecipher_type for\\nSMB3.02 as well.\\n\\nmount.cifs //srv/share /mnt -o vers=3.02,seal,...\\n\\nBUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130\\nRead of size 8 at addr 0000000000000020 by task mount.cifs/1095\\nCPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1\\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41\\n04/01/2014\\nCall Trace:\\n \u003cTASK\u003e\\n dump_stack_lvl+0x5d/0x80\\n ? crypto_aead_setkey+0x2c/0x130\\n kasan_report+0xda/0x110\\n ? crypto_aead_setkey+0x2c/0x130\\n crypto_aead_setkey+0x2c/0x130\\n crypt_message+0x258/0xec0 [cifs]\\n ? __asan_memset+0x23/0x50\\n ? __pfx_crypt_message+0x10/0x10 [cifs]\\n ? mark_lock+0xb0/0x6a0\\n ? hlock_class+0x32/0xb0\\n ? mark_lock+0xb0/0x6a0\\n smb3_init_transform_rq+0x352/0x3f0 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n smb_send_rqst+0x144/0x230 [cifs]\\n ? __pfx_smb_send_rqst+0x10/0x10 [cifs]\\n ? hlock_class+0x32/0xb0\\n ? smb2_setup_request+0x225/0x3a0 [cifs]\\n ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs]\\n compound_send_recv+0x59b/0x1140 [cifs]\\n ? __pfx_compound_send_recv+0x10/0x10 [cifs]\\n ? __create_object+0x5e/0x90\\n ? hlock_class+0x32/0xb0\\n ? do_raw_spin_unlock+0x9a/0xf0\\n cifs_send_recv+0x23/0x30 [cifs]\\n SMB2_tcon+0x3ec/0xb30 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? __pfx_lock_release+0x10/0x10\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? lock_acquire+0x3f/0x90\\n ? _get_xid+0x16/0xd0 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs]\\n ? cifs_get_tcp_session+0xaa0/0xca0 [cifs]\\n cifs_mount_get_session+0x8a/0x210 [cifs]\\n dfs_mount_share+0x1b0/0x11d0 [cifs]\\n ? __pfx___lock_acquire+0x10/0x10\\n ? __pfx_dfs_mount_share+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? find_held_lock+0x8a/0xa0\\n ? hlock_class+0x32/0xb0\\n ? lock_release+0x203/0x5d0\\n cifs_mount+0xb3/0x3d0 [cifs]\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? __pfx_cifs_mount+0x10/0x10 [cifs]\\n ? lock_acquire+0x3f/0x90\\n ? find_nls+0x16/0xa0\\n ? smb3_update_mnt_flags+0x372/0x3b0 [cifs]\\n cifs_smb3_do_mount+0x1e2/0xc80 [cifs]\\n ? __pfx_vfs_parse_fs_string+0x10/0x10\\n ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs]\\n smb3_get_tree+0x1bf/0x330 [cifs]\\n vfs_get_tree+0x4a/0x160\\n path_mount+0x3c1/0xfb0\\n ? kasan_quarantine_put+0xc7/0x1d0\\n ? __pfx_path_mount+0x10/0x10\\n ? kmem_cache_free+0x118/0x3e0\\n ? user_path_at+0x74/0xa0\\n __x64_sys_mount+0x1a6/0x1e0\\n ? __pfx___x64_sys_mount+0x10/0x10\\n ? mark_held_locks+0x1a/0x90\\n do_syscall_64+0xbb/0x1d0\\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: cliente: corregir NULL ptr deref en crypto_aead_setkey() Ni SMB3.0 ni SMB3.02 admiten el contexto de negociaci\u00f3n de cifrado, por lo que cuando se establece el indicador SMB2_GLOBAL_CAP_ENCRYPTION en la respuesta de negociaci\u00f3n, el cliente utiliza AES-128-CCM como cifrado predeterminado. Consulte MS-SMB2 3.3.5.4. el commit b0abcd65ec54 (\\\"smb: cliente: corregir UAF en descifrado as\u00edncrono\\\") agreg\u00f3 una comprobaci\u00f3n @server-\u0026gt;cipher_type para llamar condicionalmente a smb3_crypto_aead_allocate(), pero esa comprobaci\u00f3n siempre ser\u00eda falsa ya que @server-\u0026gt;cipher_type no est\u00e1 configurado para SMB3.02. Corrija el siguiente splat de KASAN configurando tambi\u00e9n @server-\u0026gt;cipher_type para SMB3.02. mount.cifs //srv/share /mnt -o vers=3.02,seal,... ERROR: KASAN: null-ptr-deref en crypto_aead_setkey+0x2c/0x130 Lectura de tama\u00f1o 8 en la direcci\u00f3n 0000000000000020 por la tarea mount.cifs/1095 CPU: 1 UID: 0 PID: 1095 Comm: mount.cifs No contaminado 6.12.0 #1 Nombre del hardware: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41 04/01/2014 Rastreo de llamadas:  dump_stack_lvl+0x5d/0x80 ? crypto_aead_setkey+0x2c/0x130 kasan_report+0xda/0x110 ? crypto_aead_setkey+0x2c/0x130 crypto_aead_setkey+0x2c/0x130 crypt_message+0x258/0xec0 [cifs] ? __asan_memset+0x23/0x50 ? __pfx_crypt_message+0x10/0x10 [cifs] ? mark_lock+0xb0/0x6a0 ? hlock_class+0x32/0xb0 ? mark_lock+0xb0/0x6a0 smb3_init_transform_rq+0x352/0x3f0 [cifs] ? lock_acquire.part.0+0xf4/0x2a0 smb_send_rqst+0x144/0x230 [cifs] ? __pfx_smb_send_rqst+0x10/0x10 [cifs] ? hlock_class+0x32/0xb0 ? smb2_setup_request+0x225/0x3a0 [cifs] ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs] compuesto_send_recv+0x59b/0x1140 [cifs] ? __pfx_compound_send_recv+0x10/0x10 [cifs] ? __create_object+0x5e/0x90 ? hlock_class+0x32/0xb0 ? __pfx_SMB2_tcon+0x10/0x10 [cifs] ? bloqueo_adquirir.parte.0+0xf4/0x2a0 ? bloqueo_adquirir+0xc6/0x120 ? _get_xid+0x16/0xd0 [cifs] ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs] cifs_get_smb_ses+0xcdd/0x10a0 [cifs] ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs] ? cifs_get_tcp_session+0xaa0/0xca0 [cifs] cifs_mount_get_session+0x8a/0x210 [cifs] dfs_mount_share+0x1b0/0x11d0 [cifs] ? __pfx___lock_acquire+0x10/0x10 ? __pfx_dfs_mount_share+0x10/0x10 [cifs] ? bloqueo_adquirir.parte.0+0xf4/0x2a0 ? bloqueo_retenido_encontrar+0x8a/0xa0 ? clase_bloqueo_h+0x32/0xb0 ? liberaci\u00f3n_bloqueo+0x203/0x5d0 montaje_cifs+0xb3/0x3d0 [cifs] ? intento_bloqueo_giro_sin_bloqueo+0xc6/0x120 ? montaje_cifs_pfx+0x10/0x10 [cifs] ? bloqueo_adquirir+0x3f/0x90 ? montaje_nls_encontrar+0x16/0xa0 ? banderas_mnt_actualizar_smb3+0x372/0x3b0 [cifs] cifs_smb3_hacer_montar+0x1e2/0xc80 [cifs] ? __pfx_vfs_parse_fs_string+0x10/0x10 ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs] smb3_get_tree+0x1bf/0x330 [cifs] vfs_get_tree+0x4a/0x160 path_mount+0x3c1/0xfb0 ? kasan_quarantine_put+0xc7/0x1d0 ? __pfx_path_mount+0x10/0x10 ? kmem_cache_free+0x118/0x3e0 ? user_path_at+0x74/0xa0 __x64_sys_mount+0x1a6/0x1e0 ? __pfx___x64_sys_mount+0x10/0x10 ? marcar_bloqueos_retenidos+0x1a/0x90 hacer_llamada_al_sistema_64+0xbb/0x1d0 entrada_SYSCALL_64_despu\u00e9s_de_hwframe+0x77/0x7f\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/smb/client/smb2pdu.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"8f14a476abba13144df5434871a7225fd29af633\",\"lessThan\":\"92c5b62879073b489793a067dbe8d4f2728cdcad\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef51c0d544b1518b35364480317ab6d3468f205d\",\"lessThan\":\"4a788ebbb10db9da453d52eaf44a41c13dc446df\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"bce966530fd5542bbb422cb45ecb775f7a1a6bc3\",\"lessThan\":\"44c495818d9c4a741ab9e6bc9203ccc9f55f6f40\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0809fb86ad13b29e1d6d491364fc7ea4fb545995\",\"lessThan\":\"46f8e25926817272ec8d5bfbd003569bdeb9a8c8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"538c26d9bf70c90edc460d18c81008a4e555925a\",\"lessThan\":\"22127c1dc04364cda3da812161e70921e6c3c0af\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b0abcd65ec545701b8793e12bc27dc98042b151a\",\"lessThan\":\"9b8904b53b5ace0519c74cd89fc3ca763f3856d4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b0abcd65ec545701b8793e12bc27dc98042b151a\",\"lessThan\":\"4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.6.57\",\"lessThan\":\"6.6.64\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.11.4\",\"lessThan\":\"6.11.11\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/smb/client/smb2pdu.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.12\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.12\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.64\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.11.11\",\"lessThanOrEqual\":\"6.11.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.2\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.13\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6},{\"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},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-02-10T17:13:04.827494Z\",\"id\":\"CVE-2024-53185\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.57\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"C8945A66-658A-4AD8-A181-1427B77B6201\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11.4\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"882290D1-9594-457B-B4DE-75810B78463D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/22127c1dc04364cda3da812161e70921e6c3c0af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/44c495818d9c4a741ab9e6bc9203ccc9f55f6f40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/46f8e25926817272ec8d5bfbd003569bdeb9a8c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4a788ebbb10db9da453d52eaf44a41c13dc446df\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/92c5b62879073b489793a067dbe8d4f2728cdcad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b8904b53b5ace0519c74cd89fc3ca763f3856d4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T14:03:05+00:00",
      "cve": "CVE-2024-53185",
      "id": "CVE-2024-53185",
      "initial_release_date": "2024-12-27T00:00:00+00:00",
      "product_status:known_affected": "108",
      "product_status:known_not_affected": "166",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: smb: client: fix NULL ptr deref in crypto_aead_setkey()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-53185.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T00:27:12Z",
      "cve": "CVE-2024-53185",
      "id": "CVE-2024-53185",
      "initial_release_date": "2024-12-28T03:50:40Z",
      "product_status:known_affected": "700",
      "product_status:known_not_affected": "167",
      "product_status:recommended": "384",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-53185",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-53185.json",
      "version": "73"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-53185\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-10T17:13:04.827494Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-10T17:13:06.307Z\"}}], \"cna\": {\"title\": \"smb: client: fix NULL ptr deref in crypto_aead_setkey()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"bce966530fd5542bbb422cb45ecb775f7a1a6bc3\", \"lessThan\": \"44c495818d9c4a741ab9e6bc9203ccc9f55f6f40\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0809fb86ad13b29e1d6d491364fc7ea4fb545995\", \"lessThan\": \"46f8e25926817272ec8d5bfbd003569bdeb9a8c8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"538c26d9bf70c90edc460d18c81008a4e555925a\", \"lessThan\": \"22127c1dc04364cda3da812161e70921e6c3c0af\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b0abcd65ec545701b8793e12bc27dc98042b151a\", \"lessThan\": \"9b8904b53b5ace0519c74cd89fc3ca763f3856d4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b0abcd65ec545701b8793e12bc27dc98042b151a\", \"lessThan\": \"4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/smb/client/smb2pdu.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.12\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.12\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.64\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/smb/client/smb2pdu.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/44c495818d9c4a741ab9e6bc9203ccc9f55f6f40\"}, {\"url\": \"https://git.kernel.org/stable/c/46f8e25926817272ec8d5bfbd003569bdeb9a8c8\"}, {\"url\": \"https://git.kernel.org/stable/c/22127c1dc04364cda3da812161e70921e6c3c0af\"}, {\"url\": \"https://git.kernel.org/stable/c/9b8904b53b5ace0519c74cd89fc3ca763f3856d4\"}, {\"url\": \"https://git.kernel.org/stable/c/4bdec0d1f658f7c98749bd2c5a486e6cfa8565d2\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: fix NULL ptr deref in crypto_aead_setkey()\\n\\nNeither SMB3.0 or SMB3.02 supports encryption negotiate context, so\\nwhen SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response,\\nthe client uses AES-128-CCM as the default cipher.  See MS-SMB2\\n3.3.5.4.\\n\\nCommit b0abcd65ec54 (\\\"smb: client: fix UAF in async decryption\\\") added\\na @server-\u003ecipher_type check to conditionally call\\nsmb3_crypto_aead_allocate(), but that check would always be false as\\n@server-\u003ecipher_type is unset for SMB3.02.\\n\\nFix the following KASAN splat by setting @server-\u003ecipher_type for\\nSMB3.02 as well.\\n\\nmount.cifs //srv/share /mnt -o vers=3.02,seal,...\\n\\nBUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130\\nRead of size 8 at addr 0000000000000020 by task mount.cifs/1095\\nCPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1\\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41\\n04/01/2014\\nCall Trace:\\n \u003cTASK\u003e\\n dump_stack_lvl+0x5d/0x80\\n ? crypto_aead_setkey+0x2c/0x130\\n kasan_report+0xda/0x110\\n ? crypto_aead_setkey+0x2c/0x130\\n crypto_aead_setkey+0x2c/0x130\\n crypt_message+0x258/0xec0 [cifs]\\n ? __asan_memset+0x23/0x50\\n ? __pfx_crypt_message+0x10/0x10 [cifs]\\n ? mark_lock+0xb0/0x6a0\\n ? hlock_class+0x32/0xb0\\n ? mark_lock+0xb0/0x6a0\\n smb3_init_transform_rq+0x352/0x3f0 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n smb_send_rqst+0x144/0x230 [cifs]\\n ? __pfx_smb_send_rqst+0x10/0x10 [cifs]\\n ? hlock_class+0x32/0xb0\\n ? smb2_setup_request+0x225/0x3a0 [cifs]\\n ? __pfx_cifs_compound_last_callback+0x10/0x10 [cifs]\\n compound_send_recv+0x59b/0x1140 [cifs]\\n ? __pfx_compound_send_recv+0x10/0x10 [cifs]\\n ? __create_object+0x5e/0x90\\n ? hlock_class+0x32/0xb0\\n ? do_raw_spin_unlock+0x9a/0xf0\\n cifs_send_recv+0x23/0x30 [cifs]\\n SMB2_tcon+0x3ec/0xb30 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? __pfx_lock_release+0x10/0x10\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? lock_acquire+0x3f/0x90\\n ? _get_xid+0x16/0xd0 [cifs]\\n ? __pfx_SMB2_tcon+0x10/0x10 [cifs]\\n ? cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n cifs_get_smb_ses+0xcdd/0x10a0 [cifs]\\n ? __pfx_cifs_get_smb_ses+0x10/0x10 [cifs]\\n ? cifs_get_tcp_session+0xaa0/0xca0 [cifs]\\n cifs_mount_get_session+0x8a/0x210 [cifs]\\n dfs_mount_share+0x1b0/0x11d0 [cifs]\\n ? __pfx___lock_acquire+0x10/0x10\\n ? __pfx_dfs_mount_share+0x10/0x10 [cifs]\\n ? lock_acquire.part.0+0xf4/0x2a0\\n ? find_held_lock+0x8a/0xa0\\n ? hlock_class+0x32/0xb0\\n ? lock_release+0x203/0x5d0\\n cifs_mount+0xb3/0x3d0 [cifs]\\n ? do_raw_spin_trylock+0xc6/0x120\\n ? __pfx_cifs_mount+0x10/0x10 [cifs]\\n ? lock_acquire+0x3f/0x90\\n ? find_nls+0x16/0xa0\\n ? smb3_update_mnt_flags+0x372/0x3b0 [cifs]\\n cifs_smb3_do_mount+0x1e2/0xc80 [cifs]\\n ? __pfx_vfs_parse_fs_string+0x10/0x10\\n ? __pfx_cifs_smb3_do_mount+0x10/0x10 [cifs]\\n smb3_get_tree+0x1bf/0x330 [cifs]\\n vfs_get_tree+0x4a/0x160\\n path_mount+0x3c1/0xfb0\\n ? kasan_quarantine_put+0xc7/0x1d0\\n ? __pfx_path_mount+0x10/0x10\\n ? kmem_cache_free+0x118/0x3e0\\n ? user_path_at+0x74/0xa0\\n __x64_sys_mount+0x1a6/0x1e0\\n ? __pfx___x64_sys_mount+0x10/0x10\\n ? mark_held_locks+0x1a/0x90\\n do_syscall_64+0xbb/0x1d0\\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-02-02T10:15:08.779Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-53185\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-10T17:21:09.199Z\", \"dateReserved\": \"2024-11-19T17:17:25.012Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-12-27T13:49:28.304Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



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…