{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143134",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.352Z",
        "datePublished": "2026-12-03T09:19:41.144Z",
        "dateUpdated": "2026-12-03T09:19:41.144Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:19:41.144Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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/<name> 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->tables 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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/xt_recent.c"
                    ],
                    "versions": [
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "dc506b04fae57d3ed5e5f33948f244a75f9162ec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "520977f1606b8de1d62ed0cf13e5195d13864b3e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "de330c35537af8c94398c0b2a0e835fc7b628eb8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "665e205c16c1f902ac6763b8ce8a0a3a1dcefe59",
                            "lessThan": "17c2e41736b62cfe444c64d67860b1fbc1e886ac",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "98dbbfa183f5abbbe582c1ba53b8bfac9e7ed37e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3.7.6",
                            "lessThan": "3.8",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/xt_recent.c"
                    ],
                    "versions": [
                        {
                            "version": "3.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.8",
                                    "versionEndExcluding": "7.4-rc3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.7.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/dc506b04fae57d3ed5e5f33948f244a75f9162ec"
                },
                {
                    "url": "https://git.kernel.org/stable/c/99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/520977f1606b8de1d62ed0cf13e5195d13864b3e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/de330c35537af8c94398c0b2a0e835fc7b628eb8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/17c2e41736b62cfe444c64d67860b1fbc1e886ac"
                }
            ],
            "title": "netfilter: xt_recent: do not call remove_proc_entry() under recent_lock",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}