aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2022-10-20 21:19:22 -0700
committerAndrew Morton <akpm@linux-foundation.org>2022-10-28 13:37:22 -0700
commit64b4c411a6c7a5f27555bfc2d6310b87bde3db67 (patch)
tree878e60cfde45dea3ee6379d66b5a55c934947e24 /ipc/compat.c
parentmemory tier, sysfs: rename attribute "nodes" to "nodelist" (diff)
downloadlinux-dev-64b4c411a6c7a5f27555bfc2d6310b87bde3db67.tar.xz
linux-dev-64b4c411a6c7a5f27555bfc2d6310b87bde3db67.zip
ipc/msg.c: fix percpu_counter use after free
These percpu counters are referenced in free_ipcs->freeque, so destroy them later. Fixes: 72d1e611082e ("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>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions