CVE-2026-23408

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
01/04/2026
Last modified:
24/04/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> apparmor: Fix double free of ns_name in aa_replace_profiles()<br /> <br /> if ns_name is NULL after<br /> 1071 error = aa_unpack(udata, &amp;lh, &amp;ns_name);<br /> <br /> and if ent-&gt;ns_name contains an ns_name in<br /> 1089 } else if (ent-&gt;ns_name) {<br /> <br /> then ns_name is assigned the ent-&gt;ns_name<br /> 1095 ns_name = ent-&gt;ns_name;<br /> <br /> however ent-&gt;ns_name is freed at<br /> 1262 aa_load_ent_free(ent);<br /> <br /> and then again when freeing ns_name at<br /> 1270 kfree(ns_name);<br /> <br /> Fix this by NULLing out ent-&gt;ns_name after it is transferred to ns_name<br /> <br /> ")

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5.1 (including) 5.10.253 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.203 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.169 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.130 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.77 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.18 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.8 (excluding)
cpe:2.3:o:linux:linux_kernel:5.5:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*