Fix op_recv stack corruption
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | test/send_recvmsg: Preserve msghdr until op_recvmsg completestest/ | +8 | 7 replies | |
| 2/2 | test/recv-msgall-stream: Preserve msghdr until op_recvmsg completestest/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH liburing 0/2] Fix op_recv stack corruption
Jens,
These two tests were failing on my debug infrastructure. It seems gcc hides the issue with a higher level of optimization, most likely by smarting out the local variable allocation straight to registers, which is why we don't observe it more often. When building with '-O0 -g3', I could trigger it 100% of time. Tested with kernel 7.2-rc4.
Gabriel Krisman Bertazi (2):
test/send_recvmsg: Preserve msghdr until op_recvmsg completes test/recv-msgall-stream: Preserve msghdr until op_recvmsg completes
test/recv-msgall-stream.c | 14 +++++++------- test/send_recvmsg.c | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-)
Signature · 1 line
2.54.0