GHSL-2020-037: Use after free in Chrome WebAudio
A use-after-free flaw in Chrome's WebAudio code occurs when a scheduled source node is finished and then a suspend is scheduled, leading to the handler being erased before use. An attacker could exploit this to cause memory corruption in the renderer.
Chromium version: master branch build e577636 Also tested on release google Chrome 80.3987.122 Operating System: linux 18.04
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the code erases a handler from a container before calling a method on it, causing the object to be freed and then used.
Impact
Use-after-free in the renderer, which could lead to memory corruption and potentially remote code execution.
What the attacker needed
Victim visits a malicious webpage
The fix
The issue was fixed in Chrome version 80.0.3987.149.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This report describes a memory safety bug in Chrome's audio processing. When certain audio nodes are cleaned up, the code frees memory and then tries to use it again, which can crash the browser or potentially allow an attacker to run malicious code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.