PT-2026-162901

CVE-2026-99934

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
scsi: sd: Mark the disk dead if runtime resume fails in sd remove()
If a SCSI disk is unplugged while runtime suspended, its request queue is still in the pm-only state when sd remove() is called. The runtime resume attempted by scsi autopm get device() fails because the parent device, e.g. a USB device in the USB STATE NOTATTACHED state, cannot be resumed. Hence, sdev runtime resume() is not called and the pm-only state is not cleared. Next, del gendisk() calls blk report disk dead(disk, false), which calls sync filesystem(). Any bio submitted by the filesystem waits forever in bio queue enter() because the queue will never leave the pm-only state and because GD DEAD has not yet been set:
bio queue enter+0xb8/0x174 blk mq submit bio+0x640/0x7e4 [ ... ] exfat sync fs+0xa4/0xe0 sync filesystem+0xa8/0xdc fs bdev mark dead+0x30/0x88 bdev mark dead+0x54/0xc4 blk report disk dead+0x8c/0xd4 del gendisk+0xa0/0x2f8 sd remove+0x30/0x60 [ ... ] scsi remove host+0x88/0x18c usb stor disconnect+0x68/0xf4
Fix this hang by calling blk mark disk dead() if runtime resume fails. This sets GD DEAD, tells the filesystem that the disk has been removed without attempting to sync it, and wakes up any bios that are waiting in bio queue enter(). Syncing the filesystem is not possible anyway if runtime resume failed, so no data is lost that could otherwise have been written. If runtime resume succeeds, behavior is not changed.
Please note that this patch converts temporary runtime resume failures into permanent failures. Before this patch, if runtime resume fails temporarily, a filesytem sync would be postponed until a later resume succeeds.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾