{"api_version":"1","generated_at":"2026-12-03T08:16:53+00:00","cve":"CVE-2026-99934","urls":{"html":"https://cve.report/CVE-2026-99934","api":"https://cve.report/api/cve/CVE-2026-99934.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99934","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99934"},"summary":{"title":"scsi: sd: Mark the disk dead if runtime resume fails in sd_remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd: Mark the disk dead if runtime resume fails in sd_remove()\n\nIf a SCSI disk is unplugged while runtime suspended, its request queue is\nstill in the pm-only state when sd_remove() is called. The runtime resume\nattempted by scsi_autopm_get_device() fails because the parent device,\ne.g. a USB device in the USB_STATE_NOTATTACHED state, cannot be\nresumed. Hence, sdev_runtime_resume() is not called and the pm-only state\nis not cleared. Next, del_gendisk() calls blk_report_disk_dead(disk,\nfalse), which calls sync_filesystem(). Any bio submitted by the filesystem\nwaits forever in __bio_queue_enter() because the queue will never leave the\npm-only state and because GD_DEAD has not yet been set:\n\n __bio_queue_enter+0xb8/0x174\n blk_mq_submit_bio+0x640/0x7e4\n [ ... ]\n exfat_sync_fs+0xa4/0xe0\n sync_filesystem+0xa8/0xdc\n fs_bdev_mark_dead+0x30/0x88\n bdev_mark_dead+0x54/0xc4\n blk_report_disk_dead+0x8c/0xd4\n del_gendisk+0xa0/0x2f8\n sd_remove+0x30/0x60\n [ ... ]\n scsi_remove_host+0x88/0x18c\n usb_stor_disconnect+0x68/0xf4\n\nFix this hang by calling blk_mark_disk_dead() if runtime resume fails.\nThis sets GD_DEAD, tells the filesystem that the disk has been removed\nwithout attempting to sync it, and wakes up any bios that are waiting in\n__bio_queue_enter(). Syncing the filesystem is not possible anyway if\nruntime resume failed, so no data is lost that could otherwise have been\nwritten. If runtime resume succeeds, behavior is not changed.\n\nPlease note that this patch converts temporary runtime resume failures into\npermanent failures. Before this patch, if runtime resume fails temporarily,\na filesytem sync would be postponed until a later resume succeeds.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:30","updated_at":"2026-11-30 14:20:30"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/085bb18a0b91007f04ddca13af30277c78040157","name":"https://git.kernel.org/stable/c/085bb18a0b91007f04ddca13af30277c78040157","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5276c3501f8762151a8aa87a1ada24ecfd4b5109","name":"https://git.kernel.org/stable/c/5276c3501f8762151a8aa87a1ada24ecfd4b5109","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99934","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99934","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f8191fdf41d3a53cc1d63fe2234e812c55a0092 5276c3501f8762151a8aa87a1ada24ecfd4b5109 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f8191fdf41d3a53cc1d63fe2234e812c55a0092 085bb18a0b91007f04ddca13af30277c78040157 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d27b66257db183fe11c10f31246ae965adb005d3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19.12 5.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 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/scsi/sd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5276c3501f8762151a8aa87a1ada24ecfd4b5109","status":"affected","version":"6f8191fdf41d3a53cc1d63fe2234e812c55a0092","versionType":"git"},{"lessThan":"085bb18a0b91007f04ddca13af30277c78040157","status":"affected","version":"6f8191fdf41d3a53cc1d63fe2234e812c55a0092","versionType":"git"},{"status":"affected","version":"d27b66257db183fe11c10f31246ae965adb005d3","versionType":"git"},{"lessThan":"5.20","status":"affected","version":"5.19.12","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/scsi/sd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","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":"7.3.4","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd: Mark the disk dead if runtime resume fails in sd_remove()\n\nIf a SCSI disk is unplugged while runtime suspended, its request queue is\nstill in the pm-only state when sd_remove() is called. The runtime resume\nattempted by scsi_autopm_get_device() fails because the parent device,\ne.g. a USB device in the USB_STATE_NOTATTACHED state, cannot be\nresumed. Hence, sdev_runtime_resume() is not called and the pm-only state\nis not cleared. Next, del_gendisk() calls blk_report_disk_dead(disk,\nfalse), which calls sync_filesystem(). Any bio submitted by the filesystem\nwaits forever in __bio_queue_enter() because the queue will never leave the\npm-only state and because GD_DEAD has not yet been set:\n\n __bio_queue_enter+0xb8/0x174\n blk_mq_submit_bio+0x640/0x7e4\n [ ... ]\n exfat_sync_fs+0xa4/0xe0\n sync_filesystem+0xa8/0xdc\n fs_bdev_mark_dead+0x30/0x88\n bdev_mark_dead+0x54/0xc4\n blk_report_disk_dead+0x8c/0xd4\n del_gendisk+0xa0/0x2f8\n sd_remove+0x30/0x60\n [ ... ]\n scsi_remove_host+0x88/0x18c\n usb_stor_disconnect+0x68/0xf4\n\nFix this hang by calling blk_mark_disk_dead() if runtime resume fails.\nThis sets GD_DEAD, tells the filesystem that the disk has been removed\nwithout attempting to sync it, and wakes up any bios that are waiting in\n__bio_queue_enter(). Syncing the filesystem is not possible anyway if\nruntime resume failed, so no data is lost that could otherwise have been\nwritten. If runtime resume succeeds, behavior is not changed.\n\nPlease note that this patch converts temporary runtime resume failures into\npermanent failures. Before this patch, if runtime resume fails temporarily,\na filesytem sync would be postponed until a later resume succeeds."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:18:25.127Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5276c3501f8762151a8aa87a1ada24ecfd4b5109"},{"url":"https://git.kernel.org/stable/c/085bb18a0b91007f04ddca13af30277c78040157"}],"title":"scsi: sd: Mark the disk dead if runtime resume fails in sd_remove()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99934","datePublished":"2026-11-30T13:18:25.127Z","dateReserved":"2026-09-25T10:25:14.447Z","dateUpdated":"2026-11-30T13:18:25.127Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:30","lastModifiedDate":"2026-11-30 14:20:30","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99934","Ordinal":"1","Title":"scsi: sd: Mark the disk dead if runtime resume fails in sd_remov","CVE":"CVE-2026-99934","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99934","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd: Mark the disk dead if runtime resume fails in sd_remove()\n\nIf a SCSI disk is unplugged while runtime suspended, its request queue is\nstill in the pm-only state when sd_remove() is called. The runtime resume\nattempted by scsi_autopm_get_device() fails because the parent device,\ne.g. a USB device in the USB_STATE_NOTATTACHED state, cannot be\nresumed. Hence, sdev_runtime_resume() is not called and the pm-only state\nis not cleared. Next, del_gendisk() calls blk_report_disk_dead(disk,\nfalse), which calls sync_filesystem(). Any bio submitted by the filesystem\nwaits forever in __bio_queue_enter() because the queue will never leave the\npm-only state and because GD_DEAD has not yet been set:\n\n __bio_queue_enter+0xb8/0x174\n blk_mq_submit_bio+0x640/0x7e4\n [ ... ]\n exfat_sync_fs+0xa4/0xe0\n sync_filesystem+0xa8/0xdc\n fs_bdev_mark_dead+0x30/0x88\n bdev_mark_dead+0x54/0xc4\n blk_report_disk_dead+0x8c/0xd4\n del_gendisk+0xa0/0x2f8\n sd_remove+0x30/0x60\n [ ... ]\n scsi_remove_host+0x88/0x18c\n usb_stor_disconnect+0x68/0xf4\n\nFix this hang by calling blk_mark_disk_dead() if runtime resume fails.\nThis sets GD_DEAD, tells the filesystem that the disk has been removed\nwithout attempting to sync it, and wakes up any bios that are waiting in\n__bio_queue_enter(). Syncing the filesystem is not possible anyway if\nruntime resume failed, so no data is lost that could otherwise have been\nwritten. If runtime resume succeeds, behavior is not changed.\n\nPlease note that this patch converts temporary runtime resume failures into\npermanent failures. Before this patch, if runtime resume fails temporarily,\na filesytem sync would be postponed until a later resume succeeds.","Type":"Description","Title":"scsi: sd: Mark the disk dead if runtime resume fails in sd_remov"}]}}}