[PATCH 6.6.y 2/2] apparmor: Fix & Optimize table creation from possibly unaligned memory
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Oct 7 20:49:37 UTC 2026
> From: Helge Deller <deller at kernel.org>
>
> [ Upstream commit 6fc367bfd4c8886e6b1742aabbd1c0bdc310db3a ]
>
> Source blob may come from userspace and might be unaligned.
> Try to optize the copying process by avoiding unaligned memory accesses.
>
> - Added Fixes tag
> - Added "Fix &" to description as this doesn't just optimize but fixes
> a potential unaligned memory access
> Fixes: e6e8bf418850d ("apparmor: fix restricted endian type warnings for dfa unpack")
> Signed-off-by: Helge Deller <deller at gmx.de>
> [jj: remove duplicate word "convert" in comment trigger checkpatch warning]
> Signed-off-by: John Johansen <john.johansen at canonical.com>
> Assisted-by: LLM
> Signed-off-by: Artem Dinaburg <artem at trailofbits.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261007204226.47033-1-artem@trailofbits.com?part=2
More information about the Linux-security-module-archive
mailing list