Description
A flaw was found in the Udisks daemon, where it allows unprivileged users to create loop devices using the D-BUS system. This is achieved via the loop device handler, which handles requests sent through the D-BUS interface. As two of the parameters of this handle, it receives the file descriptor list and index specifying the file where the loop device should be backed. The function itself validates the index value to ensure it isn't bigger than the maximum value allowed. However, it fails to validate the lower bound, allowing the index parameter to be a negative value. Under these circumstances, an attacker can cause the UDisks daemon to crash or perform a local privilege escalation by gaining access to files owned by privileged users.
Problem types
Product status
0:2.10.90-5.el10_0.1 before *
0:2.8.4-1.el7_9.2 before *
0:2.9.0-16.el8_10.1 before *
0:2.8.3-2.el8_2.1 before *
0:2.9.0-6.el8_4.1 before *
0:2.9.0-6.el8_4.1 before *
0:2.9.0-9.el8_6.1 before *
0:2.9.0-9.el8_6.1 before *
0:2.9.0-9.el8_6.1 before *
0:2.9.0-13.el8_8.1 before *
0:2.9.0-13.el8_8.1 before *
0:2.9.4-11.el9_6.1 before *
0:2.9.4-3.el9_0.2 before *
0:2.9.4-7.el9_2.2 before *
0:2.9.4-10.el9_4.2 before *
Timeline
2025-08-14: | Reported to Red Hat. |
2025-08-28: | Made public. |
Credits
Red Hat would like to thank Michael Imfeld (born0monday) for reporting this issue.
References
access.redhat.com/errata/RHSA-2025:15017 (RHSA-2025:15017)
access.redhat.com/errata/RHSA-2025:15018 (RHSA-2025:15018)
access.redhat.com/errata/RHSA-2025:15020 (RHSA-2025:15020)
access.redhat.com/errata/RHSA-2025:15956 (RHSA-2025:15956)
access.redhat.com/errata/RHSA-2025:16021 (RHSA-2025:16021)
access.redhat.com/errata/RHSA-2025:16090 (RHSA-2025:16090)
access.redhat.com/errata/RHSA-2025:16106 (RHSA-2025:16106)
access.redhat.com/errata/RHSA-2025:16121 (RHSA-2025:16121)
access.redhat.com/errata/RHSA-2025:16122 (RHSA-2025:16122)
access.redhat.com/errata/RHSA-2025:16125 (RHSA-2025:16125)
access.redhat.com/errata/RHSA-2025:16130 (RHSA-2025:16130)
access.redhat.com/security/cve/CVE-2025-8067
bugzilla.redhat.com/show_bug.cgi?id=2388623 (RHBZ#2388623)