{
  "cveId": "CVE-2022-49808",
  "url": "https://patchblox.com/security/cve/CVE-2022-49808",
  "summary": "CVE-2022-49808 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49808, released May 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  net: dsa: don\u0027t leak tagger-owned storage on swi...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  net: dsa: don\u0027t leak tagger-owned storage on switch driver unbind  In the initial commit dc452a471dba (\u0022net: dsa: introduce tagger-owned storage for private and shared data\u0022), we had a call to tag_ops-\u003Edisconnect(dst) issued from dsa_tree_free(), which is called at tree teardown time.  There were problems with connecting to a switch tree as a whole, so this got reworked to connecting to individual switches within the tree. In this process, tag_ops-\u003Edisconnect(ds) was made to be called only from switch.c (cross-chip notifiers emitted as a result of dynamic tag proto changes), but the normal driver teardown code path wasn\u0027t replaced with anything.  Solve this problem by adding a function that does the opposite of dsa_switch_setup_tag_protocol(), which is called from the equivalent spot in dsa_switch_teardown(). The positioning here also ensures that we won\u0027t have any use-after-free in tagging protocol (*rcv) ops, since the teardown sequence is as follows:  dsa_tree_teardown -\u003E dsa_tree_teardown_master    -\u003E dsa_master_teardown       -\u003E unsets master-\u003Edsa_ptr, making no further packets match the          ETH_P_XDSA packet type handler -\u003E dsa_tree_teardown_ports    -\u003E dsa_port_teardown       -\u003E dsa_slave_destroy          -\u003E unregisters DSA net devices, there is even a synchronize_net()             in unregister_netdevice_many() -\u003E dsa_tree_teardown_switches    -\u003E dsa_switch_teardown       -\u003E dsa_switch_teardown_tag_protocol          -\u003E finally frees the tagger-owned storage",
  "published": "2025-05-01T15:16:04Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0017,
  "epssPercentile": 0.06431,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49808",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49808",
      "released": "2025-05-01T15:16:04Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49808",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49808",
      "released": "2025-05-01T15:16:04Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49808",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49808",
      "released": "2025-05-01T15:16:04Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-10T07:50:38Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}