{"id":"CVE-2021-46948","state":"PUBLISHED","title":"sfc: farch: fix TX queue lookup in TX event handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsfc: farch: fix TX queue lookup in TX event handling\n\nWe're starting from a TXQ label, not a TXQ type, so\n efx_channel_get_tx_queue() is inappropriate (and could return NULL,\n leading to panics).","publishedAt":"2024-02-27T18:40:32.895Z","updatedAt":"2026-08-05T08:45:11.702Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"35c7a83ad1bb1d48ae249346e61b1132bcbf9052","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"e531db1ea6f98c9612cb2de093a107c7eadfb96c","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"83b09a1807415608b387c7bc748d329fefc5617e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/sfc/farch.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.36","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.20","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.3","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/sfc/farch.c"]}],"references":["https://git.kernel.org/stable/c/bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253","https://git.kernel.org/stable/c/35c7a83ad1bb1d48ae249346e61b1132bcbf9052","https://git.kernel.org/stable/c/e531db1ea6f98c9612cb2de093a107c7eadfb96c","https://git.kernel.org/stable/c/83b09a1807415608b387c7bc748d329fefc5617e"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:16.371Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/46xxx/CVE-2021-46948.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-46948","state":"PUBLISHED","datePublished":"2024-02-27T18:40:32.895Z","dateUpdated":"2026-08-05T08:45:11.702Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-25T13:45:52.722Z"},"containers":{"cna":{"title":"sfc: farch: fix TX queue lookup in TX event handling","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsfc: farch: fix TX queue lookup in TX event handling\n\nWe're starting from a TXQ label, not a TXQ type, so\n efx_channel_get_tx_queue() is inappropriate (and could return NULL,\n leading to panics)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"35c7a83ad1bb1d48ae249346e61b1132bcbf9052","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"e531db1ea6f98c9612cb2de093a107c7eadfb96c","versionType":"git"},{"version":"12804793b17c0e19115a90d98f2f3df0cb79e233","status":"affected","lessThan":"83b09a1807415608b387c7bc748d329fefc5617e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/sfc/farch.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.36","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.20","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.3","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/sfc/farch.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253"},{"url":"https://git.kernel.org/stable/c/35c7a83ad1bb1d48ae249346e61b1132bcbf9052"},{"url":"https://git.kernel.org/stable/c/e531db1ea6f98c9612cb2de093a107c7eadfb96c"},{"url":"https://git.kernel.org/stable/c/83b09a1807415608b387c7bc748d329fefc5617e"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - On Siena/farch, TX completions for queue labels 2–3 (HIGHPRI TC or XDP_TX/REDIRECT queues) hit the buggy lookup. A remote peer can drive that path by sending traffic that is XDP-redirected/TX’d or QoS-classified onto HIGHPRI TX queues on a host using this NIC.\nAC:L - The attacker only needs to generate traffic that completes on those TX queues; RSS/XDP CPU mapping makes hitting labels 2–3 reliable under load, with no race or unpredictable hardware state required.\nPR:N - In the highest-impact deployments (XDP_TX/REDIRECT or TC/mqprio HIGHPRI already configured on the Solarflare interface), an unauthenticated network peer can trigger the panic without any local account or capabilities.\nUI:N - Exploitation requires no victim user action beyond the host already running the affected driver configuration; packet delivery alone drives the TX completion path.\nS:U - Impact is a kernel oops/panic in the host OS networking authority; it does not cross into a different security domain such as a guest-to-host or IOMMU boundary.\nC:N - The failure is a NULL pointer dereference in efx_xmit_done with no out-of-bounds read or UAF, so it does not disclose memory contents.\nI:N - tx_queue_by_type[2/3] is NULL, so the crash is a pure NULL deref with no attacker-controlled write or corruptible object to hijack control flow.\nA:H - Dereferencing the NULL tx_queue in efx_xmit_done causes a kernel oops/panic, fully disrupting system availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T08:45:11.702Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.11.20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.12.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-46948","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-11T16:39:46.469007Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-05T17:22:13.138Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/35c7a83ad1bb1d48ae249346e61b1132bcbf9052","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e531db1ea6f98c9612cb2de093a107c7eadfb96c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/83b09a1807415608b387c7bc748d329fefc5617e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:17:43.029Z"}}]}}}