7.8High

CVE-2024-26925netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

Linux Linux; Siemens RUGGEDCOM RM1224 LTE(4G) EU; Siemens RUGGEDCOM RM1224 LTE(4G) NAM; Siemens SCALANCE M804PB Published: (2 years ago)

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path The commit mutex should not be released during the critical section between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence. nf_tables_module_autoload() temporarily releases the mutex to load module dependencies, then it goes back to replay the transaction again. Move it at the end of the abort phase after nft_gc_seq_end() is called.

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Linux Linux 5.4.262 – < 5.4.274, 5.10.198 – < 5.10.215, 5.15.134 – < 5.15.155, 6.1.56 – < 6.1.86, 4.19.316 – < 4.20, 6.4.13 – < 6.5
linux linux kernel 5.4.262 – < 5.4.274
Siemens RUGGEDCOM RM1224 LTE(4G) EU < V8.2
Siemens RUGGEDCOM RM1224 LTE(4G) NAM < V8.2
Siemens SCALANCE M804PB < V8.2
Siemens SCALANCE M812-1 ADSL-Router < V8.2
Siemens SCALANCE M816-1 ADSL-Router < V8.2
Siemens SCALANCE M826-2 SHDSL-Router < V8.2
Siemens SCALANCE M874-2 < V8.2
Siemens SCALANCE M874-3 < V8.2
Siemens SCALANCE M874-3 3G-Router (CN) < V8.2
Siemens SCALANCE M876-3 < V8.2
Siemens SCALANCE M876-3 (ROK) < V8.2
Siemens SCALANCE M876-4 < V8.2
Siemens SCALANCE M876-4 (EU) < V8.2
Siemens SCALANCE M876-4 (NAM) < V8.2
Siemens SCALANCE MUM853-1 (A1) < V8.2
Siemens SCALANCE MUM853-1 (B1) < V8.2
Siemens SCALANCE MUM853-1 (EU) < V8.2
Siemens SCALANCE MUM856-1 (A1) < V8.2
Siemens SCALANCE MUM856-1 (B1) < V8.2
Siemens SCALANCE MUM856-1 (CN) < V8.2
Siemens SCALANCE MUM856-1 (EU) < V8.2
Siemens SCALANCE MUM856-1 (RoW) < V8.2
Siemens SCALANCE S615 EEC LAN-Router < V8.2
Siemens SCALANCE S615 LAN-Router < V8.2
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1.1

References and patches