wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
Published Jul 12, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.25%
Description
During chip recovery (e.g. chip reset), there is a possible situation that kernel worker reset_work is holding the lock and waiting for kernel thread stat_worker to be parked, while stat_worker is waiting for the release of the same lock. It causes a deadlock resulting in the dumping of hung tasks messages and possible rebooting of the device.
This patch prevents the execution of stat_worker during the chip recovery.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.16StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.16
- Version 6.1.96StatusunaffectedConstraints<=6.1.*
- Version 6.10StatusunaffectedConstraints<=*
- Version 6.6.36StatusunaffectedConstraints<=6.6.*
- Version 6.9.7StatusunaffectedConstraints<=6.9.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- < 6.1.96
- ≥ 6.2 · < 6.6.36
- ≥ 6.7 · < 6.9.7
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.22.1.el8_10
Fixed · RHSA-2024:7000
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-553.22.1.rt7.363.el8_10
Fixed · RHSA-2024:7001
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.42.1.el9_4
Fixed · RHSA-2024:8617
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.42.1.el9_4
Fixed · RHSA-2024:8617
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 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.22.1.el8_10 | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-553.22.1.rt7.363.el8_10 | Fixed | RHSA-2024:7001 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.42.1.el9_4 | Fixed | RHSA-2024:8617 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.42.1.el9_4 | Fixed | RHSA-2024:8617 |
| 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 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (11)
- https://access.redhat.com/security/cve/CVE-2024-40977 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2297561 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-38747 Advisory
- https://git.kernel.org/stable/c/0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08 Patch
- https://git.kernel.org/stable/c/85edd783f4539a994d66c4c014d5858f490b7a02 Patch
- https://git.kernel.org/stable/c/e974dd4c22a23ec3ce579fb6d31a674ac0435da9 Patch
- https://git.kernel.org/stable/c/ecf0b2b8a37c8464186620bef37812a117ff6366 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lore.kernel.org/linux-cve-announce/2024071230-CVE-2024-40977-07c8@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-40977
- https://www.cve.org/CVERecord?id=CVE-2024-40977
Change history (0)
No recorded changes yet.