llc: fix SAP refcount leak in llc_ui_autobind()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c7881b6088276601beaccb7440b8d56eab0d65ae, Kernel 21a537606fe35be2b85971a5fd35c0023b6ef98f, Kernel 61a7ff4a62003b55a15022567486741b3bd83914 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: llc: fix SAP refcount leak in llc_ui_autobind() llc_ui_autobind() opens a SAP after choosing a dynamic LSAP. llc_sap_open() returns a reference owned by the caller, and llc_sap_add_socket() takes a second reference for the socket's membership in the SAP hash tables. llc_ui_bind() drops the caller's reference after adding the socket, but llc_ui_autobind() keeps it. When the socket is closed, llc_sap_remove_socket() releases only the socket reference, leaving the SAP on llc_sap_list with sk_count == 0. This is user-visible because repeated autobind and close cycles can consume all dynamic SAP values and make later autobinds fail with -EUSERS. Drop the caller's reference after a successful autobind, matching llc_ui_bind()'s ownership model.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c7881b6088276601beaccb7440b8d56eab0d65ae, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <21a537606fe35be2b85971a5fd35c0023b6ef98f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <61a7ff4a62003b55a15022567486741b3bd83914, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <660667cd406648bbaffbd5c0d897c2263a852f11, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <79dc4b508e3f2649390a1f745f7657813e5938ec, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a2f9fa31ae021ef1fdcaf3ab17bd49f9223dd6a4, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b2fc9955ddc7c4ca03be44b995193bd6486c62e1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b589a965184dde49c43b8caf5bcc65715a7b4ef2, =2.6.12 | c7881b6088276601beaccb7440b8d56eab0d65ae, 21a537606fe35be2b85971a5fd35c0023b6ef98f, 61a7ff4a62003b55a15022567486741b3bd83914, 660667cd406648bbaffbd5c0d897c2263a852f11, 79dc4b508e3f2649390a1f745f7657813e5938ec, a2f9fa31ae021ef1fdcaf3ab17bd49f9223dd6a4, b2fc9955ddc7c4ca03be44b995193bd6486c62e1, b589a965184dde49c43b8caf5bcc65715a7b4ef2 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=2.6.12 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket