{"id":"CVE-2026-46254","aliases":["CVE-2026-46254"],"related":[],"kind":"vulnerability","state":"published","title":"AppArmor: Allow apparmor to handle unaligned dfa tables","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nAppArmor: Allow apparmor to handle unaligned dfa tables\n\nThe dfa tables can originate from kernel or userspace and 8-byte alignment\nisn't always guaranteed and as such may trigger unaligned memory accesses\non various architectures. Resulting in the following\n\n[   73.901376] WARNING: CPU: 0 PID: 341 at security/apparmor/match.c:316 aa_dfa_unpack+0x6cc/0x720\n[   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\nsd_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\n[   74.428977] CPU: 0 UID: 0 PID: 341 Comm: apparmor_parser Not tainted 6.18.0-rc6+ #9 NONE\n[   74.536543] Call Trace:\n[   74.568561] [<0000000000434c24>] dump_stack+0x8/0x18\n[   74.633757] [<0000000000476438>] __warn+0xd8/0x100\n[   74.696664] [<00000000004296d4>] warn_slowpath_fmt+0x34/0x74\n[   74.771006] [<00000000008db28c>] aa_dfa_unpack+0x6cc/0x720\n[   74.843062] [<00000000008e643c>] unpack_pdb+0xbc/0x7e0\n[   74.910545] [<00000000008e7740>] unpack_profile+0xbe0/0x1300\n[   74.984888] [<00000000008e82e0>] aa_unpack+0xe0/0x6a0\n[   75.051226] [<00000000008e3ec4>] aa_replace_profiles+0x64/0x1160\n[   75.130144] [<00000000008d4d90>] policy_update+0xf0/0x280\n[   75.201057] [<00000000008d4fc8>] profile_replace+0xa8/0x100\n[   75.274258] [<0000000000766bd0>] vfs_write+0x90/0x420\n[   75.340594] [<00000000007670cc>] ksys_write+0x4c/0xe0\n[   75.406932] [<0000000000767174>] sys_write+0x14/0x40\n[   75.472126] [<0000000000406174>] linux_sparc_syscall+0x34/0x44\n[   75.548802] ---[ end trace 0000000000000000 ]---\n[   75.609503] dfa blob stream 0xfff0000008926b96 not aligned.\n[   75.682695] Kernel unaligned access at TPC[8db2a8] aa_dfa_unpack+0x6e8/0x720\n\nWork around it by using the get_unaligned_xx() helpers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nAppArmor: Allow apparmor to handle unaligned dfa tables\n\nThe dfa tables can originate from kernel or userspace and 8-byte alignment\nisn't always guaranteed and as such may trigger unaligned memory accesses\non various architectures. Resulting in the following\n\n[   73.901376] WARNING: CPU: 0 PID: 341 at security/apparmor/match.c:316 aa_dfa_unpack+0x6cc/0x720\n[   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\nsd_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\n[   74.428977] CPU: 0 UID: 0 PID: 341 Comm: apparmor_parser Not tainted 6.18.0-rc6+ #9 NONE\n[   74.536543] Call Trace:\n[   74.568561] [<0000000000434c24>] dump_stack+0x8/0x18\n[   74.633757] [<0000000000476438>] __warn+0xd8/0x100\n[   74.696664] [<00000000004296d4>] warn_slowpath_fmt+0x34/0x74\n[   74.771006] [<00000000008db28c>] aa_dfa_unpack+0x6cc/0x720\n[   74.843062] [<00000000008e643c>] unpack_pdb+0xbc/0x7e0\n[   74.910545] [<00000000008e7740>] unpack_profile+0xbe0/0x1300\n[   74.984888] [<00000000008e82e0>] aa_unpack+0xe0/0x6a0\n[   75.051226] [<00000000008e3ec4>] aa_replace_profiles+0x64/0x1160\n[   75.130144] [<00000000008d4d90>] policy_update+0xf0/0x280\n[   75.201057] [<00000000008d4fc8>] profile_replace+0xa8/0x100\n[   75.274258] [<0000000000766bd0>] vfs_write+0x90/0x420\n[   75.340594] [<00000000007670cc>] ksys_write+0x4c/0xe0\n[   75.406932] [<0000000000767174>] sys_write+0x14/0x40\n[   75.472126] [<0000000000406174>] linux_sparc_syscall+0x34/0x44\n[   75.548802] ---[ end trace 0000000000000000 ]---\n[   75.609503] dfa blob stream 0xfff0000008926b96 not aligned.\n[   75.682695] Kernel unaligned access at TPC[8db2a8] aa_dfa_unpack+0x6e8/0x720\n\nWork around it by using the get_unaligned_xx() helpers.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nAppArmor: Permitir que apparmor maneje tablas dfa no alineadas\n\nLas tablas dfa pueden originarse desde el kernel o el espacio de usuario y la alineación de 8 bytes no siempre está garantizada y como tal puede desencadenar accesos a memoria no alineados en varias arquitecturas. Resultando en lo siguiente\n\n[ 73.901376] WARNING: CPU: 0 PID: 341 at security/apparmor/match.c:316 aa_dfa_unpack+0x6cc/0x720\n[ 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\nsd_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\n[ 74.428977] CPU: 0 UID: 0 PID: 341 Comm: apparmor_parser Not tainted 6.18.0-rc6+ #9 NONE\n[ 74.536543] Call Trace:\n[ 74.568561] [<0000000000434c24>] dump_stack+0x8/0x18\n[ 74.633757] [<0000000000476438>] __warn+0xd8/0x100\n[ 74.696664] [<00000000004296d4>] warn_slowpath_fmt+0x34/0x74\n[ 74.771006] [<00000000008db28c>] aa_dfa_unpack+0x6cc/0x720\n[ 74.843062] [<00000000008e643c>] unpack_pdb+0xbc/0x7e0\n[ 74.910545] [<00000000008e7740>] unpack_profile+0xbe0/0x1300\n[ 74.984888] [<00000000008e82e0>] aa_unpack+0xe0/0x6a0\n[ 75.051226] [<00000000008e3ec4>] aa_replace_profiles+0x64/0x1160\n[ 75.130144] [<00000000008d4d90>] policy_update+0xf0/0x280\n[ 75.201057] [<00000000008d4fc8>] profile_replace+0xa8/0x100\n[ 75.274258] [<0000000000766bd0>] vfs_write+0x90/0x420\n[ 75.340594] [<00000000007670cc>] ksys_write+0x4c/0xe0\n[ 75.406932] [<0000000000767174>] sys_write+0x14/0x40\n[ 75.472126] [<0000000000406174>] linux_sparc_syscall+0x34/0x44\n[ 75.548802] ---[ end trace 0000000000000000 ]---\n[ 75.609503] dfa blob stream 0xfff0000008926b96 not aligned.\n[ 75.682695] Kernel unaligned access at TPC[8db2a8] aa_dfa_unpack+0x6e8/0x720\n\nSolucionarlo utilizando las funciones auxiliares get_unaligned_xx().","source":"nvd"}],"published":"2026-06-03T15:49:50.994Z","modified":"2026-10-30T13:19:00.450Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"60d175ecba4d067bd3379617eb09a905de476fcc","status":"affected"},{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"bd00629b527888a08a5222640fea045c6f64f5b5","status":"affected"},{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e","status":"affected"},{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"23f112bd6144e815153462e12d313ac3e7027168","status":"affected"},{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"cded636008bde2b397a7cf63b8299d7c303aaf6a","status":"affected"},{"type":"git","introduced":"e6e8bf418850d7958311a96ccfb594f2bcc8313e","fixed":"64802f731214a51dfe3c6c27636b3ddafd003eb0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/60d175ecba4d067bd3379617eb09a905de476fcc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd00629b527888a08a5222640fea045c6f64f5b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec737e7fdf2f0ba7b203d4ec72cc915978b10e7e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23f112bd6144e815153462e12d313ac3e7027168","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cded636008bde2b397a7cf63b8299d7c303aaf6a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64802f731214a51dfe3c6c27636b3ddafd003eb0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46254","url":"https://www.cve.org/CVERecord?id=CVE-2026-46254","licence":"CVE Terms of Use","modified":"2026-10-30T12:26:13.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46254","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46254","licence":"Public domain","modified":"2026-10-30T13:19:00.450Z"}],"updatedAt":"2026-11-25T22:59:23.657Z","epss":{"score":0.00156,"percentile":0.05038,"date":"2026-12-01T12:00:22.000Z"}}