CVE-2023-53399
published high CVSS 3.1 · 7.5ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 227eb2689b44d0d60da3839b146983e73435924c · 0626e6641f6b467447c81dd7678a69c66f7746cf to < a70751dd7b60eab025e97e19b6b2477c6eaf2bbb · 0626e6641f6b467447c81dd7678a69c66f7746cf to < b35f6c031b87d9e51f141ff6de0ea59756a8e313 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 1636e09779f83e10e6ed57d91ef94abcefdd206b · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 3ac00a2ab69b34189942afa9e862d5170cdcb018 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem() If share is , share->path is NULL and it cause NULL pointer dereference issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - ksmbd is the in-kernel SMB server; the bug is reached by sending SMB2_QUERY_INFO over TCP/445 after tree-connecting to IPC$, so a remote network peer triggers it with no local access. AC:L - The attacker simply tree-connects to the IPC$ pipe share and issues SMB2_QUERY_INFO with InfoType=SMB2_O_INFO_FILESYSTEM; share->path is always NULL for KSMBD_SHARE_FLAG_PIPE shares, so the NULL deref is deterministic with no race or uncontrolled precondition. PR:N - IPC$ is the classic SMB null-session target, and ksmbd's commonly shipped map-to-guest configuration lets an unauthenticated client obtain a guest session, tree-connect IPC$, and reach smb2_get_info_filesystem() without valid credentials. UI:N - The attacker drives negotiate, session setup, IPC$ tree connect, and QUERY_INFO entirely from its own SMB client; no victim or administrator action is required beyond ksmbd already listening. S:U - The NULL dereference oops/panic affects only the host kernel running ksmbd and does not cross a VM, IOMMU, or other security-authority boundary. C:N - This is a pure NULL pointer dereference in getname_kernel()/strlen on share->path; no out-of-bounds read or other disclosure primitive is obtained. I:N - The fault is a read of address 0 with no memory write, type confusion, or control-flow hijack path beyond the ensuing oops. A:H - Dereferencing the NULL share->path causes a kernel oops/panic in the ksmbd worker (as shown by the KASAN null-ptr-deref report), which is a full availability impact that a remote attacker can repeat at will.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < 227eb2689b44d0d60da3839b146983e73435924c (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < a70751dd7b60eab025e97e19b6b2477c6eaf2bbb (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < b35f6c031b87d9e51f141ff6de0ea59756a8e313 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 1636e09779f83e10e6ed57d91ef94abcefdd206b (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 3ac00a2ab69b34189942afa9e862d5170cdcb018 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
5- https://git.kernel.org/stable/c/1636e09779f83e10e6ed57d91ef94abcefdd206b
- https://git.kernel.org/stable/c/227eb2689b44d0d60da3839b146983e73435924c
- https://git.kernel.org/stable/c/3ac00a2ab69b34189942afa9e862d5170cdcb018
- https://git.kernel.org/stable/c/a70751dd7b60eab025e97e19b6b2477c6eaf2bbb
- https://git.kernel.org/stable/c/b35f6c031b87d9e51f141ff6de0ea59756a8e313
Provider assertions
2Linux · cna
ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df7fa04e8de2c1c6ddbde9db18025c29c8ce54c0e4b392f86c5dd8187b6cbec6
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record