]> Gentwo Git Trees - linux/.git/commit
io_uring/cmd_net: fix wrong argument types for skb_queue_splice()
authorJens Axboe <axboe@kernel.dk>
Thu, 20 Nov 2025 18:40:15 +0000 (11:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Nov 2025 18:40:15 +0000 (11:40 -0700)
commit46447367a52965e9d35f112f5b26fc8ff8ec443d
treeae11cc0c7ac0c22abd5c253f6b4ce1dbd6036494
parent2d0e88f3fd1dcb37072d499c36162baf5b009d41
io_uring/cmd_net: fix wrong argument types for skb_queue_splice()

If timestamp retriving needs to be retried and the local list of
SKB's already has entries, then it's spliced back into the socket
queue. However, the arguments for the splice helper are transposed,
causing exactly the wrong direction of splicing into the on-stack
list. Fix that up.

Cc: stable@vger.kernel.org
Reported-by: Google Big Sleep <big-sleep-vuln-reports+bigsleep-462435176@google.com>
Fixes: 9e4ed359b8ef ("io_uring/netcmd: add tx timestamping cmd support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/cmd_net.c