CVE-2026-45893: apparmor: Fix & Optimize table creation from possibly unaligned memory
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
apparmor: Fix & Optimize table creation from possibly unaligned memory
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
[jj: remove duplicate word "convert" in comment trigger checkpatch warning]
The Linux kernel CVE team has assigned CVE-2026-45893 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.11 with commit e6e8bf418850d7958311a96ccfb594f2bcc8313e and fixed in 6.12.75 with commit 47e351dfef60ab0e3285133556e1a9c7f646a969 Issue introduced in 4.11 with commit e6e8bf418850d7958311a96ccfb594f2bcc8313e and fixed in 6.18.14 with commit e027999049c493fb728ead5a90db76942181a935 Issue introduced in 4.11 with commit e6e8bf418850d7958311a96ccfb594f2bcc8313e and fixed in 6.19.4 with commit 226c3b10aab23f73b03c47e7773107de56ba3a4e Issue introduced in 4.11 with commit e6e8bf418850d7958311a96ccfb594f2bcc8313e and fixed in 7.0 with commit 6fc367bfd4c8886e6b1742aabbd1c0bdc310db3a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-45893
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
security/apparmor/include/match.h
security/apparmor/match.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/47e351dfef60ab0e3285133556e1a9c7f646a969 https://git.kernel.org/stable/c/e027999049c493fb728ead5a90db76942181a935 https://git.kernel.org/stable/c/226c3b10aab23f73b03c47e7773107de56ba3a4e https://git.kernel.org/stable/c/6fc367bfd4c8886e6b1742aabbd1c0bdc310db3a