Linux: Use After Free
CVE-2023-53373 is a high-severity use after free 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 cc4d0d4251748a8a68026938f4055d2ac47c5719, 1effbddaff60eeef8017c6dea1ee0ed970164d14, 63551e4b7cbcd9914258827699eb2cb6ed6e4a16 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.17% 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 cc4d0d4251748a8a68026938f4055d2ac47c5719 or 1effbddaff60eeef8017c6dea1ee0ed970164d14 or 63551e4b7cbcd9914258827699eb2cb6ed6e4a16 or ae849d2f48019ff9c104e32bf588ccbfb200e971, whichever matches your release line, or a later version.
- Update Linux Kernel to 4.14.308 or 4.19.276 or 5.4.235 or 5.10.173, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, cc4d0d4251748a8a68026938f4055d2ac47c5719; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 1effbddaff60eeef8017c6dea1ee0ed970164d14; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 63551e4b7cbcd9914258827699eb2cb6ed6e4a16; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, ae849d2f48019ff9c104e32bf588ccbfb200e971; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 36ec108b7bd7e280edb22de028467bd09d644620; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 4d497e8b200a175094e0ac252ed878add39b8771; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 9477db935eb690f697d9bcc4f608927841bc8b36; 0a270321dbf948963aeb0e8382fe17d2c2eb3771 up to, but not including, 32e62025e5e52fbe4812ef044759de7010b15dbc; and 1 more ranges | cc4d0d4251748a8a68026938f4055d2ac47c5719, 1effbddaff60eeef8017c6dea1ee0ed970164d14, 63551e4b7cbcd9914258827699eb2cb6ed6e4a16, ae849d2f48019ff9c104e32bf588ccbfb200e971, 36ec108b7bd7e280edb22de028467bd09d644620, 4d497e8b200a175094e0ac252ed878add39b8771 |
| Linux | Linux Kernel | 2.6.25 up to, but not including, 4.14.308; 4.15 up to, but not including, 4.19.276; 4.20 up to, but not including, 5.4.235; 5.5 up to, but not including, 5.10.173; 5.11 up to, but not including, 5.15.99; 5.16 up to, but not including, 6.1.16; 6.2 up to, but not including, 6.2.3 | 4.14.308, 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16 |
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 NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: crypto: seqiv - Handle EBUSY correctly As it is seqiv only handles the special return value of EINPROGERSS, which means that in all other cases it will free data related to the request. However, as the caller of seqiv may specify MAY_BACKLOG, we also need to expect EBUSY and treat it in the same way. Otherwise backlogged requests will trigger a use-after-free.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/1effbddaff60eeef8017c6dea1ee0ed970164d14
- git.kernel.org/stable/c/32e62025e5e52fbe4812ef044759de7010b15dbc
- git.kernel.org/stable/c/36ec108b7bd7e280edb22de028467bd09d644620
- git.kernel.org/stable/c/4d497e8b200a175094e0ac252ed878add39b8771
- git.kernel.org/stable/c/63551e4b7cbcd9914258827699eb2cb6ed6e4a16
- git.kernel.org/stable/c/9477db935eb690f697d9bcc4f608927841bc8b36
- git.kernel.org/stable/c/ae849d2f48019ff9c104e32bf588ccbfb200e971
- git.kernel.org/stable/c/cc4d0d4251748a8a68026938f4055d2ac47c5719
Recent Use After Free vulnerabilities
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.