{"id":"CVE-2024-42225","state":"PUBLISHED","title":"wifi: mt76: replace skb_put with skb_put_zero","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: replace skb_put with skb_put_zero\n\nAvoid potentially reusing uninitialized data","publishedAt":"2024-07-30T07:47:06.397Z","updatedAt":"2026-08-05T11:35:56.118Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"dc7f14d00d0c4c21898f3504607f4a31079065a2","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"22ea2a7f0b64d323625950414a4496520fb33657","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"64f86337ccfe77fe3be5a9356b0dabde23fbb074","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"7f819a2f4fbc510e088b49c79addcf1734503578","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c","drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.15.163","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.98","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.39","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c","drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"]}],"references":["https://git.kernel.org/stable/c/dc7f14d00d0c4c21898f3504607f4a31079065a2","https://git.kernel.org/stable/c/22ea2a7f0b64d323625950414a4496520fb33657","https://git.kernel.org/stable/c/ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af","https://git.kernel.org/stable/c/64f86337ccfe77fe3be5a9356b0dabde23fbb074","https://git.kernel.org/stable/c/7f819a2f4fbc510e088b49c79addcf1734503578","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42225.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42225","state":"PUBLISHED","datePublished":"2024-07-30T07:47:06.397Z","dateUpdated":"2026-08-05T11:35:56.118Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-30T07:40:12.250Z"},"containers":{"cna":{"title":"wifi: mt76: replace skb_put with skb_put_zero","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: replace skb_put with skb_put_zero\n\nAvoid potentially reusing uninitialized data"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"dc7f14d00d0c4c21898f3504607f4a31079065a2","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"22ea2a7f0b64d323625950414a4496520fb33657","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"64f86337ccfe77fe3be5a9356b0dabde23fbb074","versionType":"git"},{"version":"7bc04215a66b60e198aecaee8418f6d79fa19faa","status":"affected","lessThan":"7f819a2f4fbc510e088b49c79addcf1734503578","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c","drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.15.163","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.98","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.39","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c","drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/dc7f14d00d0c4c21898f3504607f4a31079065a2"},{"url":"https://git.kernel.org/stable/c/22ea2a7f0b64d323625950414a4496520fb33657"},{"url":"https://git.kernel.org/stable/c/ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af"},{"url":"https://git.kernel.org/stable/c/64f86337ccfe77fe3be5a9356b0dabde23fbb074"},{"url":"https://git.kernel.org/stable/c/7f819a2f4fbc510e088b49c79addcf1734503578"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","baseScore":8.3,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - All affected paths are mt76 WiFi MCU command builders driven by wireless activity — scans, station association (AP mode), beacon/in-band-discovery templates — and the unzeroed bytes end up in frames the firmware transmits, so an attacker within radio range both triggers and observes the flaw.\nAC:L - The affected code runs on every scan, association and beacon update rather than on a rare error path, and the attacker can force repeated scans or reassociations to resample fresh skb allocations indefinitely.\nPR:N - No credentials are needed: an unauthenticated station reaches the sta_rec/beacon TLV builders by sending association frames to an mt7915 AP, and the scan-path leakage requires only passive reception of probe requests.\nUI:N - Scanning, association handling and beacon offload happen automatically as part of normal WiFi operation with no victim action required.\nS:U - The impact stays within the kernel/driver and its WiFi device, which the kernel already fully controls; no VM, IOMMU or sandbox boundary is crossed.\nC:H - Uninitialized recycled kernel heap memory is embedded in MCU messages and, via the never-initialized ext_ssids[6], random_mac and ies_len/ies[] scan fields and the beacon-content sub-TLVs, can be emitted over the air where any nearby listener can collect it repeatedly.\nI:L - Uninitialized bytes populate firmware configuration the code never sets — scan_func control bits, ext_ssids_num, GTK-rekey key_mgmt/proto/cipher fields, WoW pattern and mask tails, and sta_rec_sec key padding — a real but undirected modification since the attacker does not choose the values.\nA:H - Uninitialized count and length fields handed to the MCU are wildly out of range (ies_len up to 65535 against a 600-byte array, ext_ssids_num up to 255 against 6 entries), which can fault the firmware; mt76 answers MCU exceptions and timeouts with a device reset that takes the wireless interface down."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:35:56.118Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.15.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.1.98"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.6.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.9.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/dc7f14d00d0c4c21898f3504607f4a31079065a2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/22ea2a7f0b64d323625950414a4496520fb33657","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/64f86337ccfe77fe3be5a9356b0dabde23fbb074","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7f819a2f4fbc510e088b49c79addcf1734503578","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:02:28.980Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42225","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:14:38.019669Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:33.317Z"}}]}}}