Abrt: chownproblemdir succeeds during active post-create event processing due to inadequate locking
Red Hat / Red Hat Enterprise Linux 7 Extended Lifecycle Support、Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support、Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On、Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support、Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On +3
A race condition was found in the abrt-dbus D-Bus service's ChownProblemDir method. ChownProblemDir opens the dump directory with DD_OPEN_READONLY and calls dd_chown to change ownership of all files to the caller's uid, succeeding even while post-create event handlers hold a write lock. This allows an attacker to gain filesystem-level control of the dump directory while privileged event scripts are still running.