8 Aug
2023
8 Aug
'23
12:34 a.m.
It's just a RFC and only lightly tested.
Thanks for the series
I will be hammering this in my test setup for next several hours
I myself am not sure whether this is the best way to go. It might be better to take Curtis' approach, just converting the device to its own allocation, too. (But I don't know whether Curtis' patch set covers all cases -- can still be a UAF of card_dev due to devres vs kobj release?)
My original commit does not cover the devres kobj release race, only the race among the kobj themselves.
Curtis