# CVE-2023-53852: nvme-core: fix memory leak in dhchap\_secret\_store

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T01:30:17.449Z
- **Modified:** 2026-06-17T06:46:11.123Z

## Who should check

- Anyone running Linux \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 2e9b141307554521d60fecf6bf1d2edc8dd0181d; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< c41ac086d2abaf7527a5685f9c0a1c209ab7e0aa; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 6a5eda5017959541ab82c5d56bcf784b8294e298; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< a836ca33c5b07d34dd5347af9f64d25651d12674
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvme-core: fix memory leak in dhchap\_secret\_store

Free dhchap\_secret in nvme\_ctrl\_dhchap\_secret\_store() before we return
fix following kmemleack:-

unreferenced object 0xffff8886376ea800 (size 64):
  comm "check", pid 22048, jiffies 4344316705 (age 92.199s)
  hex dump (first 32 bytes):
    44 48 48 43 2d 31 3a 30 30 3a 6e 78 72 35 4b 67  DHHC-1:00:nxr5Kg
    75 58 34 75 6f 41 78 73 4a 61 34 63 2f 68 75 4c  uX4uoAxsJa4c/huL
  backtrace:
    \[\<0000000030ce5d4b\>\] \_\_kmalloc+0x4b/0x130
    \[\<000000009be1cdc1\>\] nvme\_ctrl\_dhchap\_secret\_store+0x8f/0x160 \[nvme\_core\]
    \[\<00000000ac06c96a\>\] kernfs\_fop\_write\_iter+0x12b/0x1c0
    \[\<00000000437e7ced\>\] vfs\_write+0x2ba/0x3c0
    \[\<00000000f9491baf\>\] ksys\_write+0x5f/0xe0
    \[\<000000001c46513d\>\] do\_syscall\_64+0x3b/0x90
    \[\<00000000ecf348fe\>\] entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
unreferenced object 0xffff8886376eaf00 (size 64):
  comm "check", pid 22048, jiffies 4344316736 (age 92.168s)
  hex dump (first 32 bytes):
    44 48 48 43 2d 31 3a 30 30 3a 6e 78 72 35 4b 67  DHHC-1:00:nxr5Kg
    75 58 34 75 6f 41 78 73 4a 61 34 63 2f 68 75 4c  uX4uoAxsJa4c/huL
  backtrace:
    \[\<0000000030ce5d4b\>\] \_\_kmalloc+0x4b/0x130
    \[\<000000009be1cdc1\>\] nvme\_ctrl\_dhchap\_secret\_store+0x8f/0x160 \[nvme\_core\]
    \[\<00000000ac06c96a\>\] kernfs\_fop\_write\_iter+0x12b/0x1c0
    \[\<00000000437e7ced\>\] vfs\_write+0x2ba/0x3c0
    \[\<00000000f9491baf\>\] ksys\_write+0x5f/0xe0
    \[\<000000001c46513d\>\] do\_syscall\_64+0x3b/0x90
    \[\<00000000ecf348fe\>\] entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

## Affected and fixed versions

- Linux: \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 2e9b141307554521d60fecf6bf1d2edc8dd0181d; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< c41ac086d2abaf7527a5685f9c0a1c209ab7e0aa; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 6a5eda5017959541ab82c5d56bcf784b8294e298; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< a836ca33c5b07d34dd5347af9f64d25651d12674 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53852. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53852.md
Affected: Linux >= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, < 2e9b141307554521d60fecf6bf1d2edc8dd0181d; >= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, < c41ac086d2abaf7527a5685f9c0a1c209ab7e0aa; >= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, < 6a5eda5017959541ab82c5d56bcf784b8294e298; >= f50fff73d620cd6e8f48bc5…
Fixed in: Linux 2e9b141307554521d60fecf6bf1d2edc8dd0181d, Linux 6a5eda5017959541ab82c5d56bcf784b8294e298

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53852 being exploited?

There is no confirmed exploitation: CVE-2023-53852 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53852?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53852?

Linux \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 2e9b141307554521d60fecf6bf1d2edc8dd0181d; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< c41ac086d2abaf7527a5685f9c0a1c209ab7e0aa; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< 6a5eda5017959541ab82c5d56bcf784b8294e298; \>= f50fff73d620cd6e8f48bc58d4f1c944615a3fea, \< a836ca33c5b07d34dd5347af9f64d25651d12674; Linux 6.0.

### Is there a fix for CVE-2023-53852?

Yes. Fixed in Linux 2e9b141307554521d60fecf6bf1d2edc8dd0181d, Linux 6a5eda5017959541ab82c5d56bcf784b8294e298. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53852?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2e9b141307554521d60fecf6bf1d2edc8dd0181d>
- other: <https://git.kernel.org/stable/c/c41ac086d2abaf7527a5685f9c0a1c209ab7e0aa>
- other: <https://git.kernel.org/stable/c/6a5eda5017959541ab82c5d56bcf784b8294e298>
- other: <https://git.kernel.org/stable/c/a836ca33c5b07d34dd5347af9f64d25651d12674>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53852>

HTML: <https://flawdb.com/CVE-2023-53852> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53852>
