Jozsef Kadlecsik
8478a729c0
netfilter: ipset: fix region locking in hash types
...
Region locking introduced in v5.6-rc4 contained three macros to handle
the region locks: ahash_bucket_start(), ahash_bucket_end() which gave
back the start and end hash bucket values belonging to a given region
lock and ahash_region() which should give back the region lock belonging
to a given hash bucket. The latter was incorrect which can lead to a
race condition between the garbage collector and adding new elements
when a hash type of set is defined with timeouts.
Fixes: f66ee0410b ("netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports")
Reported-by: Kota Toda <kota.toda@gmo-cybersecurity.com >
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
2025-05-07 23:57:31 +02:00
..
2025-05-07 23:57:31 +02:00
2025-05-07 23:57:24 +02:00
2024-09-06 18:10:21 -07:00
2025-04-04 11:31:42 -07:00
2024-07-01 17:03:01 +02:00
2024-11-14 12:39:50 +01:00
2025-03-12 15:28:33 +01:00
2025-01-19 16:41:55 +01:00
2024-05-22 15:00:56 -07:00
2025-01-19 16:41:55 +01:00
2025-01-19 16:41:55 +01:00
2025-01-09 14:42:16 +01:00
2025-04-05 10:30:12 +02:00
2023-09-13 21:57:50 +02:00
2024-03-07 03:10:35 +01:00
2025-01-19 16:41:55 +01:00
2023-10-10 16:34:28 +02:00
2023-10-24 13:16:30 +02:00
2025-04-05 10:30:12 +02:00
2024-05-06 11:13:56 +02:00
2024-05-06 11:13:56 +02:00
2025-01-12 20:21:01 -08:00
2024-10-02 17:23:23 -04:00
2023-11-08 13:52:32 +01:00
2025-01-19 16:41:55 +01:00
2025-03-12 21:01:56 +01:00
2024-07-01 17:03:01 +02:00
2025-04-17 11:14:22 +02:00
2024-09-12 15:41:03 +02:00
2025-02-12 10:35:20 +01:00
2025-03-06 12:59:43 -08:00
2024-07-01 17:01:53 +02:00
2024-07-24 20:59:29 +02:00
2024-06-19 18:41:59 +02:00
2025-03-17 13:49:46 +00:00
2024-07-24 20:59:29 +02:00
2024-01-31 20:40:56 -08:00
2024-11-11 10:32:06 -08:00
2024-01-03 11:17:17 +01:00
2023-10-30 14:36:57 -07:00
2023-11-08 16:40:30 +01:00
2024-02-21 12:03:22 +01:00
2024-10-02 17:23:23 -04:00
2025-04-02 22:51:08 +02:00
2025-03-23 10:53:47 +01:00
2025-03-06 12:59:43 -08:00
2024-06-12 14:33:38 -07:00
2024-06-26 00:54:53 +02:00
2025-04-05 10:30:12 +02:00
2023-11-08 13:52:32 +01:00
2025-03-23 10:20:33 +01:00
2024-11-14 12:39:40 +01:00
2024-11-15 12:07:04 +01:00
2024-10-02 17:23:23 -04:00
2025-01-19 16:41:54 +01:00
2023-11-08 13:52:32 +01:00
2024-08-20 12:37:24 +02:00
2025-03-06 13:35:54 +01:00
2024-05-10 11:13:45 +02:00
2024-09-03 10:47:16 +02:00
2025-03-03 13:46:49 +01:00
2024-08-20 12:37:24 +02:00
2024-09-03 18:19:44 +02:00
2025-03-13 10:02:39 +01:00
2024-09-03 10:47:17 +02:00
2025-01-19 16:41:54 +01:00
2024-09-03 10:47:17 +02:00
2024-08-20 12:37:24 +02:00
2024-09-03 10:47:17 +02:00
2024-12-03 22:10:58 +01:00
2024-05-10 11:13:45 +02:00
2024-05-10 11:13:45 +02:00
2024-09-26 13:03:02 +02:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2024-09-26 13:03:02 +02:00
2024-09-03 10:47:17 +02:00
2024-09-26 13:03:02 +02:00
2024-08-20 12:37:24 +02:00
2024-09-03 10:47:17 +02:00
2024-10-31 10:54:49 +01:00
2024-09-03 10:47:17 +02:00
2024-05-10 11:13:45 +02:00
2024-08-20 12:37:24 +02:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2024-11-05 22:06:22 +01:00
2025-04-02 22:50:56 +02:00
2025-04-10 12:33:50 +02:00
2024-09-26 13:03:02 +02:00
2024-07-17 19:00:47 +02:00
2025-01-19 16:41:41 +01:00
2024-11-28 13:14:24 +01:00
2024-09-03 10:47:17 +02:00
2024-09-03 10:47:17 +02:00
2025-04-03 16:23:01 -07:00
2024-12-05 10:01:28 +01:00
2024-02-21 12:03:22 +01:00
2024-10-30 13:17:36 +01:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2024-10-09 23:20:46 +02:00
2025-03-12 16:37:48 +01:00
2024-12-11 23:15:19 +01:00
2024-11-28 13:14:24 +01:00
2024-10-21 11:31:26 +02:00
2024-10-21 11:31:26 +02:00
2023-12-06 17:52:15 +01:00
2024-01-17 12:02:48 +01:00
2024-10-09 23:20:46 +02:00
2024-06-28 17:57:50 +02:00
2025-03-23 10:53:47 +01:00
2024-10-09 23:20:46 +02:00
2024-10-21 11:31:26 +02:00