CVE-2026-74740

Source
https://cve.org/CVERecord?id=CVE-2026-74740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74740
Downstream
Published
2026-08-26T14:36:52.344Z
Modified
2026-08-28T11:48:23.517111780Z
Summary
net/sched: act_api: fix TOCTOU NULL deref on a->goto_chain
Details

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

net/sched: actapi: fix TOCTOU NULL deref on a->gotochain

tcfactionexec() handles TCACTGOTOCHAIN by first checking rcuaccesspointer(a->gotochain) and then calling tcfactiongotochainexec(), which does a second, independent rcudereferencebh(a->gotochain) read and immediately dereferences chain->filterchain. A concurrent tcfactionsetctrlact() (e.g. the gact replace path) can clear a->gotochain between the two reads, so the second read returns NULL and tcfactiongotochainexec() dereferences NULL.

Fix the race by doing a single rcudereferencebh() read of a->gotochain in tcfactionexec(), checking it once for NULL, and passing the resulting chain pointer into tcfactiongotochain_exec(). This turns the split check/use into a single check/use on one value.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74740.json",
    "cna_assigner": "Linux"
}
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
ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5
Fixed
91d55fd1fdb85c8371ca8793c788ea7d5192383a
Fixed
1ec48b6715c29b20105e3485206602cff6c51ae5
Fixed
abceabc4408fca6a9dd52611f5d197dec9390d63
Fixed
6b70886ebc428eed43a069c8944a931b5fb3f4e4
Fixed
f60b396ee174206fe08ebf997d16cd3801b77b22

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.0
Fixed
6.6.153
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.105
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.46
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.10

Database specific

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