Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-40903
HistoryJul 12, 2024 - 12:00 a.m.

CVE-2024-40903

2024-07-1200:00:00
ubuntu.com
ubuntu.com
5
linux kernel
usb
vulnerability
cve-2024-40903
use-after-free
tcpm
typec

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

7.2

Confidence

Low

EPSS

0

Percentile

5.1%

In the Linux kernel, the following vulnerability has been resolved:
usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps
There could be a potential use-after-free case in
tcpm_register_source_caps(). This could happen when:

  • new (say invalid) source caps are advertised
  • the existing source caps are unregistered
  • tcpm_register_source_caps() returns with an error as
    usb_power_delivery_register_capabilities() fails
    This causes port->partner_source_caps to hold on to the now freed source
    caps.
    Reset port->partner_source_caps value to NULL after unregistering
    existing source caps.
OSVersionArchitecturePackageVersionFilename
ubuntu24.04noarchlinux< anyUNKNOWN

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

7.2

Confidence

Low

EPSS

0

Percentile

5.1%