CVE-2022-48647
sfc: fix TX channel offset when using legacy interrupts
Description
In the Linux kernel, the following vulnerability has been resolved: sfc: fix TX channel offset when using legacy interrupts In legacy interrupt mode the tx_channel_offset was hardcoded to 1, but that's not correct if efx_sepparate_tx_channels is false. In that case, the offset is 0 because the tx queues are in the single existing channel at index 0, together with the rx queue. Without this fix, as soon as you try to send any traffic, it tries to get the tx queues from an uninitialized channel getting these errors: WARNING: CPU: 1 PID: 0 at drivers/net/ethernet/sfc/tx.c:540 efx_hard_start_xmit+0x12e/0x170 [sfc] [...] RIP: 0010:efx_hard_start_xmit+0x12e/0x170 [sfc] [...] Call Trace: <IRQ> dev_hard_start_xmit+0xd7/0x230 sch_direct_xmit+0x9f/0x360 __dev_queue_xmit+0x890/0xa40 [...] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 [...] RIP: 0010:efx_hard_start_xmit+0x153/0x170 [sfc] [...] Call Trace: <IRQ> dev_hard_start_xmit+0xd7/0x230 sch_direct_xmit+0x9f/0x360 __dev_queue_xmit+0x890/0xa40 [...]
INFO
Published Date :
April 28, 2024, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 7:33 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected packages to resolve this vulnerability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48647
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48647
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48647
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48647
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48647
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.122 from (excluding) 5.10.146 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17.15 from (excluding) 5.18 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18.4 from (excluding) 5.19.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.47 from (excluding) 5.15.71 Added Reference Type CVE: https://git.kernel.org/stable/c/360910b88d1466a90644a4e0533803b594344a2b Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/360910b88d1466a90644a4e0533803b594344a2b Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/5f623a77cfc2d501d72bcb4f9ee71721e6c766ff Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5f623a77cfc2d501d72bcb4f9ee71721e6c766ff Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b4afd3878f961d3517f27b3213730fceef77945c Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b4afd3878f961d3517f27b3213730fceef77945c Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/f232af4295653afa4ade3230462b3be15ad16419 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f232af4295653afa4ade3230462b3be15ad16419 Types: Mailing List, Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/360910b88d1466a90644a4e0533803b594344a2b Added Reference https://git.kernel.org/stable/c/5f623a77cfc2d501d72bcb4f9ee71721e6c766ff Added Reference https://git.kernel.org/stable/c/b4afd3878f961d3517f27b3213730fceef77945c Added Reference https://git.kernel.org/stable/c/f232af4295653afa4ade3230462b3be15ad16419 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 28, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: sfc: fix TX channel offset when using legacy interrupts In legacy interrupt mode the tx_channel_offset was hardcoded to 1, but that's not correct if efx_sepparate_tx_channels is false. In that case, the offset is 0 because the tx queues are in the single existing channel at index 0, together with the rx queue. Without this fix, as soon as you try to send any traffic, it tries to get the tx queues from an uninitialized channel getting these errors: WARNING: CPU: 1 PID: 0 at drivers/net/ethernet/sfc/tx.c:540 efx_hard_start_xmit+0x12e/0x170 [sfc] [...] RIP: 0010:efx_hard_start_xmit+0x12e/0x170 [sfc] [...] Call Trace: <IRQ> dev_hard_start_xmit+0xd7/0x230 sch_direct_xmit+0x9f/0x360 __dev_queue_xmit+0x890/0xa40 [...] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 [...] RIP: 0010:efx_hard_start_xmit+0x153/0x170 [sfc] [...] Call Trace: <IRQ> dev_hard_start_xmit+0xd7/0x230 sch_direct_xmit+0x9f/0x360 __dev_queue_xmit+0x890/0xa40 [...] Added Reference kernel.org https://git.kernel.org/stable/c/b4afd3878f961d3517f27b3213730fceef77945c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/360910b88d1466a90644a4e0533803b594344a2b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5f623a77cfc2d501d72bcb4f9ee71721e6c766ff [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f232af4295653afa4ade3230462b3be15ad16419 [No types assigned]