{"id":"CVE-2025-39826","published":"2025-09-16T13:00:24Z","modified":"2026-11-10T12:37:05Z","title":"net: rose: convert 'use' field to refcount_t","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->use 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.20633,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fb07156cc0742ba4e93dfcc84280c011d05b301f","tags":[]},{"url":"https://git.kernel.org/stable/c/f8c29fc437d03a98fb075c31c5be761cc8326284","tags":[]},{"url":"https://git.kernel.org/stable/c/0085b250fcc79f900c82a69980ec2f3e1871823b","tags":[]},{"url":"https://git.kernel.org/stable/c/203e4f42596ede31498744018716a3db6dbb7f51","tags":[]},{"url":"https://git.kernel.org/stable/c/d860d1faa6b2ce3becfdb8b0c2b048ad31800061","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":4.13},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fb07156cc0742ba4e93dfcc84280c011d05b301f",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f8c29fc437d03a98fb075c31c5be761cc8326284",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0085b250fcc79f900c82a69980ec2f3e1871823b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 203e4f42596ede31498744018716a3db6dbb7f51",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d860d1faa6b2ce3becfdb8b0c2b048ad31800061"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"euvd":{"id":"EUVD-2025-29588","exploited":false,"provenance":"source"}}