CVE-2026-43238

Source
https://cve.org/CVERecord?id=CVE-2026-43238
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43238.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-43238
Downstream
Published
2026-05-06T11:28:32.950Z
Modified
2026-06-18T03:56:08.544225905Z
Summary
net/sched: act_skbedit: fix divide-by-zero in tcf_skbedit_hash()
Details

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

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

Commit 38a6f0865796 ("net: sched: support hash selecting tx queue") added SKBEDITFTXQ_SKBHASH 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->mapping_mod from becoming 0 and avoid the crash.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43238.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
38a6f0865796e26fc38fff4858f681d9ae76fa0f
Fixed
59809fda4da7730cfe84a948033f47eb45db073d
Fixed
9c735a7d98c982a786b0db71eb6566ee00aaa04f
Fixed
015cebdfcb97b5347fb7f598ea712a281cb35840
Fixed
4ece5eb4836f8ff03b9004dc2430a7169f282851
Fixed
3c2b95b26860bd6f8e2310d31ea1200d3f8f173e
Fixed
be054cc66f739a9ba615dba9012a07fab8e7dd6f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43238.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.16
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43238.json"