{"id":"CVE-2024-54683","published":"2025-01-11T12:29:54Z","modified":"2026-10-30T12:20:16Z","title":"netfilter: IDLETIMER: Fix for possible ABBA deadlock","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: IDLETIMER: Fix for possible ABBA deadlock\n\nDeletion of the last rule referencing a given idletimer may happen at\nthe same time as a read of its file in sysfs:\n\n| ======================================================\n| WARNING: possible circular locking dependency detected\n| 6.12.0-rc7-01692-g5e9a28f41134-dirty #594 Not tainted\n| ------------------------------------------------------\n| iptables/3303 is trying to acquire lock:\n| ffff8881057e04b8 (kn->active#48){++++}-{0:0}, at: __kernfs_remove+0x20\n|\n| but task is already holding lock:\n| ffffffffa0249068 (list_mutex){+.+.}-{3:3}, at: idletimer_tg_destroy_v]\n|\n| which lock already depends on the new lock.\n\nA simple reproducer is:\n\n| #!/bin/bash\n|\n| while true; do\n|         iptables -A INPUT -i foo -j IDLETIMER --timeout 10 --label \"testme\"\n|         iptables -D INPUT -i foo -j IDLETIMER --timeout 10 --label \"testme\"\n| done &\n| while true; do\n|         cat /sys/class/xt_idletimer/timers/testme >/dev/null\n| done\n\nAvoid this by freeing list_mutex right after deleting the element from\nthe list, then continuing with the teardown.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00163,"percentile":0.05632,"provenance":"source"},"cwes":[{"id":"CWE-667","name":"Improper Locking"}],"references":[{"url":"https://git.kernel.org/stable/c/5493d84a40f0e61da74e1b0db640845997836b4e","tags":[]},{"url":"https://git.kernel.org/stable/c/8c2c8445cda8f59c38dec7dc10509bcb23ae26a0","tags":[]},{"url":"https://git.kernel.org/stable/c/45fe76573a2557f632e248cc141342233f422b9a","tags":[]},{"url":"https://git.kernel.org/stable/c/f36b01994d68ffc253c8296e2228dfe6e6431c03","tags":[]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.13},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0902b469bd25065aa0688c3cee6f11744c817e7c, < 5493d84a40f0e61da74e1b0db640845997836b4e",">= 0902b469bd25065aa0688c3cee6f11744c817e7c, < 8c2c8445cda8f59c38dec7dc10509bcb23ae26a0",">= 0902b469bd25065aa0688c3cee6f11744c817e7c, < 45fe76573a2557f632e248cc141342233f422b9a",">= 0902b469bd25065aa0688c3cee6f11744c817e7c, < f36b01994d68ffc253c8296e2228dfe6e6431c03"]},{"vendor":"Linux","product":"Linux","versions":["2.6.36"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:55:27.468543Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-52653","exploited":false,"provenance":"source"}}