{
  "cveId": "CVE-2026-31576",
  "url": "https://patchblox.com/security/cve/CVE-2026-31576",
  "summary": "CVE-2026-31576 is fixed in 16 products on 1 platform, first by DEBIAN-CVE-2026-31576, released May 15, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "media: hackrf: fix to not free memory after the device is registered in hackrf_probe()",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  media: hackrf: fix to not free memory after the device is registered in hackrf_probe()  In hackrf driver, the following race condition occurs: \u0060\u0060\u0060 \t\tCPU0\t\t\t\t\t\tCPU1 hackrf_probe()   kzalloc(); // alloc hackrf_dev   ....   v4l2_device_register();   .... \t\t\t\t\t\tfd = sys_open(\u0022/path/to/dev\u0022); // open hackrf fd \t\t\t\t\t\t....   v4l2_device_unregister();   ....   kfree(); // free hackrf_dev   .... \t\t\t\t\t\tsys_ioctl(fd, ...); \t\t\t\t\t\t  v4l2_ioctl(); \t\t\t\t\t\t    video_is_registered() // UAF!! \t\t\t\t\t\t.... \t\t\t\t\t\tsys_close(fd); \t\t\t\t\t\t  v4l2_release() // UAF!! \t\t\t\t\t\t    hackrf_video_release() \t\t\t\t\t\t      kfree(); // DFB!! \u0060\u0060\u0060  When a V4L2 or video device is unregistered, the device node is removed so new open() calls are blocked.  However, file descriptors that are already open-and any in-flight I/O-do not terminate immediately; they remain valid until the last reference is dropped and the driver\u0027s release() is invoked.  Therefore, freeing device memory on the error path after hackrf_probe() has registered dev it will lead to a race to use-after-free vuln, since those already-open handles haven\u0027t been released yet.  And since release() free memory too, race to use-after-free and double-free vuln occur.  To prevent this, if device is registered from probe(), it should be modified to free memory only through release() rather than calling kfree() directly.",
  "published": "2026-04-24T15:16:32Z",
  "severity": "Important",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00128,
  "epssPercentile": 0.02451,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-31576",
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23237-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23237-1",
      "released": "2026-08-11T21:34:22Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1.160000.2.19",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2.150700.17.41.4",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1.160000.2.19",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.1",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7-RT_Update_18",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.1.5.1",
      "fix": "SUSE-SU-2026:3130-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3130-1",
      "released": "2026-07-20T12:25:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7_Update_19",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.15.3.4",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.1",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.1",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.73.2",
      "fix": "SUSE-SU-2026:3166-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3166-1",
      "released": "2026-07-21T17:09:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.176-1",
      "fix": "DEBIAN-CVE-2026-31576",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31576",
      "released": "2026-05-15T16:01:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.85-1",
      "fix": "DEBIAN-CVE-2026-31576",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31576",
      "released": "2026-05-15T16:01:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.19.14-1",
      "fix": "DEBIAN-CVE-2026-31576",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31576",
      "released": "2026-05-15T16:01:09Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}