Description
The blkcg_init_queue function in block/blk-cgroup.c in the Linux kernel before 4.11 allows local users to cause a denial of service (double free) or possibly have unspecified other impact by triggering a creation failure.
The blkcg_init_queue function in block/blk-cgroup.c in the Linux kernel before 4.11 allows local users to cause a denial of service (double free) or possibly have unspecified other impact by triggering a creation failure.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| canonical | ubuntu linux | 14.04 | – |
| canonical | ubuntu linux | 16.04 | – |
| debian | debian linux | 9.0 | – |
| linux | linux kernel | >= 4.1.41 < 4.1.51 | – |
| linux | linux kernel | >= 4.3 < 4.4.123 | – |
| linux | linux kernel | >= 4.5 < 4.9.89 | – |
| linux | linux kernel | >= 4.10 < 4.11 | – |
CWE-415 Double Free
The product calls free() twice on the same memory address.
| Scope | Impact |
|---|---|
| Integrity, Confidentiality, Availability | Modify Memory, Execute Unauthorized Code or Commands When a program calls free() twice with the same argument, the program's memory management data structures may become corrupted, potentially leading to the reading or modification of unexpected memory addresses. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same pointer. If malloc() returns the same value twice and the program later gives the attacker control over the data that is written into this doubly-allocated memory, the program becomes vulnerable to a buffer overflow attack. Doubly freeing memory may result in a write-what-where condition, allowing an attacker to execute arbitrary code. |
All 968 CWE-415 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org