What it is
On Linux systems protected by AppArmor, writing to a certain kind of local connection between programs can trigger an error inside the kernel, because AppArmor expects information about the other side that was never recorded. The result is a kernel crash while handling the write.
Written in plain English by AI from the official record. Show the official wording
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix NULL ctx->peer derefs in unix socket ctx updates aa_unix_file_perm lazily refreshes the AppArmor context cached on a unix socket. Two of the helpers it uses assume ctx->peer has already been set: update_peer_ctx -> l = aa_label_merge(old, label, GFP_ATOMIC); update_sk_ctx -> } else if (aa_label_is_subset(plabel, old)) { where @old is ctx->peer. Neither aa_label_merge nor aa_label_is_subset allows NULL. So both fault on the aa_label->size load. BUG: kernel NULL pointer dereference, address: 000000000000004c RIP: 0010:__aa_label_next_not_in_set+0xb/0xd0 Call Trace: aa_label_is_subset+0x3f/0x70 aa_unix_file_perm+0x5e8/0x9d0 aa_file_perm+0x45a/0x550 apparmor_file_permission+0x44/0xb0 security_file_permission+0x40/0x100 rw_verify_area+0x56/0x180 vfs_write+0x7c/0x480 ksys_write+0xbf/0xf0 ctx->peer is only recorded for stream connections and socket pairs. unix_dgram_connect sets unix_peer(sk) without going through that path, so a connected AF_UNIX datagram socket has unix_peer(sk) set while ctx->peer is still NULL, and the first write that needs revalidation reaches the helpers above. Both derefs date back to the Fixes: commit, but the update_sk_ctx() one was dormant until commit 4483efe4f215 ("apparmor: fix shadowing of plabel that prevents cache from being updated") stopped @plabel being shadowed, which is why bisecting the oops lands there. A NULL @old just means no peer label has been recorded yet, so install the label directly instead of merging or comparing against it.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 6.18.63, 7.3.4, 7.4-rc1.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.
Others attackers have used in the same products
-
CVE-2026-46300 Oct 28, 2026
A flaw in how the Linux kernel merges incoming network data can make it decrypt data on top of a file's cached contents, changing them. Someone already signed in can use it, and CISA says it can be combined with two other problems to plant web shells and run commands with full control. Attackers are already using this problem.
-
CVE-2026-53266 Sep 18, 2026
A flaw in the Linux kernel's network bridge filtering lets an address rewrite write into a file's cached contents rather than the network packet. Someone already signed in can use this to change files they should not be able to change. Attackers are already using this problem.
-
CVE-2025-39964 Sep 18, 2026
A timing flaw in the Linux kernel's encryption interface for programs lets two writes at once leave it in an inconsistent state. Someone already signed in to the computer can trigger it. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem.
-
CVE-2025-39682 Sep 18, 2026
A flaw in how the Linux kernel receives encrypted (TLS) network data mishandles an empty record, so later data can be processed the wrong way. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem, and CISA notes some affected systems may be past their support life.
-
CVE-2026-53362 Aug 27, 2026
A flaw in how the Linux kernel builds IPv6 network packets lets a user with no special rights write past the memory set aside for them. CISA says this can be used to gain full control of the system, and attackers are already using it. It can affect many products built on Linux, including SUSE and Red Hat.