tast: Add software dep for kfence

We need to know if kfence is enabled in the kernel so that we only run
tests for kfence on ones where the config is enabled. We haven't
backported the code beyond v5.10, so make the dep only exist when the
kernel version isn't earlier than that version.

BUG=b:302027202
TEST=fast_build.sh

Change-Id: I909e2e13f3c44d759a2bebd83c3cbd6e9034e627
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/5090089
Reviewed-by: Ian Barkley-Yeung <[email protected]>
Commit-Queue: ChromeOS Auto Retry <[email protected]>
Tested-by: Stephen Boyd <[email protected]>
Reviewed-by: Zubin Mithra <[email protected]>
Reviewed-by: Seewai Fu <[email protected]>
diff --git a/docs/test_dependencies.md b/docs/test_dependencies.md
index b4df451..c43bbcc 100644
--- a/docs/test_dependencies.md
+++ b/docs/test_dependencies.md
@@ -132,6 +132,7 @@
 * `io_uring` - Whether the platform (kernel) has the io_uring syscalls enabled.
 * `iwlwifi_rescan` - Ability to remove/rescan WiFi PCI device when the
     hardware becomes non-responsive.
+* `kfence_enabled` - Whether the kernel has kfence (CONFIG_KFENCE) enabled.
 * `known_fixed_ssd` - Set when the fixed SSD location globs are defined. They are not for board:reven (the hardware is not fixed) and VMs, since the path
     is either not defined (if taken directly from xxx-generic overlay) or already defined to real hardware location.
     Only for betty we do defined a "hardware" path since that board is only used for VM.