summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1593
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
commitc50b0c4da17b6e83640e4ed2380fffb5f507c846 (patch)
treeb4f203fce1380e2ea3578a784bb8ee060fe42cbd /results/classifier/zero-shot-user-mode/output/instruction/1593
parent61361f925d4914a6608a0076e64cc2399311ed5f (diff)
downloadqemu-analysis-c50b0c4da17b6e83640e4ed2380fffb5f507c846.tar.gz
qemu-analysis-c50b0c4da17b6e83640e4ed2380fffb5f507c846.zip
add zero-shot results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/instruction/1593')
-rw-r--r--results/classifier/zero-shot-user-mode/output/instruction/159313
1 files changed, 13 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/1593 b/results/classifier/zero-shot-user-mode/output/instruction/1593
new file mode 100644
index 000000000..5b22b3651
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/output/instruction/1593
@@ -0,0 +1,13 @@
+instruction: 0.547
+runtime: 0.253
+syscall: 0.200
+
+
+
+SLIRP hostfwd ignores bind address and uses `INADDR_ANY`
+Description of problem:
+When using `-netdev hostfwd=`..., qemu SLIRP uses `INADDR_ANY` instead of any bind address provided by the user. As a result, even if the user specifies to listen only on localhost (e.g. `-netdev user,hostfwd=tcp:127.0.0.1:22-:22`), qemu will listen on `*.*`. This is a potential security issue (as it may unexpectedly expose the guest to internet or local network traffic).
+Additional information:
+The bug is here: https://gitlab.com/qemu-project/qemu/-/blob/master/net/slirp.c#L777
+
+Rather than hardcoding `INADDR_ANY`, qemu should respect the user-defined bind address.