Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143255

netlink: Do not call the unbind callback with the table locked

Description

In the Linux kernel, the following vulnerability has been resolved: netlink: Do not call the unbind callback with the table locked When netlink_bind() fails to insert the socket, it calls netlink_undo_bind() with the table locked. genl_unbind() then takes cb_lock, while genl_unregister_family() and genl_register_family() take cb_lock for writing and then wait in netlink_table_grab() for the table users to go away: netlink_bind() genl_unregister_family() netlink_lock_table() down_write(&cb_lock) netlink_insert() fails netlink_undo_bind() netlink_table_grab() genl_unbind() waits for nl_table_users == 0 down_read(&cb_lock) An unprivileged user can get here by binding to a port ID that is in use, with nl_groups set. Lockdep does not see it, as nl_table_users is a plain counter. Unlock the table first, as the comment in netlink_release() asks for.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e to < 8613af37b2c284d7fb87f491b39538990c732885affected
  • 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e to < ddcfde0e8ac1e2aeca46686328ee6c9a267794bdaffected
  • 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e to < 746ec3f31d9e182108418153ddc14a47a9cc4b85affected
  • 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e to < a36b9e205cb3c452ab96cc783e63465d466fe615affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References