{"api_version":"1","generated_at":"2026-11-30T19:18:01+00:00","cve":"CVE-2026-139189","urls":{"html":"https://cve.report/CVE-2026-139189","api":"https://cve.report/api/cve/CVE-2026-139189.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139189","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139189"},"summary":{"title":"net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: taprio: unwind the netdevice notifier if register_qdisc() fails\n\ntaprio_module_init() registers taprio_device_notifier and then returns\nregister_qdisc()'s error directly.  When register_qdisc() fails the\nnotifier stays registered, but the loader's failure path frees the module\nimage without ever calling the __exit function, so netdev_chain is left\npointing at taprio_device_notifier.notifier_call -- a function pointer\nthat lives in text that has just been freed.\n\nregister_qdisc() has two failure returns: -EEXIST (duplicate .id) and\n-EINVAL (malformed cl_ops).  taprio_class_ops satisfies every checked\nimplication, so -EINVAL is unreachable and -EEXIST is the only reachable\nfailure; it needs a pre-existing \"taprio\" entry in qdisc_base.  In-tree\nthat is reachable only through bpf_qdisc_reg() (CONFIG_NET_SCH_BPF); a\nmodule calling the exported register_qdisc() reaches it as well.\n\nOnce the notifier is left dangling, the next netdevice event that walks\nnetdev_chain calls through the stale pointer:\n\n  BUG: KASAN: vmalloc-out-of-bounds in notifier_call_chain+0x650/0xb5c\n  Read of size 8 at addr ffff80001fc5ab08 by task ip/110\n   notifier_call_chain+0x650/0xb5c\n   raw_notifier_call_chain+0x34/0x64\n   call_netdevice_notifiers_info+0xa8/0x198\n   __dev_close_many+0xe0/0x800\n   ...\n  >ffff80001fc5ab00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8\n\nThe shadow row is all f8 (KASAN_VMALLOC_INVALID): the read lands in\nvmalloc memory that was poisoned when the module image was freed, and the\nindirect call is unguarded because the only check, func_ptr_is_kernel_text(),\nis compiled out unless CONFIG_DEBUG_NOTIFIERS.\n\nMirror the sibling sch_cbs.c and act_mirred.c, which unwind the notifier\non this failure path.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:38","updated_at":"2026-11-30 14:18:38"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b3b15f7042b638438fe08890bc118f672eea4251","name":"https://git.kernel.org/stable/c/b3b15f7042b638438fe08890bc118f672eea4251","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ae0c55799795196a1ea157ca47868d7acc80a5c7","name":"https://git.kernel.org/stable/c/ae0c55799795196a1ea157ca47868d7acc80a5c7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5234f89d7cb311880ef218cb7a969794a106678","name":"https://git.kernel.org/stable/c/c5234f89d7cb311880ef218cb7a969794a106678","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/14fa884713fa2abf57999242c79a4a4b21634652","name":"https://git.kernel.org/stable/c/14fa884713fa2abf57999242c79a4a4b21634652","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84f588dc5abcd129dd05463559de442b6a83b76f","name":"https://git.kernel.org/stable/c/84f588dc5abcd129dd05463559de442b6a83b76f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/66d981547d32382c8fba1a72c0858ae52b2a300a","name":"https://git.kernel.org/stable/c/66d981547d32382c8fba1a72c0858ae52b2a300a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bab054f387740c00fbad378336995b8df59e08ad","name":"https://git.kernel.org/stable/c/bab054f387740c00fbad378336995b8df59e08ad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/728e8a8b545fd84d695ce26470370fd1dd464990","name":"https://git.kernel.org/stable/c/728e8a8b545fd84d695ce26470370fd1dd464990","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139189","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139189","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf b3b15f7042b638438fe08890bc118f672eea4251 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf bab054f387740c00fbad378336995b8df59e08ad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf 84f588dc5abcd129dd05463559de442b6a83b76f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf 728e8a8b545fd84d695ce26470370fd1dd464990 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf 66d981547d32382c8fba1a72c0858ae52b2a300a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf 14fa884713fa2abf57999242c79a4a4b21634652 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf ae0c55799795196a1ea157ca47868d7acc80a5c7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b9eba7ba0c1b24df42b70b62d154b284befbccf c5234f89d7cb311880ef218cb7a969794a106678 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sched/sch_taprio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b3b15f7042b638438fe08890bc118f672eea4251","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"bab054f387740c00fbad378336995b8df59e08ad","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"84f588dc5abcd129dd05463559de442b6a83b76f","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"728e8a8b545fd84d695ce26470370fd1dd464990","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"66d981547d32382c8fba1a72c0858ae52b2a300a","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"14fa884713fa2abf57999242c79a4a4b21634652","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"ae0c55799795196a1ea157ca47868d7acc80a5c7","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"},{"lessThan":"c5234f89d7cb311880ef218cb7a969794a106678","status":"affected","version":"7b9eba7ba0c1b24df42b70b62d154b284befbccf","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sched/sch_taprio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.2"},{"lessThan":"5.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: taprio: unwind the netdevice notifier if register_qdisc() fails\n\ntaprio_module_init() registers taprio_device_notifier and then returns\nregister_qdisc()'s error directly.  When register_qdisc() fails the\nnotifier stays registered, but the loader's failure path frees the module\nimage without ever calling the __exit function, so netdev_chain is left\npointing at taprio_device_notifier.notifier_call -- a function pointer\nthat lives in text that has just been freed.\n\nregister_qdisc() has two failure returns: -EEXIST (duplicate .id) and\n-EINVAL (malformed cl_ops).  taprio_class_ops satisfies every checked\nimplication, so -EINVAL is unreachable and -EEXIST is the only reachable\nfailure; it needs a pre-existing \"taprio\" entry in qdisc_base.  In-tree\nthat is reachable only through bpf_qdisc_reg() (CONFIG_NET_SCH_BPF); a\nmodule calling the exported register_qdisc() reaches it as well.\n\nOnce the notifier is left dangling, the next netdevice event that walks\nnetdev_chain calls through the stale pointer:\n\n  BUG: KASAN: vmalloc-out-of-bounds in notifier_call_chain+0x650/0xb5c\n  Read of size 8 at addr ffff80001fc5ab08 by task ip/110\n   notifier_call_chain+0x650/0xb5c\n   raw_notifier_call_chain+0x34/0x64\n   call_netdevice_notifiers_info+0xa8/0x198\n   __dev_close_many+0xe0/0x800\n   ...\n  >ffff80001fc5ab00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8\n\nThe shadow row is all f8 (KASAN_VMALLOC_INVALID): the read lands in\nvmalloc memory that was poisoned when the module image was freed, and the\nindirect call is unguarded because the only check, func_ptr_is_kernel_text(),\nis compiled out unless CONFIG_DEBUG_NOTIFIERS.\n\nMirror the sibling sch_cbs.c and act_mirred.c, which unwind the notifier\non this failure path."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:24.235Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b3b15f7042b638438fe08890bc118f672eea4251"},{"url":"https://git.kernel.org/stable/c/bab054f387740c00fbad378336995b8df59e08ad"},{"url":"https://git.kernel.org/stable/c/84f588dc5abcd129dd05463559de442b6a83b76f"},{"url":"https://git.kernel.org/stable/c/728e8a8b545fd84d695ce26470370fd1dd464990"},{"url":"https://git.kernel.org/stable/c/66d981547d32382c8fba1a72c0858ae52b2a300a"},{"url":"https://git.kernel.org/stable/c/14fa884713fa2abf57999242c79a4a4b21634652"},{"url":"https://git.kernel.org/stable/c/ae0c55799795196a1ea157ca47868d7acc80a5c7"},{"url":"https://git.kernel.org/stable/c/c5234f89d7cb311880ef218cb7a969794a106678"}],"title":"net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139189","datePublished":"2026-11-30T13:32:24.235Z","dateReserved":"2026-11-30T13:22:15.919Z","dateUpdated":"2026-11-30T13:32:24.235Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:38","lastModifiedDate":"2026-11-30 14:18:38","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139189","Ordinal":"1","Title":"net/sched: taprio: unwind the netdevice notifier if register_qdi","CVE":"CVE-2026-139189","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139189","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: taprio: unwind the netdevice notifier if register_qdisc() fails\n\ntaprio_module_init() registers taprio_device_notifier and then returns\nregister_qdisc()'s error directly.  When register_qdisc() fails the\nnotifier stays registered, but the loader's failure path frees the module\nimage without ever calling the __exit function, so netdev_chain is left\npointing at taprio_device_notifier.notifier_call -- a function pointer\nthat lives in text that has just been freed.\n\nregister_qdisc() has two failure returns: -EEXIST (duplicate .id) and\n-EINVAL (malformed cl_ops).  taprio_class_ops satisfies every checked\nimplication, so -EINVAL is unreachable and -EEXIST is the only reachable\nfailure; it needs a pre-existing \"taprio\" entry in qdisc_base.  In-tree\nthat is reachable only through bpf_qdisc_reg() (CONFIG_NET_SCH_BPF); a\nmodule calling the exported register_qdisc() reaches it as well.\n\nOnce the notifier is left dangling, the next netdevice event that walks\nnetdev_chain calls through the stale pointer:\n\n  BUG: KASAN: vmalloc-out-of-bounds in notifier_call_chain+0x650/0xb5c\n  Read of size 8 at addr ffff80001fc5ab08 by task ip/110\n   notifier_call_chain+0x650/0xb5c\n   raw_notifier_call_chain+0x34/0x64\n   call_netdevice_notifiers_info+0xa8/0x198\n   __dev_close_many+0xe0/0x800\n   ...\n  >ffff80001fc5ab00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8\n\nThe shadow row is all f8 (KASAN_VMALLOC_INVALID): the read lands in\nvmalloc memory that was poisoned when the module image was freed, and the\nindirect call is unguarded because the only check, func_ptr_is_kernel_text(),\nis compiled out unless CONFIG_DEBUG_NOTIFIERS.\n\nMirror the sibling sch_cbs.c and act_mirred.c, which unwind the notifier\non this failure path.","Type":"Description","Title":"net/sched: taprio: unwind the netdevice notifier if register_qdi"}]}}}