CVE-2026-43199
net/mlx5e: Fix "scheduling while atomic" in IPsec MAC address query
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix "scheduling while atomic" in IPsec MAC address query Fix a "scheduling while atomic" bug in mlx5e_ipsec_init_macs() by replacing mlx5_query_mac_address() with ether_addr_copy() to get the local MAC address directly from netdev->dev_addr. The issue occurs because mlx5_query_mac_address() queries the hardware which involves mlx5_cmd_exec() that can sleep, but it is called from the mlx5e_ipsec_handle_event workqueue which runs in atomic context. The MAC address is already available in netdev->dev_addr, so no need to query hardware. This avoids the sleeping call and resolves the bug. Call trace: BUG: scheduling while atomic: kworker/u112:2/69344/0x00000200 __schedule+0x7ab/0xa20 schedule+0x1c/0xb0 schedule_timeout+0x6e/0xf0 __wait_for_common+0x91/0x1b0 cmd_exec+0xa85/0xff0 [mlx5_core] mlx5_cmd_exec+0x1f/0x50 [mlx5_core] mlx5_query_nic_vport_mac_address+0x7b/0xd0 [mlx5_core] mlx5_query_mac_address+0x19/0x30 [mlx5_core] mlx5e_ipsec_init_macs+0xc1/0x720 [mlx5_core] mlx5e_ipsec_build_accel_xfrm_attrs+0x422/0x670 [mlx5_core] mlx5e_ipsec_handle_event+0x2b9/0x460 [mlx5_core] process_one_work+0x178/0x2e0 worker_thread+0x2ea/0x430
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Replace mlx5_query_mac_address() with ether_addr_copy().
- Get MAC address from netdev->dev_addr directly.
- Apply the provided kernel patch.
- Update the Linux kernel.
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-2026-43199.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43199 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-2026-43199
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-2026-43199 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43199 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.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/mlx5e: Corrección de ’scheduling while atomic’ en la consulta de dirección MAC de IPsec Se corrige un error de ’scheduling while atomic’ en mlx5e_ipsec_init_macs() reemplazando mlx5_query_mac_address() con ether_addr_copy() para obtener la dirección MAC local directamente de netdev -> dev_addr. El problema ocurre porque mlx5_query_mac_address() consulta el hardware, lo que implica mlx5_cmd_exec() que puede suspenderse, pero es llamada desde la workqueue mlx5e_ipsec_handle_event que se ejecuta en contexto atómico. La dirección MAC ya está disponible en netdev -> dev_addr, por lo que no es necesario consultar el hardware. Esto evita la llamada de suspensión y resuelve el error. Rastreo de llamadas: ERROR: ’scheduling while atomic’: kworker/u112:2/69344/0x 00000200 __schedule+0x7ab/0xa20 schedule+0x1c/0xb0 schedule_timeout+0x6e/0xf0 __wait_for_common+0x91/0x1b0 cmd_exec+0xa85/0xff0 [mlx5_core] mlx5_cmd_exec+0x1f/0x50 [mlx5_core] mlx5_query_nic_vport_mac_address+0x7b/0xd0 [mlx5_core] mlx5_query_mac_address+0x19/0x30 [mlx5_core] mlx5e_ipsec_init_macs+0xc1/0x720 [mlx5_core] mlx5e_ipsec_build_accel_xfrm_attrs+0x422/0x670 [mlx5_core] mlx5e_ipsec_handle_event+0x2b9/0x460 [mlx5_core] process_one_work+0x178/0x2e0 worker_thread+0x2ea/0x430 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43199.json">CVE-2026-43199</a> Added Reference https://git.kernel.org/stable/c/5efde07521309274f26727860774614cbc187242 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-362 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-43199', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:15:41.077140Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/546de94e41e92e1f7dc6213615fb7c794d05db98 Added Reference https://git.kernel.org/stable/c/57957bc7f1865778ec9b1618e15515feb6df7eb4 Added Reference https://git.kernel.org/stable/c/859380694f434597407632c29f30fdb5e763e6cc Added Reference https://git.kernel.org/stable/c/e1407fb7c337373dfaaae2445d828b0b9ae26a29 Removed Reference https://git.kernel.org/stable/c/546de94e41e92e1f7dc6213615fb7c794d05db98 Removed Reference https://git.kernel.org/stable/c/57957bc7f1865778ec9b1618e15515feb6df7eb4 Removed Reference https://git.kernel.org/stable/c/859380694f434597407632c29f30fdb5e763e6cc Removed Reference https://git.kernel.org/stable/c/e1407fb7c337373dfaaae2445d828b0b9ae26a29 Removed Reference Type https://git.kernel.org/stable/c/546de94e41e92e1f7dc6213615fb7c794d05db98 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/57957bc7f1865778ec9b1618e15515feb6df7eb4 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/859380694f434597407632c29f30fdb5e763e6cc Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e1407fb7c337373dfaaae2445d828b0b9ae26a29 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'cee137a634318bfbda18ee5af45d300153b57fa5', 'lessThan': 'e1407fb7c337373dfaaae2445d828b0b9ae26a29', 'versionType': 'git'}, {'status': 'affected', 'version': 'cee137a634318bfbda18ee5af45d300153b57fa5', 'lessThan': '57957bc7f1865778ec9b1618e15515feb6df7eb4', 'versionType': 'git'}, {'status': 'affected', 'version': 'cee137a634318bfbda18ee5af45d300153b57fa5', 'lessThan': '546de94e41e92e1f7dc6213615fb7c794d05db98', 'versionType': 'git'}, {'status': 'affected', 'version': 'cee137a634318bfbda18ee5af45d300153b57fa5', 'lessThan': '859380694f434597407632c29f30fdb5e763e6cc', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.2'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.2', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 11, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.12.75 Added Reference Type kernel.org: https://git.kernel.org/stable/c/546de94e41e92e1f7dc6213615fb7c794d05db98 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/57957bc7f1865778ec9b1618e15515feb6df7eb4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/859380694f434597407632c29f30fdb5e763e6cc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e1407fb7c337373dfaaae2445d828b0b9ae26a29 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix "scheduling while atomic" in IPsec MAC address query Fix a "scheduling while atomic" bug in mlx5e_ipsec_init_macs() by replacing mlx5_query_mac_address() with ether_addr_copy() to get the local MAC address directly from netdev->dev_addr. The issue occurs because mlx5_query_mac_address() queries the hardware which involves mlx5_cmd_exec() that can sleep, but it is called from the mlx5e_ipsec_handle_event workqueue which runs in atomic context. The MAC address is already available in netdev->dev_addr, so no need to query hardware. This avoids the sleeping call and resolves the bug. Call trace: BUG: scheduling while atomic: kworker/u112:2/69344/0x00000200 __schedule+0x7ab/0xa20 schedule+0x1c/0xb0 schedule_timeout+0x6e/0xf0 __wait_for_common+0x91/0x1b0 cmd_exec+0xa85/0xff0 [mlx5_core] mlx5_cmd_exec+0x1f/0x50 [mlx5_core] mlx5_query_nic_vport_mac_address+0x7b/0xd0 [mlx5_core] mlx5_query_mac_address+0x19/0x30 [mlx5_core] mlx5e_ipsec_init_macs+0xc1/0x720 [mlx5_core] mlx5e_ipsec_build_accel_xfrm_attrs+0x422/0x670 [mlx5_core] mlx5e_ipsec_handle_event+0x2b9/0x460 [mlx5_core] process_one_work+0x178/0x2e0 worker_thread+0x2ea/0x430 Added Reference https://git.kernel.org/stable/c/546de94e41e92e1f7dc6213615fb7c794d05db98 Added Reference https://git.kernel.org/stable/c/57957bc7f1865778ec9b1618e15515feb6df7eb4 Added Reference https://git.kernel.org/stable/c/859380694f434597407632c29f30fdb5e763e6cc Added Reference https://git.kernel.org/stable/c/e1407fb7c337373dfaaae2445d828b0b9ae26a29