{"id":72134,"date":"2025-10-22T17:45:48","date_gmt":"2025-10-22T14:15:48","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2023-53731-netlink-fix-potential-deadlock-in-netlink_set_err\/"},"modified":"2025-10-22T17:45:48","modified_gmt":"2025-10-22T14:15:48","slug":"cve-2023-53731-netlink-fix-potential-deadlock-in-netlink_set_err","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2023-53731-netlink-fix-potential-deadlock-in-netlink_set_err\/","title":{"rendered":"CVE-2023-53731 &#8211; netlink: fix potential deadlock in netlink_set_err()"},"content":{"rendered":"<p>CVE ID : CVE-2023-53731<\/p>\n<p>Published :  Oct. 22, 2025, 2:15 p.m. | 27\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>netlink: fix potential deadlock in netlink_set_err()<\/p>\n<p>syzbot reported a possible deadlock in netlink_set_err() [1]\n<p>A similar issue was fixed in commit 1d482e666b8e (&#8220;netlink: disable IRQs<br \/>\nfor netlink_lock_table()&#8221;) in netlink_lock_table()<\/p>\n<p>This patch adds IRQ safety to netlink_set_err() and __netlink_diag_dump()<br \/>\nwhich were not covered by cited commit.<\/p>\n[1]\n<p>WARNING: possible irq lock inversion dependency detected<br \/>\n6.4.0-rc6-syzkaller-00240-g4e9f0ec38852 #0 Not tainted<\/p>\n<p>syz-executor.2\/23011 just changed the state of lock:<br \/>\nffffffff8e1a7a58 (nl_table_lock){.+.?}-{2:2}, at: netlink_set_err+0x2e\/0x3a0 net\/netlink\/af_netlink.c:1612<br \/>\nbut this lock was taken by another, SOFTIRQ-safe lock in the past:<br \/>\n (&amp;local-&gt;queue_stop_reason_lock){..-.}-{2:2}<\/p>\n<p>and interrupts could create inverse lock ordering between them.<\/p>\n<p>other info that might help us debug this:<br \/>\n Possible interrupt unsafe locking scenario:<\/p>\n<p>       CPU0                    CPU1<br \/>\n       &#8212;-                    &#8212;-<br \/>\n  lock(nl_table_lock);<br \/>\n                               local_irq_disable();<br \/>\n                               lock(&amp;local-&gt;queue_stop_reason_lock);<br \/>\n                               lock(nl_table_lock);<\/p>\n<p>    lock(&amp;local-&gt;queue_stop_reason_lock);<\/p>\n<p> *** DEADLOCK ***<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2023-53731 Published : Oct. 22, 2025, 2:15 p.m. | 27\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: netlink: fix potential deadlock in netlink_set_err() syzbot reported a possible deadlock in netlink_set_err() [1] A similar issue was fixed in commit 1d482e666b8e (&#8220;netlink: disable IRQs for netlink_lock_table()&#8221;) in netlink_lock_table() &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-72134","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=72134"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72134\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=72134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=72134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=72134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}