I/O error, dev sr0

Sometimes my dmesg is flooded with these messages. It should be tied with my Asus DVD drive.

[    0.264447] pci 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    0.658615] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x201] vs fed40080 f80
[    0.658621] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x201] vs fed40080 f80
[    0.760558] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    0.761249] resource: resource sanity check: requesting [mem 0x00000000fdffe800-0x00000000fe0007ff], which spans more than pnp 00:08 [mem 0xfdb00000-0xfdffffff]
[    0.761251] caller pmc_core_probe+0xd6/0x560 mapping multiple BARs
[    1.128910] ata2.00: NCQ Send/Recv Log not supported
[    1.254255] ata2.00: NCQ Send/Recv Log not supported
[    2.322404] nvme nvme0: missing or invalid SUBNQN field.
[    3.424438] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd'
[    4.153229] (sd-execu[503]: /usr/lib/systemd/system-generators/ostree-system-generator failed with exit status 1.
[    5.228654] kauditd_printk_skb: 28 callbacks suppressed
[    6.099408] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    6.099414] ucsi_ccg 0-0008: i2c_transfer failed -110
[    6.099416] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[    6.099418] ucsi_ccg: probe of 0-0008 failed with error -110
[    7.261081] nvidia: loading out-of-tree module taints kernel.
[    7.261089] nvidia: module license 'NVIDIA' taints kernel.
[    7.261090] Disabling lock debugging due to kernel taint
[    7.261094] nvidia: module license taints kernel.

[    7.902462] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  535.86.05  Fri Jul 14 20:46:33 UTC 2023
[    8.016819] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[  333.663427] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 2
[  333.665291] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665295] Buffer I/O error on dev sr0, logical block 0, async page read
[  333.665358] I/O error, dev sr0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665360] Buffer I/O error on dev sr0, logical block 1, async page read
[  333.665369] I/O error, dev sr0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665370] Buffer I/O error on dev sr0, logical block 2, async page read
[  333.665377] I/O error, dev sr0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665379] Buffer I/O error on dev sr0, logical block 3, async page read
[  333.665386] I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665387] Buffer I/O error on dev sr0, logical block 4, async page read
[  333.665394] I/O error, dev sr0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665396] Buffer I/O error on dev sr0, logical block 5, async page read
[  333.665402] I/O error, dev sr0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665404] Buffer I/O error on dev sr0, logical block 6, async page read
[  333.665411] I/O error, dev sr0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  333.665412] Buffer I/O error on dev sr0, logical block 7, async page read

Are these messages malicious?

I expect they mean that the dvd disk has a problem. Try cleaning it.
If the dvd disk is looking clean it might be a issue with the dvd drive.

Malicious, Certainly not.
As stated above they indicate problems reading the disk, and the messages up to the 333 second mark are normal boot messages.

Clean the disk then try again.
Is this a bluray disk? if so then one may need to install the proper libraries to support reading the disk. If a DVD then one may need the libdvdcss package.

it is empty CD/DVD disk reader over SATA.

Empty?
Then of course it cannot be read or written.
To write it needs a blank or rewritable disk.
To read it needs a good disk with data on it.
If neither of those conditions are met then it will always produce errors.

An empty DVD drive is supposed to announce itself as empty

sudo cat /dev/sr0
cat: /dev/sr0: No medium found

and should not try to read a non-existing disc.
Looks more like defective or incompatible hardware.

It is ASUS DRW-24D5MT. I can’t manage to find any bug reports or something. Is there some issue with ASUS Disc Reader firmware with linux ?

It does not look like anything special. Is this “cat /dev/sr0” command giving “no medium” output or does it trigger additional lines in the log? Does it happen to be a dual boot system and gives windows similar problems?