+To Greg
Ping :)
This series is also available for 6.1 [1] and 5.15 [2]
@Greg:
In the future, should I put you or someone else in CC every time I send
a series?
Thanks,
Luigi
[1]https://lore.kernel.org/stable/20250225-backport_fix-v1-0-71243c63da05@xxxxxxxxxx/
[2]https://lore.kernel.org/stable/20250225-backport_fix_5_15-v1-0-479a1cce11a8@xxxxxxxxxx/
On Tue, Feb 25, 2025 at 03:26:27PM +0100, Luigi Leonardi wrote:
Hi all,
This series backports three upstream commits:
- 135ffc7 "bpf, vsock: Invoke proto::close on close()"
- fcdd224 "vsock: Keep the binding until socket destruction"
- 78dafe1 "vsock: Orphan socket after transport release"
Although this version of the kernel does not support sockmap, I think
backporting this patch can be useful to reduce conflicts in future
backports [1]. It does not harm the system. The comment it introduces in
the code can be misleading. I added some words in the commit to explain
the situation.
The other two commits are untouched, fixing a use-after free[2] and a
null-ptr-deref[3] respectively.
[1]https://lore.kernel.org/stable/f7lr3ftzo66sl6phlcygh4xx4spga4b6je37fhawjrsjtexzne@xhhwaqrjznlp/
[2]https://lore.kernel.org/all/20250128-vsock-transport-vs-autobind-v3-0-1cf57065b770@xxxxxxx/
[3]https://lore.kernel.org/all/20250210-vsock-linger-nullderef-v3-0-ef6244d02b54@xxxxxxx/
Cheers,
Luigi
To: Stefano Garzarella <sgarzare@xxxxxxxxxx>
To: Michal Luczaj <mhal@xxxxxxx>
To: stable@xxxxxxxxxxxxxxx
Signed-off-by: Luigi Leonardi <leonardi@xxxxxxxxxx>
---
Michal Luczaj (3):
bpf, vsock: Invoke proto::close on close()
vsock: Keep the binding until socket destruction
vsock: Orphan socket after transport release
net/vmw_vsock/af_vsock.c | 77 +++++++++++++++++++++++++++++++-----------------
1 file changed, 50 insertions(+), 27 deletions(-)
---
base-commit: f0a53361993a94f602df6f35e78149ad2ac12c89
change-id: 20250220-backport_fix_5_10-0ae85f834bc4
Best regards,
--
Luigi Leonardi <leonardi@xxxxxxxxxx>