Message ID | 20240222101626.1142-1-quic_chandna@quicinc.com |
---|---|
Headers | show |
Series | Fix NULL ptr dereference in nbcon driver | expand |
On 2024-02-22, Sahil Chandna <quic_chandna@quicinc.com> wrote: > Add a missing check in nbcon driver which is causing NULL pointer > dereference bug. I believe the correct fix is here: https://lore.kernel.org/lkml/20240123054033.183114-2-junxiao.chang@intel.com/ John
On 2/22/2024 6:09 PM, John Ogness wrote: > On 2024-02-22, Sahil Chandna <quic_chandna@quicinc.com> wrote: >> Add a missing check in nbcon driver which is causing NULL pointer >> dereference bug. > > I believe the correct fix is here: > > https://lore.kernel.org/lkml/20240123054033.183114-2-junxiao.chang@intel.com/ Thanks John for sharing this fix, i tried applying this patch locally in my workspace and see issue is resolved. However, when i am checking the same fix on patch-6.6.14-rt21.patch.gz on https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.6/older/, I don't see this fix. Even on latest stable version for 6.6. kernel i.e. patch-6.6.20-rt25.patch.gz, this fix is not present. I see, the fix is available on 6.8 kernel i.e. patch-6.8-rc7-rt6.patch.gz patch but since i am working on 6.6 kernel these patches do not apply cleanly. Since, this issue is first reported on v6.6.10-rt18, so will the fix officially be released on all 6.6 kernel sub-versions post 6.6.10-rt18 ? > > John
Hi Sahil, On 2024-03-05, Sahil Chandna <quic_chandna@quicinc.com> wrote: > https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.6/older/, I > don't see this fix. Even on latest stable version for 6.6. kernel i.e. > patch-6.6.20-rt25.patch.gz, this fix is not present. It _is_ part of 6.6.20-rt25: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v6.6-rt-rebase 02e87cb0499f ("printk: nbcon: move locked_port flag to struct uart_port") John