{"api_version":"1","generated_at":"2026-09-25T13:40:06+00:00","cve":"CVE-2026-97952","urls":{"html":"https://cve.report/CVE-2026-97952","api":"https://cve.report/api/cve/CVE-2026-97952.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97952","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97952"},"summary":{"title":"sunvdc: unmap LDC cookies when the descriptor send fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsunvdc: unmap LDC cookies when the descriptor send fails\n\n__send_request() maps the request's pages into the LDC channel's map\ntable (ldc_map_sg()), fills in the descriptor and marks it\nVIO_DESC_READY before ringing the doorbell via __vdc_tx_trigger().\nWhen the trigger fails, the error path only prints a message: the\ndescriptor stays READY and the cookies are never unmapped. The\nmapping is normally released in vdc_end_one() when the peer completes\nthe descriptor - but a descriptor whose doorbell was never sent will\nnever complete, and since dr->prod is not advanced on failure, the\nreset path (vdc_requeue_inflight(), which walks [cons, prod)) never\nvisits it either. The map table entries are leaked permanently.\n\nSince commit a11f6ca9aef9 (\"sunvdc: Do not spin in an infinite loop\nwhen vio_ldc_send() returns EAGAIN\") trigger failures occur in\npractice under load, so every resulting I/O error also leaks one\nrequest's worth of entries from the fixed-size (8192 entries per\nchannel) map table. Because the allocator hands out contiguous\nranges, fragmentation makes large multi-segment requests fail first\nas the table drains, until ldc_map_sg() fails permanently and the\ndisk is dead until reboot.\n\nIt also makes any retry-based recovery unusable: requeuing the\nrequest on -EAGAIN remaps the pages on every attempt, overwriting\ndesc->cookies and orphaning the previous mapping, so the table\ndrains at the retry rate. This is the memory exhaustion observed\nwhen the requeue approach was first tested in October 2025.\n\nRoll back on failure: unmap the cookies, mark the descriptor FREE\nagain and clear the request entry. If the trigger failed with\n-ENOTCONN, __vdc_tx_trigger() has already reset the port, which\ntears down and reallocates both the dring and the LDC channel\nincluding its map table - nothing to roll back, and the stale\ndescriptor must not be touched.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-25 11:17:22","updated_at":"2026-09-25 11:17:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0c6da21fa35e03fc74f09895433ccd6d4a9c3530","name":"https://git.kernel.org/stable/c/0c6da21fa35e03fc74f09895433ccd6d4a9c3530","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ab81a5c1014a38dab0fb402609fd866b0bcb4726","name":"https://git.kernel.org/stable/c/ab81a5c1014a38dab0fb402609fd866b0bcb4726","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/57835952566f0be9b365a6eb3a70b397a9d5ef47","name":"https://git.kernel.org/stable/c/57835952566f0be9b365a6eb3a70b397a9d5ef47","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3322baa3a8ac87730feae952c1146269d78e098","name":"https://git.kernel.org/stable/c/f3322baa3a8ac87730feae952c1146269d78e098","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97952","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97952","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec ab81a5c1014a38dab0fb402609fd866b0bcb4726 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec 57835952566f0be9b365a6eb3a70b397a9d5ef47 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec f3322baa3a8ac87730feae952c1146269d78e098 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec 0c6da21fa35e03fc74f09895433ccd6d4a9c3530 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 627e656239c63d8a81672d08de7885e89c12fa75 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1ef7d5da9b2c145f811a80bb8197df6037a7572 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab4b6526fdcdfa7772984bbcd2ac4fd14fa223b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3fbba4e55051d01a72b56ea192064175924bf56a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e380fc2ae4d18210eec9c472b12e2b2544f7dc1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.4.175 4.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.9.156 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14.99 4.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19.21 4.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.20.8 4.21 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.111 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.7 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/block/sunvdc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ab81a5c1014a38dab0fb402609fd866b0bcb4726","status":"affected","version":"a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec","versionType":"git"},{"lessThan":"57835952566f0be9b365a6eb3a70b397a9d5ef47","status":"affected","version":"a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec","versionType":"git"},{"lessThan":"f3322baa3a8ac87730feae952c1146269d78e098","status":"affected","version":"a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec","versionType":"git"},{"lessThan":"0c6da21fa35e03fc74f09895433ccd6d4a9c3530","status":"affected","version":"a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec","versionType":"git"},{"status":"affected","version":"627e656239c63d8a81672d08de7885e89c12fa75","versionType":"git"},{"status":"affected","version":"a1ef7d5da9b2c145f811a80bb8197df6037a7572","versionType":"git"},{"status":"affected","version":"7ab4b6526fdcdfa7772984bbcd2ac4fd14fa223b","versionType":"git"},{"status":"affected","version":"3fbba4e55051d01a72b56ea192064175924bf56a","versionType":"git"},{"status":"affected","version":"3e380fc2ae4d18210eec9c472b12e2b2544f7dc1","versionType":"git"},{"lessThan":"4.5","status":"affected","version":"4.4.175","versionType":"semver"},{"lessThan":"4.10","status":"affected","version":"4.9.156","versionType":"semver"},{"lessThan":"4.15","status":"affected","version":"4.14.99","versionType":"semver"},{"lessThan":"4.20","status":"affected","version":"4.19.21","versionType":"semver"},{"lessThan":"4.21","status":"affected","version":"4.20.8","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/block/sunvdc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.0"},{"lessThan":"5.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.111","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.53","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.111","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.53","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.7","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc3","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.175","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.156","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.99","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.21","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsunvdc: unmap LDC cookies when the descriptor send fails\n\n__send_request() maps the request's pages into the LDC channel's map\ntable (ldc_map_sg()), fills in the descriptor and marks it\nVIO_DESC_READY before ringing the doorbell via __vdc_tx_trigger().\nWhen the trigger fails, the error path only prints a message: the\ndescriptor stays READY and the cookies are never unmapped. The\nmapping is normally released in vdc_end_one() when the peer completes\nthe descriptor - but a descriptor whose doorbell was never sent will\nnever complete, and since dr->prod is not advanced on failure, the\nreset path (vdc_requeue_inflight(), which walks [cons, prod)) never\nvisits it either. The map table entries are leaked permanently.\n\nSince commit a11f6ca9aef9 (\"sunvdc: Do not spin in an infinite loop\nwhen vio_ldc_send() returns EAGAIN\") trigger failures occur in\npractice under load, so every resulting I/O error also leaks one\nrequest's worth of entries from the fixed-size (8192 entries per\nchannel) map table. Because the allocator hands out contiguous\nranges, fragmentation makes large multi-segment requests fail first\nas the table drains, until ldc_map_sg() fails permanently and the\ndisk is dead until reboot.\n\nIt also makes any retry-based recovery unusable: requeuing the\nrequest on -EAGAIN remaps the pages on every attempt, overwriting\ndesc->cookies and orphaning the previous mapping, so the table\ndrains at the retry rate. This is the memory exhaustion observed\nwhen the requeue approach was first tested in October 2025.\n\nRoll back on failure: unmap the cookies, mark the descriptor FREE\nagain and clear the request entry. If the trigger failed with\n-ENOTCONN, __vdc_tx_trigger() has already reset the port, which\ntears down and reallocates both the dring and the LDC channel\nincluding its map table - nothing to roll back, and the stale\ndescriptor must not be touched."}],"providerMetadata":{"dateUpdated":"2026-09-25T10:23:00.161Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ab81a5c1014a38dab0fb402609fd866b0bcb4726"},{"url":"https://git.kernel.org/stable/c/57835952566f0be9b365a6eb3a70b397a9d5ef47"},{"url":"https://git.kernel.org/stable/c/f3322baa3a8ac87730feae952c1146269d78e098"},{"url":"https://git.kernel.org/stable/c/0c6da21fa35e03fc74f09895433ccd6d4a9c3530"}],"title":"sunvdc: unmap LDC cookies when the descriptor send fails","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-97952","datePublished":"2026-09-25T10:23:00.161Z","dateReserved":"2026-09-25T10:18:58.205Z","dateUpdated":"2026-09-25T10:23:00.161Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 11:17:22","lastModifiedDate":"2026-09-25 11:17:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"97952","Ordinal":"1","Title":"sunvdc: unmap LDC cookies when the descriptor send fails","CVE":"CVE-2026-97952","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"97952","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsunvdc: unmap LDC cookies when the descriptor send fails\n\n__send_request() maps the request's pages into the LDC channel's map\ntable (ldc_map_sg()), fills in the descriptor and marks it\nVIO_DESC_READY before ringing the doorbell via __vdc_tx_trigger().\nWhen the trigger fails, the error path only prints a message: the\ndescriptor stays READY and the cookies are never unmapped. The\nmapping is normally released in vdc_end_one() when the peer completes\nthe descriptor - but a descriptor whose doorbell was never sent will\nnever complete, and since dr->prod is not advanced on failure, the\nreset path (vdc_requeue_inflight(), which walks [cons, prod)) never\nvisits it either. The map table entries are leaked permanently.\n\nSince commit a11f6ca9aef9 (\"sunvdc: Do not spin in an infinite loop\nwhen vio_ldc_send() returns EAGAIN\") trigger failures occur in\npractice under load, so every resulting I/O error also leaks one\nrequest's worth of entries from the fixed-size (8192 entries per\nchannel) map table. Because the allocator hands out contiguous\nranges, fragmentation makes large multi-segment requests fail first\nas the table drains, until ldc_map_sg() fails permanently and the\ndisk is dead until reboot.\n\nIt also makes any retry-based recovery unusable: requeuing the\nrequest on -EAGAIN remaps the pages on every attempt, overwriting\ndesc->cookies and orphaning the previous mapping, so the table\ndrains at the retry rate. This is the memory exhaustion observed\nwhen the requeue approach was first tested in October 2025.\n\nRoll back on failure: unmap the cookies, mark the descriptor FREE\nagain and clear the request entry. If the trigger failed with\n-ENOTCONN, __vdc_tx_trigger() has already reset the port, which\ntears down and reallocates both the dring and the LDC channel\nincluding its map table - nothing to roll back, and the stale\ndescriptor must not be touched.","Type":"Description","Title":"sunvdc: unmap LDC cookies when the descriptor send fails"}]}}}