RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2004422 - CVE-2021-3802 udisks2: insecure defaults in user-accessible mount helpers allow for a DoS [rhel-8]
Summary: CVE-2021-3802 udisks2: insecure defaults in user-accessible mount helpers all...
Alias: None
Deadline: 2023-03-12
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: udisks2
Version: 8.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: guazhang@redhat.com
Depends On:
Blocks: CVE-2021-3802
TreeView+ depends on / blocked
Reported: 2021-09-15 09:18 UTC by Sandipan Roy
Modified: 2022-06-07 03:52 UTC (History)
3 users (show)

Fixed In Version: udisks2-2.9.0-8.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-05-10 13:46:01 UTC
Type: ---
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-97219 0 None None None 2021-09-15 09:18:49 UTC
Red Hat Product Errata RHSA-2022:1820 0 None None None 2022-05-10 13:46:06 UTC

Description Sandipan Roy 2021-09-15 09:18:10 UTC
rhel-8 tracking bug for udisks2: see the bugs linked in the "Blocks" field of this bug for full details of the security issue(s).

This bug is never intended to be made public, please put any public notes in the blocked bugs.

Impact: Low
Public Date: 13-Sep-2021
PM Fix/Wontfix Decision By: 14-Dec-2021
Resolve Bug By: 12-Mar-2023

In case the dates above are already past, please evaluate this bug in your next prioritization review and make a decision then. Remember to explicitly set CLOSED:WONTFIX if you decide not to fix this bug.

Please see the Security Errata Policy for further details: https://docs.engineering.redhat.com/x/9RBqB

For the Enterprise Linux security issues handling process overview see:

Comment 3 guazhang@redhat.com 2021-10-27 06:46:58 UTC

kernel panic while test with udisks2-2.9.0-7.el8 

Oct 27 02:25:38 storageqe-58 dbus-daemon[1269]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.27' (uid=0 pid=2095 comm="udisksctl loop-setup --file poc.img ")
Oct 27 02:25:38 storageqe-58 systemd[1]: Starting Disk Manager...
Oct 27 02:25:38 storageqe-58 journal[2098]: udisks daemon version 2.9.0 starting
Oct 27 02:25:38 storageqe-58 dbus-daemon[1269]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Oct 27 02:25:38 storageqe-58 systemd[1]: Started Disk Manager.
Oct 27 02:25:39 storageqe-58 journal[2098]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Oct 27 02:25:39 storageqe-58 kernel: loop: module loaded
Oct 27 02:25:39 storageqe-58 kernel: loop0: detected capacity change from 0 to 61440
Oct 27 02:25:39 storageqe-58 journal[2098]: Set up loop device /dev/loop0 (backed by /home/test/poc.img)
Oct 27 02:25:39 storageqe-58 kernel: EXT4-fs error (device loop0): ext4_fill_super:4556: inode #2: comm pool: iget: root inode unallocated

Do not panic while test with udisks2-2.9.0-8.el8.x86_64

# sh test.sh 
mke2fs 1.45.6 (20-Mar-2020)
poc.img contains a ext4 file system
	created on Wed Oct 27 00:29:50 2021
Proceed anyway? (y,N) y

Filesystem too small for a journal
Discarding device blocks: done                            
Creating filesystem with 60 1k blocks and 16 inodes

Allocating group tables: done                            
Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

debugfs 1.45.6 (20-Mar-2020)
debugfs:  open -w poc.img
debugfs:  set_super_value errors 3
debugfs:  set_inode_field . links_count 0
debugfs:  close -a
debugfs:  Mapped file poc.img as /dev/loop0.
Error mounting /dev/loop0: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/loop0 at /run/media/root/9366c2c4-d6ab-4697-838d-b8f716b206f0: mount(2) system call failed: Structure needs cleaning

Comment 7 errata-xmlrpc 2022-05-10 13:46:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: udisks2 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.