# apparmor: Fix double free of ns_name in aa_replace_profiles()

CVE record · `CVE-2026-23408`

- **Identifiers:** `CVE-2026-23408`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 Apr 2026
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 Apr 2026, 08:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before c6347a2116ecccb8fd9ee4ebc75ae41d1d7ef689` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before c053ae381ce227577567d1ef10090ce7506d7a28` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 35f4caec1352054b9a61cfdf2bf1898073637aa0` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 55ef2af7490aaf72f8ffe11ec44c6bcb7eb2162a` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 86feeccd6b93ed94bd6655f30de80f163f8d5a45` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 7998ab3010d2317643f91828f1853d954ef31387` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 18b5233e860c294a847ee07869d93c0b8673a54b` (git)
  - affected: `145a0ef21c8e944957f58e2c8ffcd8a10f46266a to before 5df0c44e8f5f619d3beb871207aded7c78414502` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.5`
  - unaffected: `before 5.5` (semver)
  - unaffected: `5.10.253 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.203 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.169 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.130 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.77 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.18 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.8 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 1 Apr 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-23408](https://www.cve.org/CVERecord?id=CVE-2026-23408)
- [NVD: CVE-2026-23408](https://nvd.nist.gov/vuln/detail/CVE-2026-23408)

### References from the CNA

- <https://git.kernel.org/stable/c/c6347a2116ecccb8fd9ee4ebc75ae41d1d7ef689>
- <https://git.kernel.org/stable/c/c053ae381ce227577567d1ef10090ce7506d7a28>
- <https://git.kernel.org/stable/c/35f4caec1352054b9a61cfdf2bf1898073637aa0>
- <https://git.kernel.org/stable/c/55ef2af7490aaf72f8ffe11ec44c6bcb7eb2162a>
- <https://git.kernel.org/stable/c/86feeccd6b93ed94bd6655f30de80f163f8d5a45>
- <https://git.kernel.org/stable/c/7998ab3010d2317643f91828f1853d954ef31387>
- <https://git.kernel.org/stable/c/18b5233e860c294a847ee07869d93c0b8673a54b>
- <https://git.kernel.org/stable/c/5df0c44e8f5f619d3beb871207aded7c78414502>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-23408>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-23408/>. Everything for agents: <https://agentprime.io/llms.txt>.
