{"schema":"threatline.record/2","record":{"id":"CVE-2026-98851","aliases":[],"summary":"netfilter: nft_flow_offload: drop flowtable reference on init error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_flow_offload: drop flowtable reference on init error path\n\nnft_flow_offload_init() bumps the flowtable use count with\nnft_use_inc() before calling nf_ct_netns_get().  When the latter\nfails, the error is returned as-is and the reference is leaked.\n\nThe upper layers do not balance it either: nf_tables_newexpr()\nclears expr->ops when the expression init callback fails, so the\nnft_expr_more() iteration in nft_rule_expr_deactivate() and\nnf_tables_rule_destroy() stops right before the failed expression\nand its ->destroy callback, which would drop the reference, never\nruns.\n\nEach failed rule addition therefore leaks one flowtable reference\nand the flowtable can no longer be removed: NFT_MSG_DELFLOWTABLE\nkeeps reporting -EBUSY even though no rule references it.\n\nSave the nf_ct_netns_get() return value and undo the nft_use_inc()\nwhen it fails, restoring the inc/dec pairing within\nnft_flow_offload_init() itself.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"a3c90f7a2323b331ae816d5b0633e68148e25d04","lessThan":"1d27214fd9a4d2c0c6d998fc9d4fb61448a3438e","status":"affected","versionType":"git"},{"version":"a3c90f7a2323b331ae816d5b0633e68148e25d04","lessThan":"64ac0cb574c740bf723affb79b646eeba920db6b","status":"affected","versionType":"git"},{"version":"a3c90f7a2323b331ae816d5b0633e68148e25d04","lessThan":"c5f91098edee98c015f78488460a0609e62582a5","status":"affected","versionType":"git"},{"version":"a3c90f7a2323b331ae816d5b0633e68148e25d04","lessThan":"4cd378423a33194a773c267fc58606d28fce95cf","status":"affected","versionType":"git"},{"version":"a3c90f7a2323b331ae816d5b0633e68148e25d04","lessThan":"747928b5d4ff8c8de55138a54c13980e4bb88578","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","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-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"1d27214fd9a4d2c0c6d998fc9d4fb61448a3438e","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"64ac0cb574c740bf723affb79b646eeba920db6b","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"4cd378423a33194a773c267fc58606d28fce95cf","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","source_modified_at":"2026-10-21T12:57:30.875Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"747928b5d4ff8c8de55138a54c13980e4bb88578","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00157,"percentile":0.04453,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:50:50.910Z","modified_at":"2026-10-21T12:57:30.875Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98851","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:57:30.875Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98851","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/1d27214fd9a4d2c0c6d998fc9d4fb61448a3438e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/64ac0cb574c740bf723affb79b646eeba920db6b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c5f91098edee98c015f78488460a0609e62582a5"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/4cd378423a33194a773c267fc58606d28fce95cf"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/747928b5d4ff8c8de55138a54c13980e4bb88578"}],"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-21T12:57:30.875Z","content_hash":"99298eb06b381d8e2af1b85d604abc31aee9d8da760801fcb7ff7f57b2615832"}}
