{"id":"CVE-2026-31422","published":"2026-04-13T13:40:25Z","modified":"2026-11-10T12:44:09Z","title":"net/sched: cls_flow: fix NULL pointer dereference on shared blocks","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_flow: fix NULL pointer dereference on shared blocks\n\nflow_change() calls tcf_block_q() and dereferences q->handle to derive\na default baseclass.  Shared blocks leave block->q NULL, causing a NULL\nderef when a flow filter without a fully qualified baseclass is created\non a shared block.\n\nCheck tcf_block_shared() before accessing block->q and return -EINVAL\nfor shared blocks.  This avoids the null-deref shown below:\n\n=======================================================================\nKASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]\nRIP: 0010:flow_change (net/sched/cls_flow.c:508)\nCall Trace:\n tc_new_tfilter (net/sched/cls_api.c:2432)\n rtnetlink_rcv_msg (net/core/rtnetlink.c:6980)\n [...]\n=======================================================================","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00127,"percentile":0.02446,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/57f94ac7e953eece5ed4819605a18f3cdfc63dcc","tags":[]},{"url":"https://git.kernel.org/stable/c/942813276edeb1741fa5b0a73471beb4e495fa08","tags":[]},{"url":"https://git.kernel.org/stable/c/cc707a4fd4c3b6ab2722e06bc359aa010e13d408","tags":[]},{"url":"https://git.kernel.org/stable/c/4a09f72007201c9f667dc47f64517ec23eea65e5","tags":[]},{"url":"https://git.kernel.org/stable/c/9bf5fc36a43f7b8b5507c96e74fb81f1e8b4957e","tags":[]},{"url":"https://git.kernel.org/stable/c/a208c3e1232997e9317887294c20008dfcb75449","tags":[]},{"url":"https://git.kernel.org/stable/c/415ea0c973c754b9f375225807810eb9045f4293","tags":[]},{"url":"https://git.kernel.org/stable/c/1a280dd4bd1d616a01d6ffe0de284c907b555504","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.49}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 57f94ac7e953eece5ed4819605a18f3cdfc63dcc",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 942813276edeb1741fa5b0a73471beb4e495fa08",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < cc707a4fd4c3b6ab2722e06bc359aa010e13d408",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 4a09f72007201c9f667dc47f64517ec23eea65e5",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 9bf5fc36a43f7b8b5507c96e74fb81f1e8b4957e",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < a208c3e1232997e9317887294c20008dfcb75449",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 415ea0c973c754b9f375225807810eb9045f4293",">= 1abf272022cf1d18469405f47b4ec49c6a3125db, < 1a280dd4bd1d616a01d6ffe0de284c907b555504"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T21:32:46.390226Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21946","exploited":false,"provenance":"source"}}