CVE-2024-26932

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26932
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26932.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26932
Related
Published
2024-05-01T06:15:07Z
Modified
2024-09-18T03:26:05.927417Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: tcpm: fix double-free issue in tcpmportunregister_pd()

When unregister pd capabilitie in tcpm, KASAN will capture below double -free issue. The root cause is the same capabilitiy will be kfreed twice, the first time is kfreed by pdcapabilitiesrelease() and the second time is explicitly kfreed by tcpmportunregister_pd().

[ 3.988059] BUG: KASAN: double-free in tcpmportunregisterpd+0x1a4/0x3dc [ 3.995001] Free of addr ffff0008164d3000 by task kworker/u16:0/10 [ 4.001206] [ 4.002712] CPU: 2 PID: 10 Comm: kworker/u16:0 Not tainted 6.8.0-rc5-next-20240220-05616-g52728c567a55 #53 [ 4.012402] Hardware name: Freescale i.MX8QXP MEK (DT) [ 4.017569] Workqueue: eventsunbound deferredprobeworkfunc [ 4.023456] Call trace: [ 4.025920] dumpbacktrace+0x94/0xec [ 4.029629] showstack+0x18/0x24 [ 4.032974] dumpstacklvl+0x78/0x90 [ 4.036675] printreport+0xfc/0x5c0 [ 4.040289] kasanreportinvalidfree+0xa0/0xc0 [ 4.044937] _kasanslabfree+0x124/0x154 [ 4.049072] kfree+0xb4/0x1e8 [ 4.052069] tcpmportunregisterpd+0x1a4/0x3dc [ 4.056725] tcpmregisterport+0x1dd0/0x2558 [ 4.061121] tcpciregisterport+0x420/0x71c [ 4.065430] tcpciprobe+0x118/0x2e0

To fix the issue, this will remove kree() from tcpmportunregister_pd().

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.8.9-1

Affected versions

6.*

6.1.27-1
6.1.37-1
6.1.38-1
6.1.38-2~bpo11+1
6.1.38-2
6.1.38-3
6.1.38-4~bpo11+1
6.1.38-4
6.1.52-1
6.1.55-1~bpo11+1
6.1.55-1
6.1.64-1
6.1.66-1
6.1.67-1
6.1.69-1~bpo11+1
6.1.69-1
6.1.76-1~bpo11+1
6.1.76-1
6.1.82-1
6.1.85-1
6.1.90-1~bpo11+1
6.1.90-1
6.1.94-1~bpo11+1
6.1.94-1
6.1.98-1
6.1.99-1
6.1.106-1
6.1.106-2
6.1.106-3
6.3.1-1~exp1
6.3.2-1~exp1
6.3.4-1~exp1
6.3.5-1~exp1
6.3.7-1~bpo12+1
6.3.7-1
6.3.11-1
6.4~rc6-1~exp1
6.4~rc7-1~exp1
6.4.1-1~exp1
6.4.4-1~bpo12+1
6.4.4-1
6.4.4-2
6.4.4-3~bpo12+1
6.4.4-3
6.4.11-1
6.4.13-1
6.5~rc4-1~exp1
6.5~rc6-1~exp1
6.5~rc7-1~exp1
6.5.1-1~exp1
6.5.3-1~bpo12+1
6.5.3-1
6.5.6-1
6.5.8-1
6.5.10-1~bpo12+1
6.5.10-1
6.5.13-1
6.6.3-1~exp1
6.6.4-1~exp1
6.6.7-1~exp1
6.6.8-1
6.6.9-1
6.6.11-1
6.6.13-1~bpo12+1
6.6.13-1
6.6.15-1
6.6.15-2
6.7-1~exp1
6.7.1-1~exp1
6.7.4-1~exp1
6.7.7-1
6.7.9-1
6.7.9-2
6.7.12-1~bpo12+1
6.7.12-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}