Colorado and California age verification bills exempt open source operating systems
(www.gamingonlinux.com)
I don't know what their arguments would be, but even if it were, that seems akin to saying it's legal to say but it's illegal to hear. It depends pretty much entirely on what the courts think of an argument like that.