A security vulnerability (CVE-2026-31431) found in the Linux kernel may allow a local, unprivileged user to escalate privileges to root. To exploit this vulnerability, an attacker only needs:
sudo, passwd, or fusermount)Any standard Linux user account with shell access typically meets these requirements.
The vulnerability allows the page cache of a loaded binary to be modified arbitrarily, potentially affecting more than just privilege escalation. For example, an attacker could use this vector from inside a compromised container to corrupt the page cache of a file that is on a layer that is shared between containers, affecting all containers using that layer. Similarly, corruption of bind-mounted host files would also affect the host system.
All versions of the Linux kernel since 4.14.0, released in 2017, are affected. The vulnerability has patches available in upstream Linux kernel releases for all currently-supported branches, including 5.15 (patched in 5.15.204), 6.1 (patched in 6.1.170), and 6.6 (patched in 6.6.137).
You are likely affected if all of the following are true:
sudo, passwd, or fusermount)CONFIG_CRYPTO_USER_API_AEADFor Torizon OS users, this kernel option is enabled by default.
For custom Yocto or BSP-based systems, verify whether CONFIG_CRYPTO_USER_API_AEAD=y or =m is present in your kernel configuration.
Toradex is working on patch releases for both BSP 6 and BSP 7, as well as the corresponding Torizon OS releases. This includes the Torizon OS 6.8.8 maintenance release and Torizon OS 7.6.1. We are currently completing the release process, and these updates will be available shortly. To receive a notification as soon as the releases are published Subscribe to Security Updates.
Although this vulnerability is serious, in the context of most embedded devices, it is only one link in an exploit chain. If your device has well-protected defenses against allowing users to execute arbitrary code, this vulnerability cannot be operationalized. Therefore, it may not merit an emergency out-of-band patch.
Torizon OS users
If you are using an affected version of Torizon OS, we recommend upgrading to the latest patched release as soon as it becomes available. If you have a threat model and use case that indicates this vulnerability affects your device immediately, we recommend issuing an update that blacklists this subsystem on the kernel command line. Add initcall_blacklist=algif_aead_init to your kernel command line to enable this mitigation. Refer to Customizing Kernel Arguments in Torizon for detailed instructions.
Toradex BSP/Custom Yocto Linux Distribution users
The Toradex BSP layer does not automatically enable the userspace interface for AEAD cipher algorithms (CONFIG_CRYPTO_USER_API_AEAD is not set). We recommend auditing your image and kernel config to determine if you have a vulnerable version, and patching/upgrading as soon as the updated BSP releases are available.
If you have a threat model and use case that indicates this vulnerability affects your device immediately, we recommend issuing the following update:
CONFIG_CRYPTO_USER_API_AEAD=y (built into the kernel), add initcall_blacklist=algif_aead_init to the kernel command line.CONFIG_CRYPTO_USER_API_AEAD=m (compiled as a module), blacklist the algif_aead kernel module./etc/passwd, for example via nss-systemd. Check your /etc/nsswitch.conf file for all potential places where users may be defined, and/or run compgen -u to see the current list of defined users on your system.