Linux: Concurrent Execution using Shared Resource with Improper Synchronization
CVE-2024-38628 is a high-severity concurrent execution using shared resource with improper synchronization vulnerability in Linux, with a CVSS 3.1 base score of 7.8 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 89e66809684485590ea0b32c3178e42cba36ac09, 453d3fa9266e53f85377b911c19b9a4563fa88c0, bea73b58ab67fe581037ad9cdb93c2557590c068 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.18% 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 89e66809684485590ea0b32c3178e42cba36ac09 or 453d3fa9266e53f85377b911c19b9a4563fa88c0 or bea73b58ab67fe581037ad9cdb93c2557590c068 or 1b739388aa3f8dfb63a9fca777e6dfa6912d0464, whichever matches your release line, or a later version.
- Update Linux Kernel to 6.1.93 or 6.6.33 or 6.9.4, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 02de698ca8123782c0c6fb8ed99080e2f032b0d2 up to, but not including, 89e66809684485590ea0b32c3178e42cba36ac09; 02de698ca8123782c0c6fb8ed99080e2f032b0d2 up to, but not including, 453d3fa9266e53f85377b911c19b9a4563fa88c0; 02de698ca8123782c0c6fb8ed99080e2f032b0d2 up to, but not including, bea73b58ab67fe581037ad9cdb93c2557590c068; 02de698ca8123782c0c6fb8ed99080e2f032b0d2 up to, but not including, 1b739388aa3f8dfb63a9fca777e6dfa6912d0464; 5.15 | 89e66809684485590ea0b32c3178e42cba36ac09, 453d3fa9266e53f85377b911c19b9a4563fa88c0, bea73b58ab67fe581037ad9cdb93c2557590c068, 1b739388aa3f8dfb63a9fca777e6dfa6912d0464 |
| Linux | Linux Kernel | 5.15 up to, but not including, 6.1.93; 6.2 up to, but not including, 6.6.33; 6.7 up to, but not including, 6.9.4 | 6.1.93, 6.6.33, 6.9.4 |
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
- LowNo special conditions are needed; the attack works reliably.
- 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:L/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.8 | High | CNA |
| CVSS 3.1 | 5.5 | Medium | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind. Hang on to the control IDs instead of pointers since those are correctly handled with locks.
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
Recent Concurrent Execution using Shared Resource with Improper Synchronization vulnerabilities
- 7.0 High severity
- 7.4 High severity
- 7.8 High severity
- 7.0 High severity
- 7.0 High severity
- 7.0 High severity
Spotted an error? Tell us.