# CVE-2024-40977: wifi: mt76: mt7921s: fix potential hung tasks during chip recovery

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-07-12T12:32:13.447Z
- Modified: 2026-06-17T07:47:00.230Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7921s: fix potential hung tasks during chip recovery

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7bc04215a66b60e198aecaee8418f6d79fa19faa before 0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08; from 7bc04215a66b60e198aecaee8418f6d79fa19faa before 85edd783f4539a994d66c4c014d5858f490b7a02; from 7bc04215a66b60e198aecaee8418f6d79fa19faa before e974dd4c22a23ec3ce579fb6d31a674ac0435da9; from 7bc04215a66b60e198aecaee8418f6d79fa19faa before ecf0b2b8a37c8464186620bef37812a117ff6366; 4.16 (not affected: before 4.16; from 6.1.96 up to 6.1.*; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.1.96; from 6.2 before 6.6.36; from 6.7 before 6.9.7

## References

- <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>

## Sources

- CVE List: [CVE-2024-40977](https://www.cve.org/CVERecord?id=CVE-2024-40977), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-40977](https://nvd.nist.gov/vuln/detail/CVE-2024-40977), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40977 · Whole record: https://cve.day/CVE-2024-40977.json · Rebuilt by cve.day 2026-11-25T22:58:42.870Z
