This sounds to me like your cassette lockring has come loose, so the smallest cog (at least) is rattling and not staying totally stationary. Would also explain the chain jumping around in that area.

Another possibility is that there is a spacer missing near the 12t cog, or the wrong spacer installed.