{
  "id": "CVE-2025-39826",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39826",
  "published_at": "2025-09-16T13:00:24.618Z",
  "title": "net: rose: convert 'use' field to refcount_t",
  "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: convert 'use' field to refcount_t\n\nThe 'use' field in struct rose_neigh is used as a reference counter but\nlacks atomicity. This can lead to race conditions where a rose_neigh\nstructure is freed while still being referenced by other code paths.\n\nFor example, when rose_neigh-\u003euse becomes zero during an ioctl operation\nvia rose_rt_ioctl(), the structure may be removed while its timer is\nstill active, potentially causing use-after-free issues.\n\nThis patch changes the type of 'use' from unsigned short to refcount_t and\nupdates all code paths to use rose_neigh_hold() and rose_neigh_put() which\noperate reference counts atomically.",
  "cwe": "CWE-416",
  "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": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c fb07156cc0742ba4e93dfcc84280c011d05b301f",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f8c29fc437d03a98fb075c31c5be761cc8326284",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 0085b250fcc79f900c82a69980ec2f3e1871823b",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 203e4f42596ede31498744018716a3db6dbb7f51",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c d860d1faa6b2ce3becfdb8b0c2b048ad31800061"
        ],
        "fixed_in": [
          "fb07156cc0742ba4e93dfcc84280c011d05b301f",
          "f8c29fc437d03a98fb075c31c5be761cc8326284",
          "0085b250fcc79f900c82a69980ec2f3e1871823b",
          "203e4f42596ede31498744018716a3db6dbb7f51",
          "d860d1faa6b2ce3becfdb8b0c2b048ad31800061"
        ]
      },
      {
        "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 fb07156cc0742ba4e93dfcc84280c011d05b301f or f8c29fc437d03a98fb075c31c5be761cc8326284 or 0085b250fcc79f900c82a69980ec2f3e1871823b or 203e4f42596ede31498744018716a3db6dbb7f51 or d860d1faa6b2ce3becfdb8b0c2b048ad31800061 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": []
}
