This sounds an awful lot like a kernel regression. Maybe you could file a bug on it? Run ubuntu-bug linux in a terminal and follow the on-screen instructions. If you don’t have one already, you will be asked to create an Ubuntu One account. More info on reporting kernel bugs is here: Kernel/Bugs - Ubuntu Wiki
Provide as much info as possible, especially the fact that this used to work in Lubuntu 22.04.1 and also works if you install the mainline kernel. Those are two very important snippets of info to have. Also include what you did, what you expected to happen, and what happened instead - sometimes something may seem painfully obvious to you, but describing it in detail will help the bug fixer on the other end of the bug report able to figure things out better. Sometimes small details are important. As for hardware info, the ubuntu-bug command will attach your hardware info to the bug report, so much of the important stuff will be in there. It may still be helpful to tell them what computer you have though (something like “HP Pavilion 14-ce3064st”, for example).
The linux package. Running ubuntu-bug linux will automatically file it under the right package. Even if this turns out to be the wrong package (which I doubt), that’s fine, the Ubuntu developers and volunteers can change the package if it’s discovered that the bug is somewhere else.