The Linux kernel before 6.5.4 has an es1 use-after-free in fs/ext4/extents_status.c, related to ext4_es_insert_extent.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://lore.kernel.org/lkml/aa03f191-445c-0d2e-d6d7-0a3208d7df7a%40huawei.com/T/ | third party advisory |
https://www.spinics.net/lists/stable-commits/msg317086.html | patch mailing list third party advisory |
https://lkml.org/lkml/2023/8/13/477 | patch mailing list |
https://github.com/torvalds/linux/commit/768d612f79822d30a1e7d132a4d4b05337ce42ec | patch |
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.5.4 | release notes |