Seb derm cause hair thinning in DUPA fashion?

I am be thinning on top of my head and crown for over 3 years now. Ladt yesr I got a buzz cut and noticed some retrograde thinning as well at nape and sides with thin hair overall. (Basically DUPA like initialization all over scalp).
My hair gets super oily 4-5 hours after shampoo + there is always dandruff like stuff on my dry hairs. (Could be flakes as I use topical min + fin).

Also when I sleep my sebum production goes crazy and hairnis super oily in the morning. Tried ketocozanole shampoo, salicylic acid and selsun but nothing helps.

Also when I shampoo my hair and run a comb over my scalp some white waxy substance will come out of my scalp.

Can someone help understand if this could be sebderm and how to fix it?