{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49023","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-08-22T01:27:53.649Z","datePublished":"2024-10-21T20:06:29.901Z","dateUpdated":"2026-08-05T08:53:30.326Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:53:30.326Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: fix buffer overflow in elem comparison\n\nFor vendor elements, the code here assumes that 5 octets\nare present without checking. Since the element itself is\nalready checked to fit, we only need to check the length."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The bug is reached by injecting crafted 802.11 Beacon/Probe Response frames with Multiple BSSID elements containing short vendor IEs; exploitation requires adjacency on the Wi‑Fi RF segment, matching WiFi frame-injection guidance.\nAC:L - An attacker fully controls frame contents and can reliably include a vendor IE with length < 5 in both the transmitted BSS IEs and an MBSSID nontransmitted profile; success does not depend on races or unpredictable victim state beyond ordinary Wi‑Fi reception/scanning.\nPR:N - Frames are processed in the unauthenticated scan/MLME RX path before any association or credentials; no local account or capability is required.\nUI:N - cfg80211/mac80211 ingest these management frames during normal scanning and BSS updates without requiring a deliberate user action beyond having Wi‑Fi operating.\nS:U - Impact remains within the local kernel’s BSS/IE handling authority; there is no VM, IOMMU, or other security-authority boundary crossing.\nC:L - The defect is a strictly bounded out-of-bounds read of at most 5 bytes used only for vendor-IE matching (small bounded OOB read), not an arbitrary read primitive, so confidentiality impact is Low rather than High.\nI:N - The buggy access is a read-only memcmp; subsequent memcpy lengths still follow validated IE length fields, so this CVE does not provide a write or control-flow integrity primitive.\nA:H - Reading past the end of a kmemdup/slab IE buffer is a memory-safety violation that can fault or oops when the short vendor IE sits at the allocation boundary, so availability impact is High."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"],"versions":[{"version":"0b8fb8235be8be99a197e8d948fc0a2df8dc261a","lessThan":"f5c2ec288a865dbe3706b09bed12302e9f6d696b","status":"affected","versionType":"git"},{"version":"0b8fb8235be8be99a197e8d948fc0a2df8dc261a","lessThan":"9e6b79a3cd17620d467311b30d56f2648f6880aa","status":"affected","versionType":"git"},{"version":"0b8fb8235be8be99a197e8d948fc0a2df8dc261a","lessThan":"88a6fe3707888bd1893e9741157a7035c4159ab6","status":"affected","versionType":"git"},{"version":"0b8fb8235be8be99a197e8d948fc0a2df8dc261a","lessThan":"391cb872553627bdcf236c03ee7d5adb275e37e1","status":"affected","versionType":"git"},{"version":"0b8fb8235be8be99a197e8d948fc0a2df8dc261a","lessThan":"9f16b5c82a025cd4c864737409234ddc44fb166a","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"],"versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.4.226","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.158","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.82","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.12","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","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":"5.1","versionEndExcluding":"5.4.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.10.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.15.82"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.0.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f5c2ec288a865dbe3706b09bed12302e9f6d696b"},{"url":"https://git.kernel.org/stable/c/9e6b79a3cd17620d467311b30d56f2648f6880aa"},{"url":"https://git.kernel.org/stable/c/88a6fe3707888bd1893e9741157a7035c4159ab6"},{"url":"https://git.kernel.org/stable/c/391cb872553627bdcf236c03ee7d5adb275e37e1"},{"url":"https://git.kernel.org/stable/c/9f16b5c82a025cd4c864737409234ddc44fb166a"}],"title":"wifi: cfg80211: fix buffer overflow in elem comparison","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-49023","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:12:18.800355Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-10-22T13:18:36.843Z"}}]}}