compilation|WARNING| pw(160785) sid(37270) job(PER_PATCH_BUILD17890)[v3] vhost: fix use-after-free in fdset during shutdown

sys_stv at intel.com sys_stv at intel.com
Wed Feb 4 22:44:17 CET 2026


Test-Label: Intel-compilation
Test-Status: WARNING
http://dpdk.org/patch/160785

_apply issues_

Submitter: Yehor Malikov <malikovyehor at gmail.com>
Date: 2026-02-04 21:32:39
Reply_mail: <20260204213239.15536-1-malikovyehor at gmail.com>

DPDK git baseline:
	Repo:dpdk-next-virtio, CommitID: 9e74a385a9ed2af4c8c846238f5cb6d228afe097
	Repo:dpdk, CommitID: b11692dbeecd48a58f83c2e68c1c5c626288fe40


* Repo: dpdk-next-virtio
vhost: fix mmap error check in VDUSE IOTLB miss handler
    
    The mmap() function returns MAP_FAILED on failure, not NULL.
    The current check for !mmap_addr will never detect mmap failures.
    
    When mmap fails but the error is not detected, an invalid address (-1)
--
    Subsequent attempts to access this address will cause memory
    corruption or crash.
    
    Fix by checking for MAP_FAILED instead of NULL. Also add strerror to
    the error message for easier debugging.
    
    Fixes: f27d5206c598 ("vhost: add VDUSE callback for IOTLB miss")
--
Server version missing
You should provide the server version in the URL configured via git-config or --server
This will be required in git-pw 2.0
Failed to apply patch:
error: patch failed: lib/vhost/socket.c:1197
error: lib/vhost/socket.c: patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: vhost: fix use-after-free in fdset during shutdown
Patch failed at 0001 vhost: fix use-after-free in fdset during shutdown
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

* Repo: dpdk
Server version missing
You should provide the server version in the URL configured via git-config or --server
This will be required in git-pw 2.0
Failed to apply patch:
error: patch failed: lib/vhost/socket.c:1197
error: lib/vhost/socket.c: patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: vhost: fix use-after-free in fdset during shutdown
Patch failed at 0001 vhost: fix use-after-free in fdset during shutdown
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
DPDK STV team


More information about the test-report mailing list