Although Linux desktops (including Ubuntu) are very safe when compared to Windows, that doesn’t mean they are completely immune to malware.
Here’s a current example of an issue that required quick action by Canonical (maker of Ubuntu), . . . AND the desktop user. (Canonical to write the patch . . the user to apply the patch without delay).
Apport Crash Handler App . . . Full Article Link