Linux Kernel AppArmor Unaligned Memory Access Vulnerability

Vulnerability

A vulnerability in the Linux kernel's AppArmor component allows for unaligned memory accesses, which can lead to warnings and potential issues on various architectures. This vulnerability arises because the deterministic finite automaton (DFA) tables used by AppArmor can come from either the kernel or userspace, and are not always guaranteed to be properly aligned. The lack of alignment can trigger unaligned memory accesses, causing warnings during execution. This issue has been observed in Linux kernel version 6.18.0-rc6.

Impact

Exploitation of this vulnerability can cause unaligned memory access warnings, which may indicate potential issues with memory handling on certain architectures.

Reproduction

The vulnerability can be reproduced by using AppArmor profiles that include unaligned DFA tables. This can be done by creating or modifying AppArmor profiles to introduce unaligned data, and then loading these profiles using the AppArmor parser. The unaligned access will trigger a warning, indicating that the vulnerability has been successfully reproduced.

Remediation

Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux kernel documentation.

Added: Jun 3, 2026, 6:38 PM
Updated: Jun 3, 2026, 6:38 PM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
1.9
exploitability
3.4
remediation
7.7
relevance
9.9
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.