]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: log aead integrity violations to audit subsystem
authorMichael Weiß <michael.weiss@aisec.fraunhofer.de>
Sat, 4 Sep 2021 09:59:30 +0000 (11:59 +0200)
committerMike Snitzer <snitzer@redhat.com>
Wed, 27 Oct 2021 20:54:37 +0000 (16:54 -0400)
commit62e55473f34221d811c1bddfb74e3d708d0179c9
tree4180ea9da92915c45cf7c089157c663fcc5f78e4
parent9e053442731d7f9416ad129e6a3750c7438efc67
dm crypt: log aead integrity violations to audit subsystem

Since dm-crypt target can be stacked on dm-integrity targets to
provide authenticated encryption, integrity violations are recognized
here during aead computation. We use the dm-audit submodule to
signal those events to user space, too.

The construction and destruction of crypt device mappings are also
logged as audit events.

Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c