{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99932","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.447Z","datePublished":"2026-11-30T13:18:23.995Z","dateUpdated":"2026-12-01T05:44:20.974Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:20.974Z"},"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":{"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"},"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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ufs/core/ufshcd.c"],"versions":[{"version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","lessThan":"7ac52a09bf8902b2a18998c652454227c3d3a9b9","status":"affected","versionType":"git"},{"version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","lessThan":"5e208e3883fd79e841bd98d99ae9f3cfef5ad191","status":"affected","versionType":"git"},{"version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","lessThan":"2edb62384a06a9efcafc2c47135d4cdb948b2085","status":"affected","versionType":"git"},{"version":"169f5eb28869098ac02d7e03abea36e8ac599bcc","lessThan":"7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ufs/core/ufshcd.c"],"versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"}]}]}],"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"}}}}