Linux Kernel Open vSwitch Flow Delete Use-After-Free Information Disclosure Vulnerability
A use-after-free flaw in the Linux kernel's Open vSwitch handling of flow mask objects lets a local attacker with low-privileged code access read sensitive kernel memory. The text says this could be combined with other bugs to escalate privileges and run code in the kernel.
Anthony Laou Hine Tsuei Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information on affected installations of the Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 a use-after-free: the code did not check that a sw_flow_mask object still existed before operating on it.
Impact
A local attacker with low-privileged code execution could disclose sensitive kernel information and, in combination with other vulnerabilities, could escalate privileges and execute arbitrary code in the kernel.
What the attacker needed
Local low-privileged code execution
The fix
Linux issued an update to correct the vulnerability.
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.
Open vSwitch is software that handles network traffic inside the Linux kernel. A flow mask is a small record used to match packets. The kernel could still use one of these records after it had already been freed, so a local user who can run code on the machine may be able to read leftover memory or, with other bugs, take over the kernel.
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.