Researchers disclosed a KVM vulnerability in the Linux kernel stemming from a 2022 patch regression in nested virtualization support for AMD processors.
The flaw allowed a root user inside a virtual machine to read and write host memory under specific configurations.
Linux maintainers and cloud providers have released updated stable kernel versions containing the fix.
In their test, the researchers read about 127GB of memory from a DigitalOcean computer. On shared computers, the memory may contain data from other customers' virtual machines.
To do this, however, it is not enough for someone to have internet access. They must first control a virtual machine on the vulnerable computer and have full administrative rights within it.
What did the tests show?
Terra Security's Oren Yomtov discovered the issue and reported it through DigitalOcean's rewards program. The company confirmed that the method worked on its own computers and called the issue critical for its shared service. It implemented a fix without requiring any action from its customers.
In a separate test, the researchers used their own physical AMD computer, with no other customers. There, they were able to change 32 specific bytes of memory in the Linux running on the computer. In the DigitalOcean test, they had read about 127 GB of memory, but had not changed it.
↳
READ ALSO
HACKS.GR / RELATED
Vulnerabilities & Security Updates
SonicWall urges immediate replacement of old firewalls due to security risks
↗
Both tests were launched from a virtual machine controlled by the researchers, on which they had full administrative rights.
Who does it affect and how is it fixed?
The issue affects computers with AMD processors where virtual machine-within-a-virtual machine mode is active. KVM computers with Intel processors are not affected.
The fix is included in versions 7.3.5, 6.18.64 and 6.12.118 of the Linux core software. To protect a computer, a patch must be installed and a reboot must be performed. Linux maintainers were notified on October 21 and implemented the fix on November 2. The patches were released on Tuesday, before the research was published.
The issue has been present since version 6.1 of 2022 and was also present in versions 5.15.81 and 6.0.11. Therefore, older Linux versions based on them may also be affected.
At the time of publication, Debian listed all of its releases as vulnerable, with a fix only in unstable, while Ubuntu also listed its releases as vulnerable, with no patch package available. Red Hat reported that Enterprise Linux 9 and 10 were affected, with a fix pending, while version 8 was unaffected.
Until a fix is installed and a reboot is performed, administrators can disable the feature that allows a virtual machine to create other virtual machines. This means that customers who rely on this feature will not be able to use it. The change cannot be made while virtual machines are running, so administrators must first notify affected customers.
No attacks outside of the investigation have been reported.
VirtFusion says there is no evidence that the issue has been used outside of research. No code has been published showing how it can be exploited, nor is there a guide to identifying an earlier attempt.
Severity ratings vary. The Linux team gave it a rating of 8,8 out of 10, estimating that data could be read or changed and the computer's operation could be affected. Red Hat initially rated it as medium risk, with a rating of 5,6, considering the impact limited to a possible outage.
>Stay connected with Hacks.gr
Set us as a preferred source on Google and find us on social media.
Preferred source
↗
end of article

