CVE-2026-23408: apparmor: Fix double free of ns_name in aa_replace_profiles()

Published Apr 1, 2026
·
Updated

apparmor: Fix double free of nsname in aareplaceprofiles()

Affected Software

17 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.0.0-1
Linux Linux kernel>=5.5.1<5.10.253
Linux Linux kernel>=5.11<5.15.203
Linux Linux kernel>=5.16<6.1.169
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.77
Linux Linux kernel>=6.13<6.18.18
Linux Linux kernel>=6.19<6.19.8
Linux Linux kernel=5.5
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In aa_replace_profiles(), after transferring ent->ns_name into ns_name (ns_name = ent->ns_name), NULL out ent->ns_name so it is not freed again later; ensure the double-free is prevented when kfree(ns_name) occurs.

    Linux kernel (apparmor) Fix double free of ns_name in aa_replace_profiles() = NULL out ent->ns_name after transferring to ns_name

Event History

Apr 1, 2026
CVE Published
via MITRE·08:36 AM
Data Sourced
via MITRE·08:36 AM
DescriptionSeverity
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 10, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-23408?

CVE-2026-23408 has been classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2026-23408?

To fix CVE-2026-23408, update your Linux kernel to the latest patched version provided by your distribution.

3

What is the impact of CVE-2026-23408?

CVE-2026-23408 may lead to a denial of service condition due to a double free vulnerability in AppArmor.

4

Which versions of the Linux kernel are affected by CVE-2026-23408?

CVE-2026-23408 affects various versions of the Linux kernel prior to the fix being applied.

5

What component of the Linux kernel does CVE-2026-23408 affect?

CVE-2026-23408 specifically affects the AppArmor security module in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203