apparmor: fix a leak on a rejected string table entry

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix a leak on a rejected string table entry

unpack_strs_table() stores each entry into the table only after validating it, so an entry the validation rejects is never freed. Up to 64KB leaks per rejected entry.

Store the pointer before validating it.

ProductVersions
Linux Linuxc140dcd1246bfe705921ca881bbb247ff1ba2bca to before 7a2962d20612a834e45d8a8bde5b36abb8e93aeb Affectedc140dcd1246bfe705921ca881bbb247ff1ba2bca to before f7bd6285ffeb425793334f6d48ccb5035cab2fa7 Affected
Linux Linux7.0 Affectedbefore 7.0 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.