{"id":"CVE-2025-71086","summary":"net: rose: fix invalid array index in rose_kill_by_device()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: rose: fix invalid array index in rose_kill_by_device()\n\nrose_kill_by_device() collects sockets into a local array[] and then\niterates over them to disconnect sockets bound to a device being brought\ndown.\n\nThe loop mistakenly indexes array[cnt] instead of array[i]. For cnt \u003c\nARRAY_SIZE(array), this reads an uninitialized entry; for cnt ==\nARRAY_SIZE(array), it is an out-of-bounds read. Either case can lead to\nan invalid socket pointer dereference and also leaks references taken\nvia sock_hold().\n\nFix the index to use i.","modified":"2026-03-31T17:29:43.560401Z","published":"2026-01-13T15:34:49.007Z","related":["MGASA-2026-0017","MGASA-2026-0018","SUSE-SU-2026:0447-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20287-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71086.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1418c12cd3bba79dc56b57b61c99efe40f579981"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6595beb40fb0ec47223d3f6058ee40354694c8e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/819fb41ae54960f66025802400c9d3935eef4042"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92d900aac3a5721fb54f3328f1e089b44a861c38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f6185a32496834d6980b168cffcccc2d6b17280"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b409ba9e1e63ccf3ab4cc061e33c1f804183543e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed2639414d43ba037f798eaf619e878309310451"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71086.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71086"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"12e5a4719c99d7f4104e7e962393dfb8baa1c591"},{"fixed":"819fb41ae54960f66025802400c9d3935eef4042"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c0e527c532a07556ca44642f5873b002c44da22c"},{"fixed":"ed2639414d43ba037f798eaf619e878309310451"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3e0d1585799d8a991eba9678f297fd78d9f1846e"},{"fixed":"1418c12cd3bba79dc56b57b61c99efe40f579981"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ffced26692f83212aa09d0ece0213b23cc2f611d"},{"fixed":"9f6185a32496834d6980b168cffcccc2d6b17280"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"64b8bc7d5f1434c636a40bdcfcd42b278d1714be"},{"fixed":"b409ba9e1e63ccf3ab4cc061e33c1f804183543e"},{"fixed":"92d900aac3a5721fb54f3328f1e089b44a861c38"},{"fixed":"6595beb40fb0ec47223d3f6058ee40354694c8e4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"bd7de4734535140fda33240c2335a07fdab6f88e"},{"last_affected":"b10265532df7bc3666bc53261b7f03f0fd14b1c9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71086.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.248"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.64"},{"fixed":"6.18.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71086.json"}}],"schema_version":"1.7.5"}