PT-2026-85732 · Linux · Linux
CVE-2026-80854
·
Publicado
2026-09-04
·
Atualizado
2026-09-04
Nenhuma
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:
usb: gadget: f tcm: keep port count until LUN teardown completes
tcm usbg drop nexus() permits session removal once tpg port count
reaches zero. However, usbg port unlink() currently decrements that
count from the fabric pre unlink() callback, before core dev del lun()
waits for active se lun references to drain.
If removal of the last LUN races a nexus removal, the latter can observe
a zero port count and call target remove session(). This frees
sess cmd map while an in-flight struct usbg cmd, including its work item,
can still be accessed.
Overlapping the last-LUN unlink with nexus removal reproduces this
lifetime violation as a DEBUG OBJECTS "free active" warning for
usbg cmd work, followed by a target-core BUG/Oops.
The generic target-core unlink path has no callback after
core dev del lun() completes. Add an optional fabric post unlink()
callback and use it for the f tcm port count. The count now remains
nonzero until core dev del lun() has finished draining active LUN
references, preventing nexus removal from freeing the session during
command completion.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux