media: davinci: vpif: fix use-after-free on driver unbind
Linux Linux
At a glance
In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind The driver allocates and registers two platform device structures during probe, but the devices were never deregistered on driver unbind. This results in a use-after-free on driver unbind as the device structures were allocated using devres and would be freed by driver core when remove() returns. Fix this by adding the missing deregistration calls to the remove() callback and failing probe on registration errors. Note that the platform device structures must be freed using a proper release callback to avoid leaking associated resources like device names.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.299%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Linux | Linux | Affected versions:4.13Show full version range for Linux
Git commit ranges (source code)
|
| Vendor:SUSE | SLES-LTSS-TERADATA 15 SP2 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Enterprise Storage 7.1 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Availability Extension 15 SP3 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Availability Extension 15 SP4 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected versions:Source does not specify a version range |
1–10 of 32 · Page 1 of 4
CVSS scores and metrics4
CISA-ADP · CVE List / CNA (adp)Primary7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences