apparmor: aa_label_alloc use aa_label_free on alloc failure
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
apparmor: aa_label_alloc use aa_label_free on alloc failure
aa_label_alloc() allocates a secid before allocating or taking the label
proxy. If the later proxy step fails, the error path only freed the label
memory, leaking any resources initialized by aa_label_init().
Use aa_label_free() on the failure path so partially initialized labels
release their secid and other label resources before the backing memory is
freed.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/654fe7505dc6889724d4094fa64f89991afabfc3https://git.kernel.org/stable/c/6d91479174240f39e9edea250d95fa08c678a207https://git.kernel.org/stable/c/7cb69e109610bba500e1ecb870f7988a4717208ahttps://git.kernel.org/stable/c/ae02e603c0b39b29f3ce6fe3efe01b286af1a2a4https://git.kernel.org/stable/c/b14fbacad77d64594228983ec20d61a224f3f491https://git.kernel.org/stable/c/b5a9da5d36162d34db0f36abb15420e295176793https://git.kernel.org/stable/c/bf310b044e85d4de670c94295c5d8e4c5bc5e7bchttps://git.kernel.org/stable/c/cc2192899d502e3321e60cf1e91421e7309d089c