{"id":"AZL-118163","summary":"CVE-2026-143134 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: xt_recent: do not call remove_proc_entry() under recent_lock\n\nrecent_proc_net_exit() removes the /proc/net/xt_recent/\u003cname\u003e entries of\na dying network namespace while holding spin_lock_bh(&recent_lock).\nremove_proc_entry() may sleep: proc_entry_rundown() waits until every\ntask that is still inside the entry's file operations has left. A reader\nof such an entry is counted in by proc_reg_read() before\nrecent_seq_start() takes recent_lock. So if a read is in flight when the\nnamespace is torn down, cleanup_net() sleeps in atomic context holding\nthe spinlock that the reader is spinning on, and neither side can ever\nmake progress.\n\nAn unprivileged user can trigger this from a user namespace by adding a\nrule with the \"recent\" match and reading its proc file while the\nnamespace is being destroyed. As recent_lock is global, every later\nattempt to take it spins forever too: the spinning can spread to all\nCPUs, and network namespace teardown stops system-wide.\n\n  BUG: sleeping function called from invalid context at\n    kernel/sched/completion.c:116\n   #3: (recent_lock){+...}-{3:3}, at: recent_net_exit+0x2b/0x140\n  Workqueue: netns cleanup_net\n  Call Trace:\n   proc_entry_rundown+0x185/0x1b0\n   remove_proc_entry+0x21a/0x520\n   recent_net_exit+0x7f/0x140\n   cleanup_net+0x414/0x8f0\n  ...\n  rcu: INFO: rcu_preempt self-detected stall on CPU\n  Call Trace:\n   queued_spin_lock_slowpath+0x313/0xc20\n   recent_seq_start+0x87/0x1b0\n   seq_read_iter+0x265/0x11e0\n   proc_reg_read+0x1ab/0x270\n\nFix by taking recent_mutex instead of recent_lock. According to\ncommit a0e889bb1bdc (\"[NETFILTER]: recent match: fix \"sleeping function\ncalled from invalid context\"\"), recent_mutex is the lock to use here: it\nprotects recent_net-\u003etables and was introduced so that proc entries are\ncreated and removed without recent_lock held, because those calls may\nsleep. hashlimit_proc_net_exit() does the same for xt_hashlimit.","modified":"2026-12-04T14:18:40.132026544Z","published":"2026-12-03T10:17:46Z","upstream":["CVE-2026-143134"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143134"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118163.json"}}],"schema_version":"1.9.2"}