The story
Probably related to (and perhaps simply a variant of) buck naked. It is not clear which of the two forms came first, but the earliest written evidence suggests that buck naked is present some four decades earlier.
Etymology from Wiktionary, CC BY-SA 4.0.