WSL2-Linux-Kernel/ipc
Andrew Morton 64b4c411a6 ipc/msg.c: fix percpu_counter use after free
These percpu counters are referenced in free_ipcs->freeque, so destroy
them later.

Fixes: 72d1e61108 ("ipc/msg: mitigate the lock contention with percpu counter")
Reported-by: syzbot+96e659d35b9d6b541152@syzkaller.appspotmail.com
Tested-by: Mark Rutland <mark.rutland@arm.com>
Cc: Jiebin Sun <jiebin.sun@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-28 13:37:22 -07:00
..
Makefile
compat.c
ipc_sysctl.c ipc: Remove extra braces 2022-05-03 17:25:58 -05:00
mq_sysctl.c ipc: Store mqueue sysctls in the ipc namespace 2022-03-08 13:39:40 -06:00
mqueue.c - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
msg.c ipc/msg.c: fix percpu_counter use after free 2022-10-28 13:37:22 -07:00
msgutil.c ipc: Use generic ns_common::count 2020-08-19 14:13:52 +02:00
namespace.c ipc/msg: mitigate the lock contention with percpu counter 2022-10-03 14:21:44 -07:00
sem.c ipc: update semtimedop() to use hrtimer 2022-05-09 18:29:20 -07:00
shm.c ipc/shm: use VMA iterator instead of linked list 2022-09-26 19:46:21 -07:00
syscall.c
util.c ipc/util.c: cleanup and improve sysvipc_find_ipc() 2022-09-11 21:55:05 -07:00
util.h ipc/msg: mitigate the lock contention with percpu counter 2022-10-03 14:21:44 -07:00