CVE-2026-139189
publishednet/sched: taprio: unwind the netdevice notifier if register_qdisc() fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7b9eba7ba0c1b24df42b70b62d154b284befbccf to < b3b15f7042b638438fe08890bc118f672eea4251 · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < bab054f387740c00fbad378336995b8df59e08ad · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 84f588dc5abcd129dd05463559de442b6a83b76f · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 728e8a8b545fd84d695ce26470370fd1dd464990 · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 66d981547d32382c8fba1a72c0858ae52b2a300a · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 14fa884713fa2abf57999242c79a4a4b21634652 · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < ae0c55799795196a1ea157ca47868d7acc80a5c7 · 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < c5234f89d7cb311880ef218cb7a969794a106678 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.2 (affected) · 0 to < 5.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails taprio_module_init() registers taprio_device_notifier and then returns register_qdisc()'s error directly. When register_qdisc() fails the notifier stays registered, but the loader's failure path frees the module image without ever calling the __exit function, so netdev_chain is left pointing at taprio_device_notifier.notifier_call -- a function pointer that lives in text that has just been freed. register_qdisc() has two failure returns: -EEXIST (duplicate .id) and -EINVAL (malformed cl_ops). taprio_class_ops satisfies every checked implication, so -EINVAL is unreachable and -EEXIST is the only reachable failure; it needs a pre-existing "taprio" entry in qdisc_base. In-tree that is reachable only through bpf_qdisc_reg() (CONFIG_NET_SCH_BPF); a module calling the exported register_qdisc() reaches it as well. Once the notifier is left dangling, the next netdevice event that walks netdev_chain calls through the stale pointer: BUG: KASAN: vmalloc-out-of-bounds in notifier_call_chain+0x650/0xb5c Read of size 8 at addr ffff80001fc5ab08 by task ip/110 notifier_call_chain+0x650/0xb5c raw_notifier_call_chain+0x34/0x64 call_netdevice_notifiers_info+0xa8/0x198 __dev_close_many+0xe0/0x800 ... >ffff80001fc5ab00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 The shadow row is all f8 (KASAN_VMALLOC_INVALID): the read lands in vmalloc memory that was poisoned when the module image was freed, and the indirect call is unguarded because the only check, func_ptr_is_kernel_text(), is compiled out unless CONFIG_DEBUG_NOTIFIERS. Mirror the sibling sch_cbs.c and act_mirred.c, which unwind the notifier on this failure path.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7b9eba7ba0c1b24df42b70b62d154b284befbccf to < b3b15f7042b638438fe08890bc118f672eea4251 (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < bab054f387740c00fbad378336995b8df59e08ad (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 84f588dc5abcd129dd05463559de442b6a83b76f (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 728e8a8b545fd84d695ce26470370fd1dd464990 (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 66d981547d32382c8fba1a72c0858ae52b2a300a (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < 14fa884713fa2abf57999242c79a4a4b21634652 (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < ae0c55799795196a1ea157ca47868d7acc80a5c7 (affected · git)7b9eba7ba0c1b24df42b70b62d154b284befbccf to < c5234f89d7cb311880ef218cb7a969794a106678 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.2 (affected)0 to < 5.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/14fa884713fa2abf57999242c79a4a4b21634652
- https://git.kernel.org/stable/c/66d981547d32382c8fba1a72c0858ae52b2a300a
- https://git.kernel.org/stable/c/728e8a8b545fd84d695ce26470370fd1dd464990
- https://git.kernel.org/stable/c/84f588dc5abcd129dd05463559de442b6a83b76f
- https://git.kernel.org/stable/c/ae0c55799795196a1ea157ca47868d7acc80a5c7
- https://git.kernel.org/stable/c/b3b15f7042b638438fe08890bc118f672eea4251
- https://git.kernel.org/stable/c/bab054f387740c00fbad378336995b8df59e08ad
- https://git.kernel.org/stable/c/c5234f89d7cb311880ef218cb7a969794a106678
Provider assertions
1Linux · cna
net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35e3b233c80e35541eaa38532ab2fa96401e53d3c0cc2156759efd832e3d20dd
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record