{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59"
            },
            {
              "fixed": "dc506b04fae57d3ed5e5f33948f244a75f9162ec"
            },
            {
              "fixed": "99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7"
            },
            {
              "fixed": "c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8"
            },
            {
              "fixed": "520977f1606b8de1d62ed0cf13e5195d13864b3e"
            },
            {
              "fixed": "de330c35537af8c94398c0b2a0e835fc7b628eb8"
            },
            {
              "fixed": "17c2e41736b62cfe444c64d67860b1fbc1e886ac"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "98dbbfa183f5abbbe582c1ba53b8bfac9e7ed37e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.6"
            },
            {
              "fixed": "3.8"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.8.0"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143134.json"
  },
  "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(\u0026recent_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.",
  "id": "CVE-2026-143134",
  "modified": "2026-12-03T10:45:17.453257603Z",
  "published": "2026-12-03T09:19:41.144Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/17c2e41736b62cfe444c64d67860b1fbc1e886ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/520977f1606b8de1d62ed0cf13e5195d13864b3e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dc506b04fae57d3ed5e5f33948f244a75f9162ec"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de330c35537af8c94398c0b2a0e835fc7b628eb8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143134.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143134"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "netfilter: xt_recent: do not call remove_proc_entry() under recent_lock"
}