cveboard Feed RSS

CVE-2022-50215

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2022
Publicação na fonte
Atualização na fonte
Importado pelo cveboard
Snapshot da fonte
cve_2026-10-24_midnight_baseline ·

Texto simples

Texto da CNA em inglês

scsi: sg: Allow waiting for commands to complete on removed device

In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Allow waiting for commands to complete on removed device When a SCSI device is removed while in active use, currently sg will immediately return -ENODEV on any attempt to wait for active commands that were sent before the removal. This is problematic for commands that use SG_FLAG_DIRECT_IO since the data buffer may still be in use by the kernel when userspace frees or reuses it after getting ENODEV, leading to corrupted userspace memory (in the case of READ-type commands) or corrupted data being sent to the device (in the case of WRITE-type commands). This has been seen in practice when logging out of a iscsi_tcp session, where the iSCSI driver may still be processing commands after the device has been marked for removal. Change the policy to allow userspace to wait for active sg commands even when the device is being removed. Return -ENODEV only when there are no more responses to read.

Fatos de produtos e versões por escopo

Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.

Exploração desconhecida; este catálogo não avalia exploração.

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
unaffected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgitbbc118acf7baf9e93c5e1314d14f481301af4d0fIndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgitf5e61d9b4a699dd16f32d5f39eb1cf98d84c92edIndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgited9afd967cbfe7da2dc0d5e52c62a778dfe9f16bIndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgitf135c65085eed869d10e4e7923ce1015288618daIndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgit408bfa1489a3cfe7150b81ab0b0df99b23dd5411IndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgit8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8IndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgit35e60ec39e862159cb92923eefd5230d4a873cb9IndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgit03d8241112d5e3cccce1a01274a221099f07d2e1IndisponívelNenhuma listada
c6517b7942fad663cc1cf3235cbe4207cf769332affectedgit3455607fd7be10b449f5135c00dc306b85dc0d21IndisponívelNenhuma listada
a0fe972f78eaaf352d593f9ed9079de590ceb286affectedgitIndisponívelIndisponívelNenhuma listada
b21c6d2897cd455fa396f4041a0c8165784e949faffectedgitIndisponívelIndisponívelNenhuma listada
2.6.28.10affectedsemver2.6.29IndisponívelNenhuma listada
2.6.29.2affectedsemver2.6.30IndisponívelNenhuma listada

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
affected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
2.6.30affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver2.6.30IndisponívelNenhuma listada
4.9.326unaffectedsemverIndisponível4.9.*Nenhuma listada
4.14.291unaffectedsemverIndisponível4.14.*Nenhuma listada
4.19.256unaffectedsemverIndisponível4.19.*Nenhuma listada
5.4.211unaffectedsemverIndisponível5.4.*Nenhuma listada
5.10.137unaffectedsemverIndisponível5.10.*Nenhuma listada
5.15.61unaffectedsemverIndisponível5.15.*Nenhuma listada
5.18.18unaffectedsemverIndisponível5.18.*Nenhuma listada
5.19.2unaffectedsemverIndisponível5.19.*Nenhuma listada
6.0unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada