Reported as comment on https://build.opensuse.org/request/show/951354 (update to glibc 2.35)
I propose this patch for at least 3.0 and master. Backporting it to older releases can't hurt, even if seeing a new-enough glibc or kernel with them is less likely.