CVE-2026-46254·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.4
Fixed in: 6.19.4
How to fix this CVE
Update your Linux kernel to version 6.19.4 or later to resolve this AppArmor vulnerability. The fix addresses unaligned memory access issues in the DFA table processing that can cause kernel warnings and system instability on certain architectures. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched version.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and verify if it falls within the vulnerable range (6.19.0 to 6.19.3)
- Step 2: Verify AppArmor is active by running `sudo systemctl status apparmor` and check if DFA table loading is occurring with `sudo aa-status`
- Step 3: Search kernel logs for unaligned access warnings using `sudo dmesg | grep -i 'unaligned\|dfa.*not aligned'` or check `/var/log/kern.log` for the same patterns
- Step 4: After updating to kernel 6.19.4 or later, confirm the fix with `uname -r` and reload AppArmor profiles using `sudo systemctl restart apparmor`
FAQ
What is CVE-2026-46254?
This vulnerability affects the Linux kernel's AppArmor security module, where DFA (Deterministic Finite Automaton) tables from kernel or userspace may lack proper 8-byte alignment. This causes unaligned memory access exceptions on certain CPU architectures (such as SPARC), triggering kernel warnings and potential system instability when AppArmor policy profiles are loaded.
Is CVE-2026-46254 being actively exploited?
No, CVE-2026-46254 is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public exploits are currently available. However, it can cause denial of service conditions when AppArmor profiles are deployed.
What versions of Kernel are affected by CVE-2026-46254?
Kernel versions 6.19.0 through 6.19.3 are vulnerable. The issue has been resolved in kernel 6.19.4 and later versions.
How do I check if my server is vulnerable to CVE-2026-46254?
Run `uname -r` to get your kernel version. If it shows 6.19.0 through 6.19.3, your system is vulnerable. Additionally, check if AppArmor is enabled with `sudo systemctl is-active apparmor`.
Does Defensia detect CVE-2026-46254?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46254 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/23f112bd6144e815153462e12d313ac3e7027168
- https://git.kernel.org/stable/c/60d175ecba4d067bd3379617eb09a905de476fcc
- https://git.kernel.org/stable/c/64802f731214a51dfe3c6c27636b3ddafd003eb0
- https://git.kernel.org/stable/c/bd00629b527888a08a5222640fea045c6f64f5b5
- https://git.kernel.org/stable/c/cded636008bde2b397a7cf63b8299d7c303aaf6a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46254. Free for 1 server.
Get started free