{"id":"CVE-2022-49326","state":"PUBLISHED","title":"rtl818x: Prevent using not initialized queues","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtl818x: Prevent using not initialized queues\n\nUsing not existing queues can panic the kernel with rtl8180/rtl8185 cards.\nIgnore the skb priority for those cards, they only have one tx queue. Pierre\nAsselin (pa@panix.com) reported the kernel crash in the Gentoo forum:\n\nhttps://forums.gentoo.org/viewtopic-t-1147832-postdays-0-postorder-asc-start-25.html\n\nHe also confirmed that this patch fixes the issue. In summary this happened:\n\nAfter updating wpa_supplicant from 2.9 to 2.10 the kernel crashed with a\n\"divide error: 0000\" when connecting to an AP. Control port tx now tries to\nuse IEEE80211_AC_VO for the priority, which wpa_supplicants starts to use in\n2.10.\n\nSince only the rtl8187se part of the driver supports QoS, the priority\nof the skb is set to IEEE80211_AC_BE (2) by mac80211 for rtl8180/rtl8185\ncards.\n\nrtl8180 is then unconditionally reading out the priority and finally crashes on\ndrivers/net/wireless/realtek/rtl818x/rtl8180/dev.c line 544 without this\npatch:\n\tidx = (ring->idx + skb_queue_len(&ring->queue)) % ring->entries\n\n\"ring->entries\" is zero for rtl8180/rtl8185 cards, tx_ring[2] never got\ninitialized.","publishedAt":"2025-02-26T02:10:48.630Z","updatedAt":"2026-05-11T18:57:31.977Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"b5dca2cd3f0239512da808598b4e70557eb4c2a1","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"d7e30dfc166d33470bba31a42f9bbc346e5409d5","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"9d5e96cc1f1720019ce27b127a31695148d38bb0","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"b8ce58ab80faaea015c206382041ff3bcf5495ff","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"769ec2a824deae2f1268dfda14999a4d14d0d0c5","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"6ad81ad0cf5744738ce94c8e64051ddd80a1734c","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"9ad1981fc4de3afb7db3e8eb5a6a52d4c7d0d577","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"98e55b0b876bde3353f4e074883d66ecb55c65a3","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"746285cf81dc19502ab238249d75f5990bd2d231","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"4.9.318","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.283","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.247","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.121","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.46","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.14","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.3","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","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/realtek/rtl818x/rtl8180/dev.c"]}],"references":["https://git.kernel.org/stable/c/b5dca2cd3f0239512da808598b4e70557eb4c2a1","https://git.kernel.org/stable/c/d7e30dfc166d33470bba31a42f9bbc346e5409d5","https://git.kernel.org/stable/c/9d5e96cc1f1720019ce27b127a31695148d38bb0","https://git.kernel.org/stable/c/b8ce58ab80faaea015c206382041ff3bcf5495ff","https://git.kernel.org/stable/c/769ec2a824deae2f1268dfda14999a4d14d0d0c5","https://git.kernel.org/stable/c/6ad81ad0cf5744738ce94c8e64051ddd80a1734c","https://git.kernel.org/stable/c/9ad1981fc4de3afb7db3e8eb5a6a52d4c7d0d577","https://git.kernel.org/stable/c/98e55b0b876bde3353f4e074883d66ecb55c65a3","https://git.kernel.org/stable/c/746285cf81dc19502ab238249d75f5990bd2d231"],"weaknesses":["CWE-908"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49326.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49326","state":"PUBLISHED","datePublished":"2025-02-26T02:10:48.630Z","dateUpdated":"2026-05-11T18:57:31.977Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:08:31.538Z"},"containers":{"cna":{"title":"rtl818x: Prevent using not initialized queues","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtl818x: Prevent using not initialized queues\n\nUsing not existing queues can panic the kernel with rtl8180/rtl8185 cards.\nIgnore the skb priority for those cards, they only have one tx queue. Pierre\nAsselin (pa@panix.com) reported the kernel crash in the Gentoo forum:\n\nhttps://forums.gentoo.org/viewtopic-t-1147832-postdays-0-postorder-asc-start-25.html\n\nHe also confirmed that this patch fixes the issue. In summary this happened:\n\nAfter updating wpa_supplicant from 2.9 to 2.10 the kernel crashed with a\n\"divide error: 0000\" when connecting to an AP. Control port tx now tries to\nuse IEEE80211_AC_VO for the priority, which wpa_supplicants starts to use in\n2.10.\n\nSince only the rtl8187se part of the driver supports QoS, the priority\nof the skb is set to IEEE80211_AC_BE (2) by mac80211 for rtl8180/rtl8185\ncards.\n\nrtl8180 is then unconditionally reading out the priority and finally crashes on\ndrivers/net/wireless/realtek/rtl818x/rtl8180/dev.c line 544 without this\npatch:\n\tidx = (ring->idx + skb_queue_len(&ring->queue)) % ring->entries\n\n\"ring->entries\" is zero for rtl8180/rtl8185 cards, tx_ring[2] never got\ninitialized."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"b5dca2cd3f0239512da808598b4e70557eb4c2a1","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"d7e30dfc166d33470bba31a42f9bbc346e5409d5","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"9d5e96cc1f1720019ce27b127a31695148d38bb0","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"b8ce58ab80faaea015c206382041ff3bcf5495ff","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"769ec2a824deae2f1268dfda14999a4d14d0d0c5","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"6ad81ad0cf5744738ce94c8e64051ddd80a1734c","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"9ad1981fc4de3afb7db3e8eb5a6a52d4c7d0d577","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"98e55b0b876bde3353f4e074883d66ecb55c65a3","versionType":"git"},{"version":"fd6564fcdc0bfcd432e6e939f9538acc3905d08a","status":"affected","lessThan":"746285cf81dc19502ab238249d75f5990bd2d231","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"4.9.318","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.283","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.247","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.121","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.46","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.14","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.3","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","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/realtek/rtl818x/rtl8180/dev.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b5dca2cd3f0239512da808598b4e70557eb4c2a1"},{"url":"https://git.kernel.org/stable/c/d7e30dfc166d33470bba31a42f9bbc346e5409d5"},{"url":"https://git.kernel.org/stable/c/9d5e96cc1f1720019ce27b127a31695148d38bb0"},{"url":"https://git.kernel.org/stable/c/b8ce58ab80faaea015c206382041ff3bcf5495ff"},{"url":"https://git.kernel.org/stable/c/769ec2a824deae2f1268dfda14999a4d14d0d0c5"},{"url":"https://git.kernel.org/stable/c/6ad81ad0cf5744738ce94c8e64051ddd80a1734c"},{"url":"https://git.kernel.org/stable/c/9ad1981fc4de3afb7db3e8eb5a6a52d4c7d0d577"},{"url":"https://git.kernel.org/stable/c/98e55b0b876bde3353f4e074883d66ecb55c65a3"},{"url":"https://git.kernel.org/stable/c/746285cf81dc19502ab238249d75f5990bd2d231"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:57:31.977Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"4.9.318"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"4.14.283"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"4.19.247"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.4.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.10.121"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.15.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.17.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49326","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:43:30.625103Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-908","lang":"en","type":"CWE","description":"CWE-908 Use of Uninitialized Resource"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:46:56.034Z"}}]}}}