summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-verity-verify-sig.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2023-01-31 22:22:57 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-12 16:20:56 +0100
commitd1c0e1587e6874cec3e3615097b907a9186505c8 (patch)
treed93603f706cbc7767739a9cb2ff4d1bf35c2dcdf /drivers/md/dm-verity-verify-sig.c
parentdm raid: fix some spelling mistakes in comments (diff)
downloadlinux-d1c0e1587e6874cec3e3615097b907a9186505c8.tar.xz
linux-d1c0e1587e6874cec3e3615097b907a9186505c8.zip
dm table: check that a dm device doesn't reference itself
If a DM device's table references itself, it will crash the kernel with an infinite recursion. Check for a self-reference in dm_get_device(). This is a quick check, but it won't catch more complicated circular references. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-verity-verify-sig.c')
0 files changed, 0 insertions, 0 deletions