CVE-2026-43238 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_skbedit: fix divide-by-zero in tcf_skbedit_hash() Commit 38a6f0865796 ("net: sched: support hash selecting tx queue") added SKBEDIT_F_TXQ_SKBHASH support. The inclusive range size is computed as: mapping_mod = queue_mapping_max - queue_mapping + 1; The range size can be 65536 when the requested range covers all possible u16 queue IDs (e.g. queue_mapping=0 and queue_mapping_max=U16_MAX). That value cannot be represented in a u16 and previously wrapped to 0, so tcf_skbedit_hash() could trigger a divide-by-zero: queue_mapping += skb_get_hash(skb) % params->mapping_mod; Compute mapping_mod in a wider type and reject ranges larger than U16_MAX to prevent params->mapping_mod from becoming 0 and avoid the crash.
A divide-by-zero vulnerability has been identified in the Linux kernel's scheduling component, specifically within the act_skbedit feature. This issue arises when the range for selecting transmission queues is improperly calculated, allowing the range size to exceed the maximum value representable by a 16-bit unsigned integer. As a result, the calculation wraps around to zero, leading to a division by zero error. The vulnerability is present in Linux kernel versions 6.12 and later.
The vulnerability has been addressed by modifying the queue mapping range calculation to use a wider data type, preventing it from wrapping around to zero. Users should update to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/015cebdfcb97b5347fb7f598ea712a281cb35840 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3c2b95b26860bd6f8e2310d31ea1200d3f8f173e | kernel.org | Patch |
| https://git.kernel.org/stable/c/4ece5eb4836f8ff03b9004dc2430a7169f282851 | kernel.org | Patch |
| https://git.kernel.org/stable/c/59809fda4da7730cfe84a948033f47eb45db073d | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c735a7d98c982a786b0db71eb6566ee00aaa04f | kernel.org | Patch |
| https://git.kernel.org/stable/c/be054cc66f739a9ba615dba9012a07fab8e7dd6f | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-369 | Divide By Zero | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.19, < 6.1.165 >= 6.2, < 6.6.128 >= 6.7, < 6.12.75 >= 6.13, < 6.18.16 >= 6.19, < 6.19.6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 6, 2026 | New CVE Received | kernel.org |