{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89975","id":"CVE-2026-89975","title":"nvme-fabrics: fix DHCHAP secret leak on parse failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fabrics: fix DHCHAP secret leak on parse failure\n\nnvmf_parse_options() duplicates dhchap_secret and dhchap_ctrl_secret\nwith match_strdup() before validating the DHHC-1: representation.\n\nIf validation fails, the parser returns -EINVAL before the temporary\nstring in p is assigned to opts->dhchap_secret or\nopts->dhchap_ctrl_sec","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fabrics: fix DHCHAP secret leak on parse failure\n\nnvmf_parse_options() duplicates dhchap_secret and dhchap_ctrl_secret\nwith match_strdup() before validating the DHHC-1: representation.\n\nIf validation fails, the parser returns -EINVAL before the temporary\nstring in p is assigned to opts->dhchap_secret or\nopts->dhchap_ctrl_secret. nvmf_create_ctrl() subsequently frees opts,\nbut nvmf_free_options() cannot release the unassigned temporary string.\nEach rejected option therefore leaks one allocation.\n\nThis is easy to miss because valid secrets transfer ownership to opts\nand are freed normally, while the malformed-secret path still returns\nthe expected -EINVAL to userspace.\n\nWith CONFIG_NVME_HOST_AUTH enabled, the leak is reachable before the\nrequired-option checks and transport lookup. No NVMe-oF target or\nworking transport connection is required; for example, repeatedly\nwriting\n\n\tdhchap_secret=BAD\n\nor\n\n\tdhchap_ctrl_secret=BAD\n\nto /dev/nvme-fabrics deterministically takes the leaking parse path.\n\nFree the temporary string before leaving both validation error paths.\nUse kfree_sensitive() because the copied option may contain secret\nmaterial even when its representation is rejected, matching the\nsensitive cleanup used for stored DHCHAP secrets.","published":"2026-09-16T10:32:53.836Z","updated":"2026-11-01T02:30:47.310661528Z","reserved":"2026-09-11T19:38:34.779Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"35ec48228f6739339583e5a73ca315156372e30d","status":"affected","versionType":"git"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"3ce0e9b43f355dfa0bdc0e0dd889795752285791","status":"affected","versionType":"git"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"702c1ae0d31b44828ec3c87079def490c1ee1fb3","status":"affected","versionType":"git"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"15d7a35a489287109b5a7c157d53d9b8214f0318","status":"affected","versionType":"git"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"d21da6cc91ba1c4f1ae5ba007f3cb89e1c0c7549","status":"affected","versionType":"git"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"afdee49a1b88ed9bb44e2b30e855297c169bcc53","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.110","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.51","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.5","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/35ec48228f6739339583e5a73ca315156372e30d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3ce0e9b43f355dfa0bdc0e0dd889795752285791","tags":["web"]},{"url":"https://git.kernel.org/stable/c/702c1ae0d31b44828ec3c87079def490c1ee1fb3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/15d7a35a489287109b5a7c157d53d9b8214f0318","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d21da6cc91ba1c4f1ae5ba007f3cb89e1c0c7549","tags":["web"]},{"url":"https://git.kernel.org/stable/c/afdee49a1b88ed9bb44e2b30e855297c169bcc53","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89975.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89975","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00229,"epssPercentile":0.13759,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89975","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89975","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89975","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89975","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}