How to enter excess salary deferrals returned AFTER April 15th

Due to multiple employers, I mistakenly over contributed to my 401k plan for 2022.  It's complicated. Ultimately I caught this error late, and did NOT receive the distribution of the excess deferral before April 15th.  I filed for an extension, and I am now trying to figure out how to enter in the over contribution.  My understanding is that I am taxed twice.  Once in 2022 and then again when I take this distribution (2023).  Do I enter the excess deferral under "miscellaneous income" similar to what is recommended for excess deferrals received prior to April 15th or do enter it in the income section for "retirement plans and social security"?  Thanks in advance for all your help.