I realize 5.2 has long since sunsetted, and I really missed the boat on speaking up about this many many months ago, but in case any distros or organizations have a 5.2.x stable series, this should probably be reverted from 5.2. The reason is that 7d9e5f422 was added to 5.3, and introduced a UaF, which this commit then fixed. But without 7d9e5f422, this commit adds a memory leak.
Anyway, not worth spending too much brain cycles on this, considering 5.2 isn't even mentioned on kernel.org any more, but in case it helps for somebody doing something strange in years to come, voila.