{
  "document": {
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/debian10els/vex/2026/cve-2026-31584-els_os-debian10els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-08-25T12:54:19Z",
      "generator": {
        "date": "2026-08-25T12:54:19Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2026-31584-ELS_OS-DEBIAN10ELS",
      "initial_release_date": "2026-04-24T14:42:13Z",
      "revision_history": [
        {
          "date": "2026-04-24T14:42:13Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-25T12:54:19Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2026-31584"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 10",
                "product": {
                  "name": "Debian 10",
                  "product_id": "Debian-10",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-all-amd64@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-libc-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libcpupower1@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libcpupower-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libbpf-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-perf-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-config-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-kbuild-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libbpf4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-compiler-gcc-8-x86@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-all@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-image-amd64-signed-template@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-cpupower@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-amd64@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/hyperv-daemons@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-image-4.19.0-28-amd64-unsigned@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-doc-4.19@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-support-4.19.0-28@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-source-4.19@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-common@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-31584",
      "cwe": {
        "id": "CWE-416",
        "name": "Use After Free"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: fix use-after-free in encoder release path\n\nThe fops_vcodec_release() function frees the context structure (ctx)\nwithout first cancelling any pending or running work in ctx->encode_work.\nThis creates a race window where the workqueue handler (mtk_venc_worker)\nmay still be accessing the context memory after it has been freed.\n\nRace condition:\n\n    CPU 0 (release path)               CPU 1 (workqueue)\n    ---------------------               ------------------\n    fops_vcodec_release()\n      v4l2_m2m_ctx_release()\n        v4l2_m2m_cancel_job()\n        // waits for m2m job \"done\"\n                                        mtk_venc_worker()\n                                          v4l2_m2m_job_finish()\n                                          // m2m job \"done\"\n                                          // BUT worker still running!\n                                          // post-job_finish access:\n                                        other ctx dereferences\n                                          // UAF if ctx already freed\n        // returns (job \"done\")\n      kfree(ctx)  // ctx freed\n\nRoot cause: The v4l2_m2m_ctx_release() only waits for the m2m job\nlifecycle (via TRANS_RUNNING flag), not the workqueue lifecycle.\nAfter v4l2_m2m_job_finish() is called, the m2m framework considers\nthe job complete and v4l2_m2m_ctx_release() returns, but the worker\nfunction continues executing and may still access ctx.\n\nThe work is queued during encode operations via:\n  queue_work(ctx->dev->encode_workqueue, &ctx->encode_work)\nThe worker function accesses ctx->m2m_ctx, ctx->dev, and other ctx\nfields even after calling v4l2_m2m_job_finish().\n\nThis vulnerability was confirmed with KASAN by running an instrumented\ntest module that widens the post-job_finish race window. KASAN detected:\n\n  BUG: KASAN: slab-use-after-free in mtk_venc_worker+0x159/0x180\n  Read of size 4 at addr ffff88800326e000 by task kworker/u8:0/12\n\n  Workqueue: mtk_vcodec_enc_wq mtk_venc_worker\n\n  Allocated by task 47:\n    __kasan_kmalloc+0x7f/0x90\n    fops_vcodec_open+0x85/0x1a0\n\n  Freed by task 47:\n    __kasan_slab_free+0x43/0x70\n    kfree+0xee/0x3a0\n    fops_vcodec_release+0xb7/0x190\n\nFix this by calling cancel_work_sync(&ctx->encode_work) before kfree(ctx).\nThis ensures the workqueue handler is both cancelled (if pending) and\nsynchronized (waits for any running handler to complete) before the\ncontext is freed.\n\nPlacement rationale: The fix is placed after v4l2_ctrl_handler_free()\nand before list_del_init(&ctx->list). At this point, all m2m operations\nare done (v4l2_m2m_ctx_release() has returned), and we need to ensure\nthe workqueue is synchronized before removing ctx from the list and\nfreeing it.\n\nNote: The open error path does NOT need cancel_work_sync() because\nINIT_WORK() only initializes the work structure - it does not schedule\nit. Work is only scheduled later during device_run() operations.",
          "title": "Vulnerability description"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-31584"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/76e35091ffc722ba39b303e48bc5d08abb59dd56",
          "url": "https://git.kernel.org/stable/c/76e35091ffc722ba39b303e48bc5d08abb59dd56"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/93d9a58961a9e09306857e999b3ee76aa4be67f0",
          "url": "https://git.kernel.org/stable/c/93d9a58961a9e09306857e999b3ee76aa4be67f0"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/9a9bdaf9dc42ccca50e53f82165292f74a365c11",
          "url": "https://git.kernel.org/stable/c/9a9bdaf9dc42ccca50e53f82165292f74a365c11"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/a8a55913552aed45108525d1851c65e1db0cc25b",
          "url": "https://git.kernel.org/stable/c/a8a55913552aed45108525d1851c65e1db0cc25b"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/f1692337c6fa26e04f89b22a4d84bf5b7ada50d1",
          "url": "https://git.kernel.org/stable/c/f1692337c6fa26e04f89b22a4d84bf5b7ada50d1"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/f99353cd0e9f58bf17889049137b8d65fb44ebf1",
          "url": "https://git.kernel.org/stable/c/f99353cd0e9f58bf17889049137b8d65fb44ebf1"
        }
      ],
      "release_date": "2026-04-24T14:42:13Z",
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        },
        {
          "category": "impact",
          "date": "2026-08-06T12:09:46.595093Z",
          "details": "The debian10els kernel is not affected by CVE-2026-31584: the vulnerable code was never introduced into this branch.",
          "product_ids": [
            "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
          ]
        }
      ]
    }
  ]
}