Back to CVE catalog
CVE-2021-47653

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

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

7.8High
Published:
Updated:
EPSS:
0.299%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
4.13Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 4.13; unaffected: ≥ 5.15.54, ≤ 5.15.*; unaffected: ≥ 5.16.19, ≤ 5.16.*; unaffected: ≥ 5.17.2, ≤ 5.17.*; unaffected: ≥ 5.18

Git commit ranges (source code)

  • From commit 479f7a1181058689435baddc16a6a42e1a8ff0e8; before commit 6512c3c39cb6b573b791ce45365818a38b76afbe
  • From commit 479f7a1181058689435baddc16a6a42e1a8ff0e8; before commit b5a3bb7f6f164eb6ee74ef4898dcd019b2063448
  • From commit 479f7a1181058689435baddc16a6a42e1a8ff0e8; before commit 9ffc602e14d7b9f7e7cb2f67e18dfef9ef8af676
  • From commit 479f7a1181058689435baddc16a6a42e1a8ff0e8; before commit 43acb728bbc40169d2e2425e84a80068270974be
Vendor:SUSESLES-LTSS-TERADATA 15 SP2Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 7.1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Availability Extension 15 SP3Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Availability Extension 15 SP4Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP2Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP3-LTSSAffected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSAffected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP4-LTSSAffected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSAffected 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:H
134c704f-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:H
Red 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:H
SUSE · 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:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

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