{"schema":"threatline.record/2","record":{"id":"CVE-2026-98380","aliases":[],"summary":"net/sched: reject IDR error pointers when deleting actions","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: reject IDR error pointers when deleting actions\n\ntcf_action_delete() drops the reference held by its lookup before calling\ntcf_idr_delete_index() with the saved action index.  An unlocked\nclassifier can remove that action and reserve the same IDR slot with\nERR_PTR(-EBUSY) in between.\n\ntcf_idr_delete_index() only checks the lookup result for NULL.  It\ntherefore treats the reservation as a tc_action and dereferences\ntcfa_bindcnt.  A hardware execution breakpoint was used to schedule the\ninterleaving without changing the kernel source.  KASAN reported this\ndecoded trace:\n\n  BUG: KASAN: null-ptr-deref in tca_action_gd+0x5b9/0x1010\n  Read of size 4 at addr 0000000000000010 by task poc/150\n  Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002\n  RIP: tca_action_gd+0x5c0/0x1010:\n    arch_atomic_read at arch/x86/include/asm/atomic.h:23\n    raw_atomic_read at include/linux/atomic/atomic-arch-fallback.h:457\n    atomic_read at include/linux/atomic/atomic-instrumented.h:33\n    tcf_idr_delete_index at net/sched/act_api.c:766\n    tcf_action_delete at net/sched/act_api.c:1859\n    tcf_del_notify at net/sched/act_api.c:2014\n    tca_action_gd at net/sched/act_api.c:2064\n  R13: 0000000000000010 R15: fffffffffffffff0\n  Kernel panic - not syncing: Fatal exception\n\nR15 contains ERR_PTR(-EBUSY), and adding the tcfa_bindcnt offset produces\nthe address in R13.  With the guard applied, the same reproducer returned\n-ENOENT without a KASAN report or panic.  Treat error pointers as absent\nand return -ENOENT.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"39b751a210bf61a374afa82749afc7a77a08bf1d","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"dd80a7519824b72c8fcfd3cc50cb93f7e2d90923","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"6bf076258aac4e0af69ef317656c31ce6444d647","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"6c9f07bf8800171de2cd3f02815cebe1f4d45f2d","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"259caa711b7688365676442e2fdb286b8aceaa80","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"968550a439f64bd1a6c0d88efb92e4f082f84a26","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"a9551f26287debe6d8aa6e8841974661065b975f","status":"affected","versionType":"git"},{"version":"0190c1d452a91c38a3462abdd81752be1b9006a8","lessThan":"c82b797abe668d0b668601a93ba2c0b071a63574","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"5.10.271","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"39b751a210bf61a374afa82749afc7a77a08bf1d","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"6bf076258aac4e0af69ef317656c31ce6444d647","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"6c9f07bf8800171de2cd3f02815cebe1f4d45f2d","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"259caa711b7688365676442e2fdb286b8aceaa80","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","source_modified_at":"2026-10-19T09:18:31.007Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"968550a439f64bd1a6c0d88efb92e4f082f84a26","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00177,"percentile":0.06897,"score_date":"2026-10-23"},"published_at":"2026-10-09T07:34:20.218Z","modified_at":"2026-10-19T09:18:31.007Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98380","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:18:31.007Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98380","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/39b751a210bf61a374afa82749afc7a77a08bf1d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/dd80a7519824b72c8fcfd3cc50cb93f7e2d90923"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/6bf076258aac4e0af69ef317656c31ce6444d647"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/6c9f07bf8800171de2cd3f02815cebe1f4d45f2d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/259caa711b7688365676442e2fdb286b8aceaa80"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/968550a439f64bd1a6c0d88efb92e4f082f84a26"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/a9551f26287debe6d8aa6e8841974661065b975f"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c82b797abe668d0b668601a93ba2c0b071a63574"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:18:31.007Z","content_hash":"0009fbb6fbb4be70084997a6a608f4c7183b09e10caddb02ea371c3d60602bb6"}}
