{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.4-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  usb: core: don't set drvdata to NULL in usb_unbind_interface()  usb_unbind_interface() serves as the remove() callback of struct usb_driver and calls usb_set_intfdata(intf, NULL) to clear the bus device private data pointer.  However, the driver core code already sets the bus device private data pointer to NULL in device_unbind_cleanup() *after* devres_release_all(), which makes the call redundant.  In addition, it can create unexpected NULL pointer dereference scenarios when drivers use managed APIs.  \tint probe(struct usb_interface *intf, \t\t  const struct usb_device_id *id) \t{ \t\tstruct data *data; \t\tint ret;  \t\tdata = devm_kzalloc(\u0026intf-\u003edev, sizeof(*data), GFP_KERNEL); \t\tif (!data) \t\t\treturn -ENOMEM;  \t\tret = devm_device_add_group(\u0026intf-\u003edev, \u0026foo_attr_group); \t\tif (ret) \t\t\treturn ret;  \t\t... \t}  \tssize_t foo_value_show(struct device *dev, struct device_attribute *attr, \t\t\t       char *buf) \t{ \t\tstruct usb_interface *intf = to_usb_interface(dev); \t\tstruct data *data = usb_get_intfdata(intf);  \t\t/* Potential NULL pointer dereference */ \t\treturn sysfs_emit(buf, \"%u\\n\", data-\u003evalue); \t}  Nothing prevents usb_unbind_interface() to race with foo_value_show() and set usb_set_intfdata(intf, NULL).  The same applies to the unwind path of usb_probe_interface(), which also calls usb_set_intfdata(intf, NULL).  Besides that, the Rust driver core code manages a driver's bus device private data and destroys it in device_unbind_cleanup().  If usb_unbind_interface() sets the pointer to NULL prematurely, the Rust driver core code sees NULL, and hence skips the destructor of the bus device private data, which leaks all its resources.  Thus, drop usb_set_intfdata(intf, NULL) from usb_probe_interface() and usb_unbind_interface(), and move it to usb_driver_release_interface(), which manually calls the remove() callback of struct usb_driver and hence can't rely on the driver core.",
  "id": "DEBIAN-CVE-2026-138844",
  "modified": "2026-12-01T03:47:42.023265429Z",
  "published": "2026-11-30T14:17:39.980Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-138844"
    }
  ],
  "upstream": [
    "CVE-2026-138844"
  ]
}