{
  "id": "CVE-2025-38728",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38728",
  "published_at": "2025-09-04T15:33:26.039Z",
  "title": "smb3: fix for slab out of bounds on mount to ksmbd",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb3: fix for slab out of bounds on mount to ksmbd\n\nWith KASAN enabled, it is possible to get a slab out of bounds\nduring mount to ksmbd due to missing check in parse_server_interfaces()\n(see below):\n\n BUG: KASAN: slab-out-of-bounds in\n parse_server_interfaces+0x14ee/0x1880 [cifs]\n Read of size 4 at addr ffff8881433dba98 by task mount/9827\n\n CPU: 5 UID: 0 PID: 9827 Comm: mount Tainted: G\n OE       6.16.0-rc2-kasan #2 PREEMPT(voluntary)\n Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE\n Hardware name: Dell Inc. Precision Tower 3620/0MWYPT,\n BIOS 2.13.1 06/14/2019\n Call Trace:\n  \u003cTASK\u003e\n dump_stack_lvl+0x9f/0xf0\n print_report+0xd1/0x670\n __virt_addr_valid+0x22c/0x430\n ? parse_server_interfaces+0x14ee/0x1880 [cifs]\n ? kasan_complete_mode_report_info+0x2a/0x1f0\n ? parse_server_interfaces+0x14ee/0x1880 [cifs]\n   kasan_report+0xd6/0x110\n   parse_server_interfaces+0x14ee/0x1880 [cifs]\n   __asan_report_load_n_noabort+0x13/0x20\n   parse_server_interfaces+0x14ee/0x1880 [cifs]\n ? __pfx_parse_server_interfaces+0x10/0x10 [cifs]\n ? trace_hardirqs_on+0x51/0x60\n SMB3_request_interfaces+0x1ad/0x3f0 [cifs]\n ? __pfx_SMB3_request_interfaces+0x10/0x10 [cifs]\n ? SMB2_tcon+0x23c/0x15d0 [cifs]\n smb3_qfs_tcon+0x173/0x2b0 [cifs]\n ? __pfx_smb3_qfs_tcon+0x10/0x10 [cifs]\n ? cifs_get_tcon+0x105d/0x2120 [cifs]\n ? do_raw_spin_unlock+0x5d/0x200\n ? cifs_get_tcon+0x105d/0x2120 [cifs]\n ? __pfx_smb3_qfs_tcon+0x10/0x10 [cifs]\n cifs_mount_get_tcon+0x369/0xb90 [cifs]\n ? dfs_cache_find+0xe7/0x150 [cifs]\n dfs_mount_share+0x985/0x2970 [cifs]\n ? check_path.constprop.0+0x28/0x50\n ? save_trace+0x54/0x370\n ? __pfx_dfs_mount_share+0x10/0x10 [cifs]\n ? __lock_acquire+0xb82/0x2ba0\n ? __kasan_check_write+0x18/0x20\n cifs_mount+0xbc/0x9e0 [cifs]\n ? __pfx_cifs_mount+0x10/0x10 [cifs]\n ? do_raw_spin_unlock+0x5d/0x200\n ? cifs_setup_cifs_sb+0x29d/0x810 [cifs]\n cifs_smb3_do_mount+0x263/0x1990 [cifs]",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.18:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c 248c1142f09478d6cb8151510cbf4ac2673c8ac5",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c 9bdb8e98a0073c73ab3e6c631ec78877ceb64565",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c a0620e1525663edd8c4594f49fb75fe5be4724b0",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c a542f93a123555d09c3ce8bc947f7b56ad8e6463",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c f6eda5b0e8f8123564c5b34f5801d63243032eac",
          "\u003e= fe856be475f7cf5ffcde57341d175ce9fd09434b, \u003c 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc"
        ],
        "fixed_in": [
          "248c1142f09478d6cb8151510cbf4ac2673c8ac5",
          "9bdb8e98a0073c73ab3e6c631ec78877ceb64565",
          "a0620e1525663edd8c4594f49fb75fe5be4724b0",
          "8de33d4d72e8fae3502ec3850bd7b14e7c7328b6",
          "a542f93a123555d09c3ce8bc947f7b56ad8e6463",
          "f6eda5b0e8f8123564c5b34f5801d63243032eac",
          "7d34ec36abb84fdfb6632a0f2cbda90379ae21fc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.18"
        ],
        "fixed_in": [
          "0",
          "5.15.224",
          "6.1.149",
          "6.6.103",
          "6.12.43",
          "6.15.11",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 248c1142f09478d6cb8151510cbf4ac2673c8ac5 or 9bdb8e98a0073c73ab3e6c631ec78877ceb64565 or a0620e1525663edd8c4594f49fb75fe5be4724b0 or 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6 or a542f93a123555d09c3ce8bc947f7b56ad8e6463 or f6eda5b0e8f8123564c5b34f5801d63243032eac or 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc or later.",
      "Upgrade Linux to 0 or 5.15.224 or 6.1.149 or 6.6.103 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
