# CVE-2026-46254: AppArmor: Allow apparmor to handle unaligned dfa tables

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-06-03T15:49:50.994Z
- **Modified:** 2026-10-30T13:19:00.450Z

## Who should check

- Anyone running Linux \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 60d175ecba4d067bd3379617eb09a905de476fcc; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< bd00629b527888a08a5222640fea045c6f64f5b5; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 23f112bd6144e815153462e12d313ac3e7027168; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< cded636008bde2b397a7cf63b8299d7c303aaf6a; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 64802f731214a51dfe3c6c27636b3ddafd003eb0
- Anyone running Linux 4.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

AppArmor: Allow apparmor to handle unaligned dfa tables

The dfa tables can originate from kernel or userspace and 8-byte alignment
isn't always guaranteed and as such may trigger unaligned memory accesses
on various architectures. Resulting in the following

\[   73.901376\] WARNING: CPU: 0 PID: 341 at security/apparmor/match.c:316 aa\_dfa\_unpack+0x6cc/0x720
\[   74.015867\] Modules linked in: binfmt\_misc evdev flash sg drm drm\_panel\_orientation\_quirks backlight i2c\_core configfs nfnetlink autofs4 ext4 crc16 mbcache jbd2 hid\_generic usbhid sr\_mod hid cdrom
sd\_mod ata\_generic ohci\_pci ehci\_pci ehci\_hcd ohci\_hcd pata\_ali libata sym53c8xx scsi\_transport\_spi tg3 scsi\_mod usbcore libphy scsi\_common mdio\_bus usb\_common
\[   74.428977\] CPU: 0 UID: 0 PID: 341 Comm: apparmor\_parser Not tainted 6.18.0-rc6+ \#9 NONE
\[   74.536543\] Call Trace:
\[   74.568561\] \[\<0000000000434c24\>\] dump\_stack+0x8/0x18
\[   74.633757\] \[\<0000000000476438\>\] \_\_warn+0xd8/0x100
\[   74.696664\] \[\<00000000004296d4\>\] warn\_slowpath\_fmt+0x34/0x74
\[   74.771006\] \[\<00000000008db28c\>\] aa\_dfa\_unpack+0x6cc/0x720
\[   74.843062\] \[\<00000000008e643c\>\] unpack\_pdb+0xbc/0x7e0
\[   74.910545\] \[\<00000000008e7740\>\] unpack\_profile+0xbe0/0x1300
\[   74.984888\] \[\<00000000008e82e0\>\] aa\_unpack+0xe0/0x6a0
\[   75.051226\] \[\<00000000008e3ec4\>\] aa\_replace\_profiles+0x64/0x1160
\[   75.130144\] \[\<00000000008d4d90\>\] policy\_update+0xf0/0x280
\[   75.201057\] \[\<00000000008d4fc8\>\] profile\_replace+0xa8/0x100
\[   75.274258\] \[\<0000000000766bd0\>\] vfs\_write+0x90/0x420
\[   75.340594\] \[\<00000000007670cc\>\] ksys\_write+0x4c/0xe0
\[   75.406932\] \[\<0000000000767174\>\] sys\_write+0x14/0x40
\[   75.472126\] \[\<0000000000406174\>\] linux\_sparc\_syscall+0x34/0x44
\[   75.548802\] ---\[ end trace 0000000000000000 \]---
\[   75.609503\] dfa blob stream 0xfff0000008926b96 not aligned.
\[   75.682695\] Kernel unaligned access at TPC\[8db2a8\] aa\_dfa\_unpack+0x6e8/0x720

Work around it by using the get\_unaligned\_xx() helpers.

## Affected and fixed versions

- Linux: \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 60d175ecba4d067bd3379617eb09a905de476fcc; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< bd00629b527888a08a5222640fea045c6f64f5b5; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 23f112bd6144e815153462e12d313ac3e7027168; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< cded636008bde2b397a7cf63b8299d7c303aaf6a; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 64802f731214a51dfe3c6c27636b3ddafd003eb0 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 64802f731214a51dfe3c6c27636b3ddafd003eb0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46254. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46254.md
Affected: Linux >= e6e8bf418850d7958311a96ccfb594f2bcc8313e, < 60d175ecba4d067bd3379617eb09a905de476fcc; >= e6e8bf418850d7958311a96ccfb594f2bcc8313e, < bd00629b527888a08a5222640fea045c6f64f5b5; >= e6e8bf418850d7958311a96ccfb594f2bcc8313e, < ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e; >= e6e8bf418850d7958311a96…
Fixed in: Linux 60d175ecba4d067bd3379617eb09a905de476fcc, Linux 23f112bd6144e815153462e12d313ac3e7027168, Linux 64802f731214a51dfe3c6c27636b3ddafd003eb0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46254 being exploited?

There is no confirmed exploitation: CVE-2026-46254 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46254?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46254?

Linux \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 60d175ecba4d067bd3379617eb09a905de476fcc; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< bd00629b527888a08a5222640fea045c6f64f5b5; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 23f112bd6144e815153462e12d313ac3e7027168; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< cded636008bde2b397a7cf63b8299d7c303aaf6a; \>= e6e8bf418850d7958311a96ccfb594f2bcc8313e, \< 64802f731214a51dfe3c6c27636b3ddafd003eb0; Linux 4.11.

### Is there a fix for CVE-2026-46254?

Yes. Fixed in Linux 60d175ecba4d067bd3379617eb09a905de476fcc, Linux 23f112bd6144e815153462e12d313ac3e7027168, Linux 64802f731214a51dfe3c6c27636b3ddafd003eb0. Upgrade Linux to 64802f731214a51dfe3c6c27636b3ddafd003eb0 or later.

### How do I check if I'm affected by CVE-2026-46254?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e>
- patch: <https://git.kernel.org/stable/c/23f112bd6144e815153462e12d313ac3e7027168>
- patch: <https://git.kernel.org/stable/c/cded636008bde2b397a7cf63b8299d7c303aaf6a>
- patch: <https://git.kernel.org/stable/c/64802f731214a51dfe3c6c27636b3ddafd003eb0>
- other: <https://git.kernel.org/stable/c/60d175ecba4d067bd3379617eb09a905de476fcc>
- other: <https://git.kernel.org/stable/c/bd00629b527888a08a5222640fea045c6f64f5b5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46254>

HTML: <https://flawdb.com/CVE-2026-46254> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46254>
