FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

libudisks -- Udisks: out-of-bounds read in udisks daemon

Affected packages
libudisks < 2.10.2
2.10.90 <= libudisks < 2.10.91

Details

VuXML ID 3bf134f4-942d-11f0-95de-0800276af896
Discovery 2025-08-28
Entry 2025-09-26

secalert@redhat.com reports:

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.

References

CVE Name CVE-2025-8067
URL https://nvd.nist.gov/vuln/detail/CVE-2025-8067