wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.96, 6.6.36, 6.9.7
- CVEs
- CVE-2024-40977
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:58 UTC · Revision 1
Source evidence
wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
core-osv · Original sourcePublished 12 Jul 2024, 12:32 UTC
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.
osv:CVE-2024-40977
Kernel
Fixed versions: 6.1.96, 6.6.36, 6.9.7
Complete source record
{
"id": "2f387acdd50424b075d5d4f26bf129f43816201ace2453f8e5c01231a41fa981",
"url": "https://osv.dev/vulnerability/CVE-2024-40977",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: mt76: mt7921s: fix potential hung tasks during chip recovery",
"summary": "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.",
"evidence": "osv:CVE-2024-40977",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.96",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.36",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-40977",
"aliases": [
"CVE-2024-40977"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7bc04215a66b60e198aecaee8418f6d79fa19faa"
},
{
"fixed": "0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08"
},
{
"fixed": "85edd783f4539a994d66c4c014d5858f490b7a02"
},
{
"fixed": "e974dd4c22a23ec3ce579fb6d31a674ac0435da9"
},
{
"fixed": "ecf0b2b8a37c8464186620bef37812a117ff6366"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40977.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.16.0"
},
{
"fixed": "6.1.96"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.36"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40977.json"
}
}
],
"modified": "2026-10-28T02:30:53.500571568Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08",
"https://git.kernel.org/stable/c/85edd783f4539a994d66c4c014d5858f490b7a02",
"https://git.kernel.org/stable/c/e974dd4c22a23ec3ce579fb6d31a674ac0435da9",
"https://git.kernel.org/stable/c/ecf0b2b8a37c8464186620bef37812a117ff6366",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40977.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40977",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40977.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40977",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 522006,
"published_at": "2024-07-12T12:32:13.447+00:00"
}