Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: fs/resctrl: Fix double-add of pseudo-locked region's RMID to free list A pseudo-locked group's RMID is freed when it is created. On unmount rmdir_all_sub() unconditionally frees all RMID of all groups, resulting in a double-free of the pseudo-locked group's RMID. The consequence of this is that the original free results in the pseudo-locked group's RMID being added to the rmid_free_lru linked list and the second free then attempts to add the same RMID entry to the rmid_free_lru again. Do not double-free a pseudo-locked group's RMID.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before bab7dbba38ed3011972c3d9be2dcdca7575cbe32; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before ad12e70d7dc3c94a05efc61d1e4861078e0e162b; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before 52b769165f20b38092f28ce064b4b143471540a7; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before 9168176894332312c12ef052e784735dbf4ffe3f; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before b2fe9e140aa94b2816aab7ebc692b543e418f5e3; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before 52007bfdce5310e8c8a29849bfbfb188a1e50ca0; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before f7628eea9212e185a09df3aea603ca8580b8678d; affected e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 before b9f089723aee892efc77c349ae47a6b452b293c4 |
| Linux / Linux | affected 4.19; unaffected 0 before 4.19; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 through 5.15.*; unaffected 6.1.184 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bab7dbba38ed3011972c3d9be2dcdca7575cbe32
- https://git.kernel.org/stable/c/ad12e70d7dc3c94a05efc61d1e4861078e0e162b
- https://git.kernel.org/stable/c/52b769165f20b38092f28ce064b4b143471540a7
- https://git.kernel.org/stable/c/9168176894332312c12ef052e784735dbf4ffe3f
- https://git.kernel.org/stable/c/b2fe9e140aa94b2816aab7ebc692b543e418f5e3
- https://git.kernel.org/stable/c/52007bfdce5310e8c8a29849bfbfb188a1e50ca0
- https://git.kernel.org/stable/c/f7628eea9212e185a09df3aea603ca8580b8678d
- https://git.kernel.org/stable/c/b9f089723aee892efc77c349ae47a6b452b293c4