Double Free in Linux kernel AppArmor aa_replace_profiles()
CVE-2026-23408 is a Linux kernel AppArmor vulnerability in aa_replace_profiles() caused by a double free of ns_name during profile replacement/parsing. In the vulnerable path, if aa_unpack(udata, &lh, &ns_name) leaves ns_name as NULL and the load entry already contains a namespace string in ent->ns_name, the code transfers ownership by assigning ns_name = ent->ns_name. Later, aa_load_ent_free(ent) frees ent->ns_name, and ns_name is then freed again via kfree(ns_name), resulting in a double free. The issue is triggered while parsing profiles written to AppArmor's .load or .replace interfaces, including cases where no explicit profile header namespace is provided but a profile name implicitly specifies one, such as :mynamespace:myprofile. The upstream fix is to clear ent->ns_name after transferring it to ns_name so the pointer is not freed twice.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.