diff options
| author | Jakub Kicinski <[email protected]> | 2025-07-08 15:39:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 15:39:53 +0000 |
| commit | 40c47232772e45385757e8c979d8871895c78823 (patch) | |
| tree | e36fa8c3602a18a307393d45fd7c8b17fea2d8d0 /rust/helpers/cpu.c | |
| parent | net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe() (diff) | |
| parent | vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local` (diff) | |
| download | kernel-40c47232772e45385757e8c979d8871895c78823.tar.gz kernel-40c47232772e45385757e8c979d8871895c78823.zip | |
Merge branch 'vsock-fix-transport_-h2g-g2h-dgram-local-toctou-issues'
Michal Luczaj says:
====================
vsock: Fix transport_{h2g,g2h,dgram,local} TOCTOU issues
transport_{h2g,g2h,dgram,local} may become NULL on vsock_core_unregister().
Make sure a poorly timed `rmmod transport` won't lead to a NULL/stale
pointer dereference.
Note that these oopses are pretty unlikely to happen in the wild. Splats
were collected after sprinkling kernel with mdelay()s.
v3: https://lore.kernel.org/[email protected]
v2: https://lore.kernel.org/[email protected]
v1: https://lore.kernel.org/[email protected]
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions
