mt76: mt7921: fix crash when startup fails.
Published Feb 26, 2025
7.8
HIGHCVSS 3.1
EPSS 0.27%
Description
If the nic fails to start, it is possible that the reset_work has already been scheduled. Ensure the work item is canceled so we do not have use-after-free crash in case cleanup is called before the work item is executed.
This fixes crash on my x86_64 apu2 when mt7921k radio fails to work. Radio still fails, but OS does not crash.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints-
- Version
-
- Version 5.12.16StatusaffectedConstraints<5.13
- Version
-
- Version 5.13StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.13
- Version 5.15.34StatusunaffectedConstraints<=5.15.*
- Version 5.16.20StatusunaffectedConstraints<=5.16.*
- Version 5.17.3StatusunaffectedConstraints<=5.17.*
- Version 5.18StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||
| Linux | Linux | unaffected |
| |||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.16 · < 5.15.34
- ≥ 5.16 · < 5.16.20
- ≥ 5.17 · < 5.17.3
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-425.3.1.el8
Fixed · RHSA-2022:7683
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.6.1.el9_1
Fixed · RHSA-2022:8267
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.6.1.el9_1
Fixed · RHSA-2022:8267
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-425.3.1.el8 | Fixed | RHSA-2022:7683 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.6.1.el9_1 | Fixed | RHSA-2022:8267 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.6.1.el9_1 | Fixed | RHSA-2022:8267 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-49129 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347839 Issue Tracking
- https://git.kernel.org/stable/c/38fbe806645090c07aa97171f20fc62c3d7d3a98 Patch
- https://git.kernel.org/stable/c/827e7799c61b978fbc2cc9dac66cb62401b2b3f0 Patch
- https://git.kernel.org/stable/c/ac1260b661c2ef0d0a56680cdb5672b931b7be8f Patch
- https://git.kernel.org/stable/c/c1a5e6002ec441a3b9fb4d048b4b49ae93409a46 Patch
- https://lore.kernel.org/linux-cve-announce/2025022605-CVE-2022-49129-a098@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49129
- https://www.cve.org/CVERecord?id=CVE-2022-49129
Change history (0)
No recorded changes yet.