CVE-2026-43238: net/sched: act_skbedit: fix divide-by-zero in tcf_skbedit_hash()

Published May 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sched: actskbedit: fix divide-by-zero in tcfskbedithash()

Commit 38a6f0865796 ("net: sched: support hash selecting tx queue") added SKBEDITFTXQSKBHASH support. The inclusive range size is computed as:

mappingmod = queuemappingmax - queuemapping + 1;

The range size can be 65536 when the requested range covers all possible u16 queue IDs (e.g. queuemapping=0 and queuemappingmax=U16MAX). That value cannot be represented in a u16 and previously wrapped to 0, so tcfskbedithash() could trigger a divide-by-zero:

queuemapping += skbgethash(skb) % params->mappingmod;

Compute mappingmod in a wider type and reject ranges larger than U16MAX to prevent params->mappingmod from becoming 0 and avoid the crash.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.19<6.1.165
Linux Linux kernel>=6.2<6.6.128
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.16
Linux Linux kernel>=6.19<6.19.6

Event History

May 6, 2026
CVE Published
via MITRE·11:28 AM
Data Sourced
via MITRE·11:28 AM
Description
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43238?

CVE-2026-43238 has a high severity due to its potential to cause a divide-by-zero error in the Linux kernel.

2

How do I fix CVE-2026-43238?

To fix CVE-2026-43238, update your Linux kernel to the latest version that includes the patch for the divide-by-zero vulnerability.

3

What systems are affected by CVE-2026-43238?

CVE-2026-43238 affects various versions of the Linux kernel, particularly those using the net/sched and act_skbedit functionalities.

4

What is the impact of CVE-2026-43238?

The impact of CVE-2026-43238 can lead to system instability and potentially allow attackers to exploit the divide-by-zero vulnerability.

5

Have there been any exploits for CVE-2026-43238?

As of now, there are no publicly known exploits for CVE-2026-43238, but it is advisable to apply patches to mitigate any risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203