CVE-2024-26652

net: pds_core: Fix possible double free in error handling path

Medium · published March 27, 2024

CVSS v3.1
4.1
EPSS
0%
Percentile
21.6
In the wild
Unconfirmed
What it is

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

net: pds_core: Fix possible double free in error handling path

When auxiliary_device_add() returns error and then calls

auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release

calls kfree(padev) to free memory. We shouldn't call kfree(padev)

again in the error handling path.

Fix this by cleaning up the redundant kfree() and putting

the error handling back to where the errors happened.

The record
Technical detail
CVSS v3.1
4.1 · MEDIUM
Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00301 · 21.6th percentile
Published
2024-03-27T13:53Z
EPSS history
Timeline
  • 27 MAR 13:53Z
    net: pds_core: Fix possible double free in error handling path
    cvelistv5