{"api_version":"1","generated_at":"2026-12-01T06:50:21+00:00","cve":"CVE-2026-99932","urls":{"html":"https://cve.report/CVE-2026-99932","api":"https://cve.report/api/cve/CVE-2026-99932.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99932","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99932"},"summary":{"title":"scsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()\n\nIn SDB mode, a command that times out right as the controller finishes it\ncan be completed twice:\n\n 1. The command times out and scsi_timeout() schedules ufshcd_abort().\n\n 2. The controller finishes the command and clears its doorbell bit in\n    REG_UTP_TRANSFER_REQ_DOOR_BELL, while the completion handler has not\n    yet cleared BIT(tag) in hba->outstanding_reqs.\n\n 3. ufshcd_abort() sees the doorbell bit clear and calls\n    __ufshcd_transfer_req_compl() without clearing BIT(tag) in\n    hba->outstanding_reqs.\n\n 4. The normal completion handler or the logical unit reset that follows\n    sees BIT(tag) still set in hba->outstanding_reqs and completes the same\n    command a second time.\n\nThis branch only exists for a rare corner case, a completion interrupt that\nis lost or arrives late. Remove it to simplify the abort path and leave\nsuch a command to the SCSI error handler, like any other command that\ncannot be aborted. The cost is a slower recovery in this corner case, which\nis acceptable since it only happens after a timeout.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:29","updated_at":"2026-12-01 06:17:57"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1","name":"https://git.kernel.org/stable/c/7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2edb62384a06a9efcafc2c47135d4cdb948b2085","name":"https://git.kernel.org/stable/c/2edb62384a06a9efcafc2c47135d4cdb948b2085","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7ac52a09bf8902b2a18998c652454227c3d3a9b9","name":"https://git.kernel.org/stable/c/7ac52a09bf8902b2a18998c652454227c3d3a9b9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5e208e3883fd79e841bd98d99ae9f3cfef5ad191","name":"https://git.kernel.org/stable/c/5e208e3883fd79e841bd98d99ae9f3cfef5ad191","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99932","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99932","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 169f5eb28869098ac02d7e03abea36e8ac599bcc 7ac52a09bf8902b2a18998c652454227c3d3a9b9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 169f5eb28869098ac02d7e03abea36e8ac599bcc 5e208e3883fd79e841bd98d99ae9f3cfef5ad191 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 169f5eb28869098ac02d7e03abea36e8ac599bcc 2edb62384a06a9efcafc2c47135d4cdb948b2085 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 169f5eb28869098ac02d7e03abea36e8ac599bcc 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * 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/ufs/core/ufshcd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7ac52a09bf8902b2a18998c652454227c3d3a9b9","status":"affected","version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","versionType":"git"},{"lessThan":"5e208e3883fd79e841bd98d99ae9f3cfef5ad191","status":"affected","version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","versionType":"git"},{"lessThan":"2edb62384a06a9efcafc2c47135d4cdb948b2085","status":"affected","version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","versionType":"git"},{"lessThan":"7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1","status":"affected","version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/ufs/core/ufshcd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()\n\nIn SDB mode, a command that times out right as the controller finishes it\ncan be completed twice:\n\n 1. The command times out and scsi_timeout() schedules ufshcd_abort().\n\n 2. The controller finishes the command and clears its doorbell bit in\n    REG_UTP_TRANSFER_REQ_DOOR_BELL, while the completion handler has not\n    yet cleared BIT(tag) in hba->outstanding_reqs.\n\n 3. ufshcd_abort() sees the doorbell bit clear and calls\n    __ufshcd_transfer_req_compl() without clearing BIT(tag) in\n    hba->outstanding_reqs.\n\n 4. The normal completion handler or the logical unit reset that follows\n    sees BIT(tag) still set in hba->outstanding_reqs and completes the same\n    command a second time.\n\nThis branch only exists for a rare corner case, a completion interrupt that\nis lost or arrives late. Remove it to simplify the abort path and leave\nsuch a command to the SCSI error handler, like any other command that\ncannot be aborted. The cost is a slower recovery in this corner case, which\nis acceptable since it only happens after a timeout."}],"metrics":[{"cvssV3_1":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The only way into ufshcd_abort() is a UFS command timing out: scsi_timeout() -> scsi_abort_command() -> scmd_eh_abort_handler(), or scsi_eh_abort_cmds(). No remote protocol carries any input. The attacker is a local user whose ordinary file I/O to the embedded UFS logical unit is in flight when the timeout fires.\nAC:H - The removed branch runs only if the SDB doorbell bit reads clear while hba->outstanding_reqs is still set. That needs the controller to finish a 30s-old command in the microseconds before the ISR runs, or a lost completion IRQ. An unprivileged user cannot produce that timing. No ioctl reaches ufshcd_abort(), and only the test-only SCSI_UFS_FAULT_INJECTION config can force it.\nPR:L - The attacker who exploits the resulting IOVA aliasing only needs ordinary filesystem read/write I/O in flight on the UFS logical unit when the device condition occurs, which any unprivileged local process (e.g. an Android app) has. Root-only knobs (io_timeout, SG_IO) still cannot win the race, so they offer no better path.\nUI:N - No victim action is needed. Once the abort branch runs, the second completion follows automatically, either from ufshcd_poll() on the next transfer IRQ or from ufshcd_clear_lu_cmds() during the SCSI error handler's logical unit reset.\nS:U - The double unmap corrupts the host kernel's own IOVA allocator and the DMA mappings of its UFS controller. No guest/host, sandbox or other authority boundary is crossed.\nC:H - On 6.6+ (since 549e91a9bbaa) both completions run ufshcd_release_scsi_cmd() -> scsi_dma_unmap() on the same sglist. abort_work runs before SHOST_RECOVERY, so other I/O can take the freed IOVA. The second unmap then tears down and double-frees that live range. Later mappings alias it, and the controller writes another request's pages out to storage.\nI:H - Because of the same double iommu_dma_free_iova() aliasing, a device read for one request can DMA into pages that another mapping owns, such as other page-cache or kernel buffers. Data the attacker controls on disk can therefore overwrite unrelated memory.\nA:H - A second unmap of an IOVA that was not reused trips WARN_ON(unmapped != size) in __iommu_dma_unmap(). Torn-down live mappings cause IOMMU faults and I/O errors. The double ufshcd_release() underflows clk_gating.active_reqs. On kernels up to 6.1 the second pass completes an unrelated dev_cmd waiter."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:20.974Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7ac52a09bf8902b2a18998c652454227c3d3a9b9"},{"url":"https://git.kernel.org/stable/c/5e208e3883fd79e841bd98d99ae9f3cfef5ad191"},{"url":"https://git.kernel.org/stable/c/2edb62384a06a9efcafc2c47135d4cdb948b2085"},{"url":"https://git.kernel.org/stable/c/7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1"}],"title":"scsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99932","datePublished":"2026-11-30T13:18:23.995Z","dateReserved":"2026-09-25T10:25:14.447Z","dateUpdated":"2026-12-01T05:44:20.974Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:29","lastModifiedDate":"2026-12-01 06:17:57","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99932","Ordinal":"1","Title":"scsi: ufs: core: Remove completed-without-interrupt path in ufsh","CVE":"CVE-2026-99932","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99932","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()\n\nIn SDB mode, a command that times out right as the controller finishes it\ncan be completed twice:\n\n 1. The command times out and scsi_timeout() schedules ufshcd_abort().\n\n 2. The controller finishes the command and clears its doorbell bit in\n    REG_UTP_TRANSFER_REQ_DOOR_BELL, while the completion handler has not\n    yet cleared BIT(tag) in hba->outstanding_reqs.\n\n 3. ufshcd_abort() sees the doorbell bit clear and calls\n    __ufshcd_transfer_req_compl() without clearing BIT(tag) in\n    hba->outstanding_reqs.\n\n 4. The normal completion handler or the logical unit reset that follows\n    sees BIT(tag) still set in hba->outstanding_reqs and completes the same\n    command a second time.\n\nThis branch only exists for a rare corner case, a completion interrupt that\nis lost or arrives late. Remove it to simplify the abort path and leave\nsuch a command to the SCSI error handler, like any other command that\ncannot be aborted. The cost is a slower recovery in this corner case, which\nis acceptable since it only happens after a timeout.","Type":"Description","Title":"scsi: ufs: core: Remove completed-without-interrupt path in ufsh"}]}}}