apparmor: aa_label_alloc use aa_label_free on alloc failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cc2192899d502e3321e60cf1e91421e7309d089c, Kernel 654fe7505dc6889724d4094fa64f89991afabfc3, Kernel 6d91479174240f39e9edea250d95fa08c678a207 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <cc2192899d502e3321e60cf1e91421e7309d089c, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <654fe7505dc6889724d4094fa64f89991afabfc3, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <6d91479174240f39e9edea250d95fa08c678a207, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <7cb69e109610bba500e1ecb870f7988a4717208a, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <ae02e603c0b39b29f3ce6fe3efe01b286af1a2a4, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <b14fbacad77d64594228983ec20d61a224f3f491, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <b5a9da5d36162d34db0f36abb15420e295176793, >=f1bd904175e8190ce14aedee37e207ab51fe3b30 <bf310b044e85d4de670c94295c5d8e4c5bc5e7bc, =4.13 | cc2192899d502e3321e60cf1e91421e7309d089c, 654fe7505dc6889724d4094fa64f89991afabfc3, 6d91479174240f39e9edea250d95fa08c678a207, 7cb69e109610bba500e1ecb870f7988a4717208a, ae02e603c0b39b29f3ce6fe3efe01b286af1a2a4, b14fbacad77d64594228983ec20d61a224f3f491, b5a9da5d36162d34db0f36abb15420e295176793, bf310b044e85d4de670c94295c5d8e4c5bc5e7bc |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.13.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket