Back up all of your files immediately, regardless of the legitimacy of this error message.
Yes, hard drives can and fail that early, especially Samsung's. I will never buy another Samsung for that reason. My Samsung 1TB storage drive failed within 2 months, causing a loss of a substantial portion of files. Through some kung fu, I was able to retrieve a decent portion of them, but many were lost. I'm talking failure to the point where it isn't recognized by any system in any shape or form. The actual controller on the drive failed preventing anything from accessing it.
However, I would first rule out the presence of malware causing a fake alert. Can you post a screenshot of the error? If it's really failing, I would RMA the drive and just try to get your money back. Cut your losses on Samsung and move to something less notorious for a few month lifespan.