{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-40977","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-12T12:17:45.603Z","datePublished":"2024-07-12T12:32:13.447Z","dateUpdated":"2026-05-11T20:23:30.892Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T20:23:30.892Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7921s: fix potential hung tasks during chip recovery\n\nDuring chip recovery (e.g. chip reset), there is a possible situation that\nkernel worker reset_work is holding the lock and waiting for kernel thread\nstat_worker to be parked, while stat_worker is waiting for the release of\nthe same lock.\nIt causes a deadlock resulting in the dumping of hung tasks messages and\npossible rebooting of the device.\n\nThis patch prevents the execution of stat_worker during the chip recovery."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7921/mac.c","drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c","drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c","drivers/net/wireless/mediatek/mt76/sdio.c"],"versions":[{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","lessThan":"0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08","status":"affected","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","lessThan":"85edd783f4539a994d66c4c014d5858f490b7a02","status":"affected","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","lessThan":"e974dd4c22a23ec3ce579fb6d31a674ac0435da9","status":"affected","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","lessThan":"ecf0b2b8a37c8464186620bef37812a117ff6366","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7921/mac.c","drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c","drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c","drivers/net/wireless/mediatek/mt76/sdio.c"],"versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"6.1.96","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.36","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.7","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.1.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.6.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.9.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.10"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08"},{"url":"https://git.kernel.org/stable/c/85edd783f4539a994d66c4c014d5858f490b7a02"},{"url":"https://git.kernel.org/stable/c/e974dd4c22a23ec3ce579fb6d31a674ac0435da9"},{"url":"https://git.kernel.org/stable/c/ecf0b2b8a37c8464186620bef37812a117ff6366"}],"title":"wifi: mt76: mt7921s: fix potential hung tasks during chip recovery","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/0b81faa05b0b9feb3ae2d69be1d21f0d126ecb08","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/85edd783f4539a994d66c4c014d5858f490b7a02","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e974dd4c22a23ec3ce579fb6d31a674ac0435da9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ecf0b2b8a37c8464186620bef37812a117ff6366","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:58:42.062Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-40977","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:02:34.340786Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:34:21.862Z"}}]}}