{
  "id": "CVE-2025-39827",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39827",
  "published_at": "2025-09-16T13:00:25.555Z",
  "title": "net: rose: include node references in rose_neigh refcount",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: rose: include node references in rose_neigh refcount\n\nCurrent implementation maintains two separate reference counting\nmechanisms: the 'count' field in struct rose_neigh tracks references from\nrose_node structures, while the 'use' field (now refcount_t) tracks\nreferences from rose_sock.\n\nThis patch merges these two reference counting systems using 'use' field\nfor proper reference management. Specifically, this patch adds incrementing\nand decrementing of rose_neigh-\u003euse when rose_neigh-\u003ecount is incremented\nor decremented.\n\nThis patch also modifies rose_rt_free(), rose_rt_device_down() and\nrose_clear_route() to properly release references to rose_neigh objects\nbefore freeing a rose_node through rose_remove_node().\n\nThese changes ensure rose_neigh structures are properly freed only when\nall references, including those from rose_node structures, are released.\nAs a result, this resolves a slab-use-after-free issue reported by Syzbot.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 4cce478c3e82a5fc788d72adb2f4c4e983997639",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 9c547c8eee9d1cf6e744611d688b9f725cf9a115",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c d7563b456ed44151e1a82091d96f60166daea89b",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 384210cceb1873a4c8218b27ba0745444436b728",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c da9c9c877597170b929a6121a68dcd3dd9a80f45"
        ],
        "fixed_in": [
          "4cce478c3e82a5fc788d72adb2f4c4e983997639",
          "9c547c8eee9d1cf6e744611d688b9f725cf9a115",
          "d7563b456ed44151e1a82091d96f60166daea89b",
          "384210cceb1873a4c8218b27ba0745444436b728",
          "da9c9c877597170b929a6121a68dcd3dd9a80f45"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "6.1.150",
          "6.6.104",
          "6.12.45",
          "6.16.5",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4cce478c3e82a5fc788d72adb2f4c4e983997639 or 9c547c8eee9d1cf6e744611d688b9f725cf9a115 or d7563b456ed44151e1a82091d96f60166daea89b or 384210cceb1873a4c8218b27ba0745444436b728 or da9c9c877597170b929a6121a68dcd3dd9a80f45 or later.",
      "Upgrade Linux to 0 or 6.1.150 or 6.6.104 or 6.12.45 or 6.16.5 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
