RE: BUG: stack guard page was hit in vsock_connectible_recvmsg
From: Dexuan Cui
Date: Fri Aug 02 2024 - 18:23:51 EST
> From: Ubisectech Sirius <bugreport@xxxxxxxxxxxxxx>
> Sent: Sunday, July 28, 2024 7:23 PM
> [...]
> Hello.
> We are Ubisectech Sirius Team, the vulnerability lab of China ValiantSec.
> Recently, our team has discovered a issue in Linux kernel 6.8. Attached to
> the email were a PoC file of the issue.
I had a look at the poc.c, which I think basically runs a test in a loop:
Create a new child process;
In the same process, do:
Start a vsock server via socket(), bind(), and listen();
Create a vsock connection to the server via connect();
The vsock server calls accept();
The sever and the client exchanges some data via writev(), recvmsg() and bpf().
I believe this test doesn't apply to Hyper-V Sockets, which doesn't support
creating a vsock connection inside the VM, and only allows creating a vsock
connection between the Windows host and the VM.
I suppose this is related to VMWare vsock or KVM vsock.
As Wei pointed out, please Cc the related people/lists.
Thanks,
Dexuan