Linux: Concurrent Execution using Shared Resource with Improper Synchronization
CVE-2024-35898 is a high-severity concurrent execution using shared resource with improper synchronization vulnerability in Linux, with a CVSS 3.1 base score of 7.0 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 69d1fe14a680042ec913f22196b58e2c8ff1b007, a347bc8e6251eaee4b619da28020641eb5b0dd77, 940d41caa71f0d3a52df2fde5fada524a993e331 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.2% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 69d1fe14a680042ec913f22196b58e2c8ff1b007 or a347bc8e6251eaee4b619da28020641eb5b0dd77 or 940d41caa71f0d3a52df2fde5fada524a993e331 or 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8, whichever matches your release line, or a later version.
- Update SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to V1.1.1 or a later version.
- Update Linux Kernel to 4.19.312 or 5.4.274 or 5.10.215 or 5.15.154, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 69d1fe14a680042ec913f22196b58e2c8ff1b007; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, a347bc8e6251eaee4b619da28020641eb5b0dd77; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 940d41caa71f0d3a52df2fde5fada524a993e331; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 8b891153b2e4dc0ca9d9dab8f619d49c740813df; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, e684b1674fd1ca4361812a491242ae871d6b2859; 3b49e2e94e6ebb8b23d0955d9e898254455734f8 up to, but not including, 24225011d81b471acc0e1e315b7d9905459a6304; and 1 more ranges | 69d1fe14a680042ec913f22196b58e2c8ff1b007, a347bc8e6251eaee4b619da28020641eb5b0dd77, 940d41caa71f0d3a52df2fde5fada524a993e331, 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8, 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b, 8b891153b2e4dc0ca9d9dab8f619d49c740813df |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1.1 | V1.1.1 |
| Linux | Linux Kernel | 4.16 up to, but not including, 4.19.312; 4.20 up to, but not including, 5.4.274; 5.5 up to, but not including, 5.10.215; 5.11 up to, but not including, 5.15.154; 5.16 up to, but not including, 6.1.85; 6.2 up to, but not including, 6.6.26; 6.7 up to, but not including, 6.8.5; 6.9 | 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85, 6.6.26 |
| Debian | Debian Linux | 10.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.0 | High | CNA |
| CVSS 3.1 | 5.5 | Medium | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get() nft_unregister_flowtable_type() within nf_flow_inet_module_exit() can concurrent with __nft_flowtable_type_get() within nf_tables_newflowtable(). And thhere is not any protection when iterate over nf_tables_flowtables list in __nft_flowtable_type_get(). Therefore, there is pertential data-race of nf_tables_flowtables list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_flowtables list in __nft_flowtable_type_get(), and use rcu_read_lock() in the caller nft_flowtable_type_get() to protect the entire type query process.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
How developers prevent this class of flaw
- In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
- Use thread-safe capabilities such as the data access abstraction in Spring.
- Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring. Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304
- git.kernel.org/stable/c/2485bcfe05ee3cf9ca8923a94fa2e456924c79c8
- git.kernel.org/stable/c/69d1fe14a680042ec913f22196b58e2c8ff1b007
- git.kernel.org/stable/c/8b891153b2e4dc0ca9d9dab8f619d49c740813df
- git.kernel.org/stable/c/940d41caa71f0d3a52df2fde5fada524a993e331
- git.kernel.org/stable/c/9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b
- git.kernel.org/stable/c/a347bc8e6251eaee4b619da28020641eb5b0dd77
- git.kernel.org/stable/c/e684b1674fd1ca4361812a491242ae871d6b2859
Third-party and government advisories
- lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List, Third Party Advisory
Other references
Recent Concurrent Execution using Shared Resource with Improper Synchronization vulnerabilities
- 7.3 High severity
- 7.0 High severity
- 8.1 High severity
- 7.0 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.