I've faced a similar situation. We bolted a ledger to the side of the stud wall, outside of the continuous gypsum sheathing (gypsum sheathing running between ledger and wall studs). We then hung the relatively short span trusses from the ledger using face mount hangers.
To do this, we used larger diameter lag screws designed to resist the bending stresses resulting from the effective gap between the wall studs and the ledger. If I remember correctly, we also replaced the 2x studs with 3x or 4x members better suited to receive the lag bolts.
Don't get me wrong, this detail made my stomach turn as well. It worked by the numbers, however, and was the best option that we could come up with. The condition that I faced only extended a short distance where a stair shaft abutted a corridor wall. If your condition runs for a long stretch, my detail may be prohibitively costly.