summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/at91rm9200_wdt.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-12-28 16:22:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-28 21:42:30 +0100
commit1a80dade010c7a7f4885a4c4c2a7ac22cc7b34df (patch)
tree95cc3a11b8292c2abeb81fecec48739e2390d087 /drivers/watchdog/at91rm9200_wdt.c
parentMerge tag 'locks-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jl... (diff)
downloadlinux-1a80dade010c7a7f4885a4c4c2a7ac22cc7b34df.tar.xz
linux-1a80dade010c7a7f4885a4c4c2a7ac22cc7b34df.zip
Fix failure path in alloc_pid()
The failure path removes the allocated PIDs from the wrong namespace. This could lead to us inadvertently reusing PIDs in the leaf namespace and leaking PIDs in parent namespaces. Fixes: 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API") Cc: <stable@vger.kernel.org> Signed-off-by: Matthew Wilcox <willy@infradead.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/at91rm9200_wdt.c')
0 files changed, 0 insertions, 0 deletions