Udisks Daemon Local PrivEsc via Negative Loop Device Index on DBus
CVE-2025-8067 Published on August 28, 2025
Udisks: out-of-bounds read in udisks daemon
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.
Vulnerability Analysis
CVE-2025-8067 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 14 days later.
Weakness Type
Out-of-bounds Read
The software reads data past the end, or before the beginning, of the intended buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. A crash can occur when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string. The expected sentinel might not be located in the out-of-bounds memory, causing excessive data to be read, leading to a segmentation fault or a buffer overflow. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent read operation then produces undefined or unexpected results.
Products Associated with CVE-2025-8067
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-8067 are published in these products:
Affected Versions
storaged-project udisks:- Before 2.10.2 is affected.
- Version 2.10.3 and below 2.10.91 is affected.
- Version 0:2.10.90-5.el10_0.1 and below * is unaffected.
- Version 0:2.8.4-1.el7_9.2 and below * is unaffected.
- Version 0:2.9.0-16.el8_10.1 and below * is unaffected.
- Version 0:2.8.3-2.el8_2.1 and below * is unaffected.
- Version 0:2.9.0-6.el8_4.1 and below * is unaffected.
- Version 0:2.9.0-6.el8_4.1 and below * is unaffected.
- Version 0:2.9.0-9.el8_6.1 and below * is unaffected.
- Version 0:2.9.0-9.el8_6.1 and below * is unaffected.
- Version 0:2.9.0-9.el8_6.1 and below * is unaffected.
- Version 0:2.9.0-13.el8_8.1 and below * is unaffected.
- Version 0:2.9.0-13.el8_8.1 and below * is unaffected.
- Version 0:2.9.4-11.el9_6.1 and below * is unaffected.
- Version 0:2.9.4-3.el9_0.2 and below * is unaffected.
- Version 0:2.9.4-7.el9_2.2 and below * is unaffected.
- Version 0:2.9.4-10.el9_4.2 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.