Fedora 40 can't mount partitions during boot

After I’ve upgraded from 39 to 40, most of the partitions from /etc/fstab except the root one fail to mount for some reason. In the journal I found these errors:

Aug 11 16:33:07 base udisksd[864]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned:#0120000: f0 00 01 00  50 00 01 0a  00 00 00 00  00 1d 00 00    ....P...........#0120010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#012 (g-io-error-quark, 0)
Aug 11 16:33:07 base udisksd[864]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdb': Unexpected sense data returned:#0120000: f0 00 01 00  50 00 01 0a  00 00 00 00  00 1d 00 00    ....P...........#0120010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#012 (g-io-error-quark, 0)
Aug 11 16:33:07 base udisksd[864]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdc': Unexpected sense data returned:#0120000: f0 00 01 00  50 00 01 0a  00 00 00 00  00 1d 00 00    ....P...........#0120010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#012 (g-io-error-quark, 0)
Aug 11 16:33:07 base systemd[1]: Reloaded rsyslog.service - System Logging Service.
Aug 11 16:33:07 base rsyslogd[847]: [origin software="rsyslogd" swVersion="8.2312.0-1.fc40" x-pid="847" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Aug 11 16:33:07 base udisksd[864]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdd': Unexpected sense data returned:#0120000: f0 00 01 00  50 00 01 0a  00 00 00 00  00 1d 00 00    ....P...........#0120010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#012 (g-io-error-quark, 0)

I can mount the same partitions with no problem manually via mount.

My /etc/fstab lines look like this:

UUID=...    /data     ext4    auto,errors=remount-ro           0         2
UUID=...    /datax    ntfs    auto,errors=remount-ro,umask=022,uid=1000,gid=1000,windows_names    0    2

Does anybody know how to fix this?

Added f40, mount

I web searched for the error line and that took me to this ticket Error probing device: Error sending ATA command IDENTIFY PACKET DEVICE to '/dev/sr0 · Issue #732 · storaged-project/udisks · GitHub

Fixed it by executing restorecon -R /etc as suggested somewhere else.