Comment 2 for bug 2058808

Revision history for this message
AceLan Kao (acelankao) wrote :

I feel like this commit may fix the issue which is included in 6.5.0-27.28.

commit edb960c5f95228109dd8fd8056d0d28579daad7d
Author: Avraham Stern <email address hidden>
Date: Thu Dec 7 04:50:17 2023 +0200

    wifi: iwlwifi: pcie: avoid a NULL pointer dereference

    BugLink: https://bugs.launchpad.net/bugs/2055199

    [ Upstream commit ce038edfce43fb345f8dfdca0f7b17f535896701 ]

    It possible that while the rx rb is being handled, the transport has
    been stopped and re-started. In this case the tx queue pointer is not
    yet initialized, which will lead to a NULL pointer dereference.
    Fix it.

    Signed-off-by: Avraham Stern <email address hidden>
    Signed-off-by: Miri Korenblit <email address hidden>
    Link: https://msgid.link/20231207044813.cd0898cafd89.I0b84daae753ba9612092bf383f5c6f761446e964@changeid
    Signed-off-by: Johannes Berg <email address hidden>
    Signed-off-by: Sasha Levin <email address hidden>
    Signed-off-by: Manuel Diewald <email address hidden>
    Signed-off-by: Stefan Bader <email address hidden>