Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < bab7dbba38ed3011972c3d9be2dcdca7575cbe32affectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < ad12e70d7dc3c94a05efc61d1e4861078e0e162baffectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < 52b769165f20b38092f28ce064b4b143471540a7affectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < 9168176894332312c12ef052e784735dbf4ffe3faffectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < b2fe9e140aa94b2816aab7ebc692b543e418f5e3affectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < 52007bfdce5310e8c8a29849bfbfb188a1e50ca0affectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < f7628eea9212e185a09df3aea603ca8580b8678daffectede0bdfe8e36f3fbbdc91e70bf927f743ca23917b0 to < b9f089723aee892efc77c349ae47a6b452b293c4affected
Linux Linux
Default version status: affected
4.19affected0 to < 4.19unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗