{"id":"CVE-2026-143255","state":"PUBLISHED","title":"netlink: Do not call the unbind callback with the table locked","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: Do not call the unbind callback with the table locked\n\nWhen netlink_bind() fails to insert the socket, it calls\nnetlink_undo_bind() with the table locked. genl_unbind() then takes\ncb_lock, while genl_unregister_family() and genl_register_family() take\ncb_lock for writing and then wait in netlink_table_grab() for the table\nusers to go away:\n\n  netlink_bind()                 genl_unregister_family()\n    netlink_lock_table()           down_write(&cb_lock)\n    netlink_insert() fails\n    netlink_undo_bind()            netlink_table_grab()\n      genl_unbind()                  waits for nl_table_users == 0\n        down_read(&cb_lock)\n\nAn unprivileged user can get here by binding to a port ID that is in\nuse, with nl_groups set. Lockdep does not see it, as nl_table_users is a\nplain counter.\n\nUnlock the table first, as the comment in netlink_release() asks for.","publishedAt":"2026-12-03T09:21:02.749Z","updatedAt":"2026-12-03T09:21:02.749Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"8613af37b2c284d7fb87f491b39538990c732885","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"ddcfde0e8ac1e2aeca46686328ee6c9a267794bd","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"746ec3f31d9e182108418153ddc14a47a9cc4b85","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"a36b9e205cb3c452ab96cc783e63465d466fe615","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netlink/af_netlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netlink/af_netlink.c"]}],"references":["https://git.kernel.org/stable/c/8613af37b2c284d7fb87f491b39538990c732885","https://git.kernel.org/stable/c/ddcfde0e8ac1e2aeca46686328ee6c9a267794bd","https://git.kernel.org/stable/c/746ec3f31d9e182108418153ddc14a47a9cc4b85","https://git.kernel.org/stable/c/a36b9e205cb3c452ab96cc783e63465d466fe615"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143255.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143255","state":"PUBLISHED","datePublished":"2026-12-03T09:21:02.749Z","dateUpdated":"2026-12-03T09:21:02.749Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.362Z"},"containers":{"cna":{"title":"netlink: Do not call the unbind callback with the table locked","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: Do not call the unbind callback with the table locked\n\nWhen netlink_bind() fails to insert the socket, it calls\nnetlink_undo_bind() with the table locked. genl_unbind() then takes\ncb_lock, while genl_unregister_family() and genl_register_family() take\ncb_lock for writing and then wait in netlink_table_grab() for the table\nusers to go away:\n\n  netlink_bind()                 genl_unregister_family()\n    netlink_lock_table()           down_write(&cb_lock)\n    netlink_insert() fails\n    netlink_undo_bind()            netlink_table_grab()\n      genl_unbind()                  waits for nl_table_users == 0\n        down_read(&cb_lock)\n\nAn unprivileged user can get here by binding to a port ID that is in\nuse, with nl_groups set. Lockdep does not see it, as nl_table_users is a\nplain counter.\n\nUnlock the table first, as the comment in netlink_release() asks for."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"8613af37b2c284d7fb87f491b39538990c732885","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"ddcfde0e8ac1e2aeca46686328ee6c9a267794bd","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"746ec3f31d9e182108418153ddc14a47a9cc4b85","versionType":"git"},{"version":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","status":"affected","lessThan":"a36b9e205cb3c452ab96cc783e63465d466fe615","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netlink/af_netlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netlink/af_netlink.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8613af37b2c284d7fb87f491b39538990c732885"},{"url":"https://git.kernel.org/stable/c/ddcfde0e8ac1e2aeca46686328ee6c9a267794bd"},{"url":"https://git.kernel.org/stable/c/746ec3f31d9e182108418153ddc14a47a9cc4b85"},{"url":"https://git.kernel.org/stable/c/a36b9e205cb3c452ab96cc783e63465d466fe615"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:02.749Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}